Uses of Class
dk.netarkivet.common.distribute.arcrepository.Replica

Packages that use Replica
dk.netarkivet.archive.arcrepository.bitpreservation   
dk.netarkivet.archive.arcrepository.distribute   
dk.netarkivet.archive.arcrepositoryadmin   
dk.netarkivet.archive.webinterface   
dk.netarkivet.common.distribute   
dk.netarkivet.common.distribute.arcrepository   
 

Uses of Replica in dk.netarkivet.archive.arcrepository.bitpreservation
 

Methods in dk.netarkivet.archive.arcrepository.bitpreservation that return Replica
 Replica ReplicaCacheDatabase.getBitarchiveWithGoodFile(java.lang.String filename)
          Method for finding a replica with a valid version of a file.
 Replica BitPreservationDAO.getBitarchiveWithGoodFile(java.lang.String filename)
          Method for retrieving a replica which has the file and the checksum_status = OK.
 Replica ReplicaCacheDatabase.getBitarchiveWithGoodFile(java.lang.String filename, Replica badReplica)
          Method for finding a replica with a valid version of a file.
 Replica BitPreservationDAO.getBitarchiveWithGoodFile(java.lang.String filename, Replica badReplica)
          Method for retrieving a replica which has the file and the checksum_status = OK.
 Replica FilePreservationState.getReferenceBitarchive()
          Returns a reference to a bitarchive that contains a version of the file with the correct checksum.
 

Methods in dk.netarkivet.archive.arcrepository.bitpreservation with parameters of type Replica
 void ReplicaCacheDatabase.addChecksumInformation(java.util.List<ChecksumEntry> checksumOutput, Replica replica)
          Given the output of a checksum job, add the results to the database.
 void BitPreservationDAO.addChecksumInformation(java.util.List<ChecksumEntry> checksumOutput, Replica replica)
          Given the output of a checksum job, add the results to the database.
 void ReplicaCacheDatabase.addFileListInformation(java.util.List<java.lang.String> filelist, Replica replica)
          Method for adding the results from a list of filenames on a replica.
 void BitPreservationDAO.addFileListInformation(java.util.List<java.lang.String> filelistOutput, Replica replica)
          Given the output of a file list job, add the results to the database.
protected  boolean FilePreservationState.fileIsMissing(Replica bitarchive)
          Check if the file is missing from a bitarchive.
 void ActiveBitPreservation.findChangedFiles(Replica replica)
          Update the list of checksums in a given replica.
 void FileBasedActiveBitPreservation.findChangedFiles(Replica replica)
          This method finds out which files in a given bitarchive are misrepresented in the admin data: Either having the wrong checksum or not being marked as uploaded when it actually is.
 void DatabaseBasedActiveBitPreservation.findChangedFiles(Replica replica)
          The method is used to update the checksum for all the files in a replica.
 void ActiveBitPreservation.findMissingFiles(Replica replica)
          Update the list of files in a given bitarchive.
 void FileBasedActiveBitPreservation.findMissingFiles(Replica replica)
          This method takes as input the name of a replica for which we wish to retrieve the list of files, either through a FileListJob or a GetAllFilenamesMessage.
 void DatabaseBasedActiveBitPreservation.findMissingFiles(Replica replica)
          This method retrieves the filelist for the replica, and then it updates the database with this list of filenames.
 java.lang.String FilePreservationState.getAdminBitarchiveState(Replica bitarchive)
          Get the status of the file in a bitarchive, according to the admin data.
 java.util.List<java.lang.String> FilePreservationState.getBitarchiveChecksum(Replica bitarchive)
          Get the checksum of this file in a specific bitarchive.
 Replica ReplicaCacheDatabase.getBitarchiveWithGoodFile(java.lang.String filename, Replica badReplica)
          Method for finding a replica with a valid version of a file.
 Replica BitPreservationDAO.getBitarchiveWithGoodFile(java.lang.String filename, Replica badReplica)
          Method for retrieving a replica which has the file and the checksum_status = OK.
 java.lang.Iterable<java.lang.String> ActiveBitPreservation.getChangedFiles(Replica replica)
          Return a list of files with changed checksums on this replica.
 java.lang.Iterable<java.lang.String> FileBasedActiveBitPreservation.getChangedFiles(Replica bitarchive)
          Get a list of wrong files in a given bitarchive.
 java.lang.Iterable<java.lang.String> DatabaseBasedActiveBitPreservation.getChangedFiles(Replica replica)
          This method retrieves the name of all the files which has a wrong checksum for the replica.
 java.util.Date ActiveBitPreservation.getDateForChangedFiles(Replica replica)
          Return the date for last check of changed files for replica.
 java.util.Date FileBasedActiveBitPreservation.getDateForChangedFiles(Replica replica)
          Get the date for last time the checksum information was updated for this replica.
 java.sql.Date DatabaseBasedActiveBitPreservation.getDateForChangedFiles(Replica replica)
          This method retrieves the date for the latest checksum update was performed for the replica.
 java.util.Date ActiveBitPreservation.getDateForMissingFiles(Replica replica)
          Return the date for last check of missing files for replica.
 java.util.Date FileBasedActiveBitPreservation.getDateForMissingFiles(Replica replica)
          Get the date for last time the missing files information was updated for this replica.
 java.sql.Date DatabaseBasedActiveBitPreservation.getDateForMissingFiles(Replica replica)
          This method retrieves the date for the latest filelist update was performed for the replica.
 java.sql.Date ReplicaCacheDatabase.getDateOfLastMissingFilesUpdate(Replica replica)
          Get the date for the last file list job.
 java.sql.Date BitPreservationDAO.getDateOfLastMissingFilesUpdate(Replica replica)
          Get the date for the last file list job.
 java.sql.Date ReplicaCacheDatabase.getDateOfLastWrongFilesUpdate(Replica replica)
          Method for retrieving the date for the last update for corrupted files.
 java.sql.Date BitPreservationDAO.getDateOfLastWrongFilesUpdate(Replica replica)
          Get the date for the last file list job.
static java.io.File WorkFiles.getFile(Replica rep, WorkFiles fileType)
           
static java.util.Date WorkFiles.getLastUpdate(Replica rep, WorkFiles fileType)
           
static long WorkFiles.getLineCount(Replica rep, WorkFiles fileType)
           
static java.util.List<java.lang.String> WorkFiles.getLines(Replica replica, WorkFiles fileType)
           
 java.lang.Iterable<java.lang.String> ActiveBitPreservation.getMissingFiles(Replica replica)
          Return a list of files marked as missing on this replica.
 java.lang.Iterable<java.lang.String> FileBasedActiveBitPreservation.getMissingFiles(Replica replica)
          Get a list of missing files in a given replica.
 java.lang.Iterable<java.lang.String> DatabaseBasedActiveBitPreservation.getMissingFiles(Replica replica)
          This method retrieves the name of all the files which are missing for the given replica.
 java.lang.Iterable<java.lang.String> ReplicaCacheDatabase.getMissingFilesInLastUpdate(Replica replica)
          Method for retrieving the list of the names of the files which was missing for the replica in the last filelist update.
 java.lang.Iterable<java.lang.String> BitPreservationDAO.getMissingFilesInLastUpdate(Replica replica)
          Return files with upload_status = COMPLETE for the replica, but the filelist_status = MISSING.
 long ActiveBitPreservation.getNumberOfChangedFiles(Replica replica)
          Return the number of changed files for replica.
 long FileBasedActiveBitPreservation.getNumberOfChangedFiles(Replica bitarchive)
          Get the number of wrong files for a bitarchive.
 long DatabaseBasedActiveBitPreservation.getNumberOfChangedFiles(Replica replica)
          The method calculates the number of files which has a wrong checksum for the replica.
 long ReplicaCacheDatabase.getNumberOfFiles(Replica replica)
          Method for retrieving the number of files within a replica.
 long ActiveBitPreservation.getNumberOfFiles(Replica replica)
          Return the total number of files for replica.
 long FileBasedActiveBitPreservation.getNumberOfFiles(Replica bitarchive)
          Return the number of files found in the bitarchive.
 long BitPreservationDAO.getNumberOfFiles(Replica replica)
          Returns the count of files in the replica which is not missing.
 long DatabaseBasedActiveBitPreservation.getNumberOfFiles(Replica replica)
          This method finds the number of files which are known to be in the archive of a specific replica.
 long ActiveBitPreservation.getNumberOfMissingFiles(Replica replica)
          Return the number of missing files for replica.
 long FileBasedActiveBitPreservation.getNumberOfMissingFiles(Replica bitarchive)
          Get the number of missing files in a given bitarchive.
 long DatabaseBasedActiveBitPreservation.getNumberOfMissingFiles(Replica replica)
          This method calculates the number of files which are not found in the given replica.
 long ReplicaCacheDatabase.getNumberOfMissingFilesInLastUpdate(Replica replica)
          Method for retrieving the number of files missing from a specific replica.
 long BitPreservationDAO.getNumberOfMissingFilesInLastUpdate(Replica replica)
          Return the count of missing files for replica.
 long ReplicaCacheDatabase.getNumberOfWrongFilesInLastUpdate(Replica replica)
          Method for retrieving the amount of files with a incorrect checksum within a replica.
 long BitPreservationDAO.getNumberOfWrongFilesInLastUpdate(Replica replica)
          Return the count of corrupt files for replica.
(package private) static java.io.File WorkFiles.getPreservationDir(Replica replica)
          Get the base dir for all files related to bitpreservation for a given bitarchive.
 java.lang.String FilePreservationState.getUniqueChecksum(Replica r)
          Get a checksum that the whole bitarchive agrees upon, or else "".
 java.lang.Iterable<java.lang.String> ReplicaCacheDatabase.getWrongFilesInLastUpdate(Replica replica)
          Method for retrieving the list of the files in the replica which have a incorrect checksum.
 java.lang.Iterable<java.lang.String> BitPreservationDAO.getWrongFilesInLastUpdate(Replica replica)
          Return files with filelist_status CORRUPT for the replica, but not present in the last missing files job.
static void WorkFiles.removeLine(Replica rep, WorkFiles fileType, java.lang.String line)
           
 void ActiveBitPreservation.replaceChangedFile(Replica replica, java.lang.String filename, java.lang.String credentials, java.lang.String checksum)
          Check that the checksum of the file is indeed different to the value in admin data and reference replica.
 void FileBasedActiveBitPreservation.replaceChangedFile(Replica replica, java.lang.String filename, java.lang.String credentials, java.lang.String checksum)
          Check that file checksum is indeed different to admin data and reference replica.
 void DatabaseBasedActiveBitPreservation.replaceChangedFile(Replica replica, java.lang.String filename, java.lang.String credentials, java.lang.String checksum)
          Check that the checksum of the file is indeed different to the value in admin data and reference replica.
 FileListStatus ReplicaCacheDatabase.retrieveFileListStatus(java.lang.String filename, Replica replica)
          Method for retrieving the filelist_status for a replicafileinfo entry.
 void ActiveBitPreservation.uploadMissingFiles(Replica replica, java.lang.String... filenames)
          Check that files are indeed missing on the given replica, and present in admin data and reference replica.
 void FileBasedActiveBitPreservation.uploadMissingFiles(Replica replica, java.lang.String... filenames)
          Check that files are indeed missing on the bitarchive replica, and present in admin data and reference replica.
 void DatabaseBasedActiveBitPreservation.uploadMissingFiles(Replica replica, java.lang.String... filenames)
          This method is used to upload missing files to a replica.
static void WorkFiles.write(Replica replica, WorkFiles missingFilesBa, java.util.Set<java.lang.String> files)
           
 

Constructor parameters in dk.netarkivet.archive.arcrepository.bitpreservation with type arguments of type Replica
FilePreservationState(java.lang.String filename, ArcRepositoryEntry admindata, java.util.Map<Replica,java.util.List<java.lang.String>> checksumMap)
          Create new instance of the preservation status for a file.
 

Uses of Replica in dk.netarkivet.archive.arcrepository.distribute
 

Methods in dk.netarkivet.archive.arcrepository.distribute with parameters of type Replica
 void JMSArcRepositoryClient.getFile(java.lang.String arcfilename, Replica replica, java.io.File toFile)
          Synchronously retrieves a file from a bitarchive and places it in a local file.
 

Uses of Replica in dk.netarkivet.archive.arcrepositoryadmin
 

Methods in dk.netarkivet.archive.arcrepositoryadmin with parameters of type Replica
 java.util.Set<java.lang.String> AdminData.getAllFileNames(Replica replica, ReplicaStoreState state)
          Returns a set of the arcfile names that are in a given state for a specific bitarchive in the repository.
 

Uses of Replica in dk.netarkivet.archive.webinterface
 

Methods in dk.netarkivet.archive.webinterface with parameters of type Replica
static void BitpreserveFileState.printChecksumErrorStateForReplica(javax.servlet.jsp.JspWriter out, Replica replica, java.util.Locale locale)
          Print HTML formatted state for checksum errors on a given replica in a given locale.
static void BitpreserveFileState.printMissingFileStateForReplica(javax.servlet.jsp.JspWriter out, Replica replica, java.util.Locale locale)
          Print HTML formatted state for missing files on a given replica in a given locale.
 

Uses of Replica in dk.netarkivet.common.distribute
 

Methods in dk.netarkivet.common.distribute that return Replica
static Replica Channels.retrieveReplicaFromIdentifierChannel(java.lang.String channelName)
          Method for extracting the replica from the name of the identifier channel.
 

Methods in dk.netarkivet.common.distribute that return types with arguments of type Replica
static java.util.Collection<Replica> Channels.getReplicas()
          Method for retrieving the list of replicas used for the channels.
 

Uses of Replica in dk.netarkivet.common.distribute.arcrepository
 

Methods in dk.netarkivet.common.distribute.arcrepository that return Replica
static Replica Replica.getReplicaFromId(java.lang.String id)
          Get an object representing the replica with the given id.
static Replica Replica.getReplicaFromName(java.lang.String name)
          Get an object representing the replica with the given name.
 

Methods in dk.netarkivet.common.distribute.arcrepository that return types with arguments of type Replica
static java.util.Collection<Replica> Replica.getKnown()
          Get all known replicas.
 

Methods in dk.netarkivet.common.distribute.arcrepository with parameters of type Replica
 void ViewerArcRepositoryClient.getFile(java.lang.String arcfilename, Replica replica, java.io.File toFile)
          Retrieves a file from an ArcRepository and places it in a local file.
 void PreservationArcRepositoryClient.getFile(java.lang.String arcfilename, Replica replica, java.io.File toFile)
          Retrieves a file from an ArcRepository and places it in a local file.
 void ArcRepositoryClient.getFile(java.lang.String arcfilename, Replica replica, java.io.File toFile)
          Retrieves a file from an ArcRepository and places it in a local file.
 void LocalArcRepositoryClient.getFile(java.lang.String arcfilename, Replica replica, java.io.File toFile)
          Retrieves a file from an ArcRepository and places it in a local file.