|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of ArgumentNotValid in dk.netarkivet.archive.arcrepository |
---|
Methods in dk.netarkivet.archive.arcrepository that throw ArgumentNotValid | |
---|---|
ReplicaClient |
ArcRepository.getReplicaClientFromReplicaId(java.lang.String replicaId)
Returns a replica client based on a replica id. |
void |
ArcRepository.store(RemoteFile rf,
StoreMessage replyInfo)
Stores a file in all known replicas. |
Uses of ArgumentNotValid in dk.netarkivet.archive.arcrepository.bitpreservation |
---|
Methods in dk.netarkivet.archive.arcrepository.bitpreservation that throw ArgumentNotValid | |
---|---|
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 |
FileBasedActiveBitPreservation.addMissingFilesToAdminData(java.lang.String... filenames)
Reestablish admin data to match bitarchive states for files. |
void |
DatabaseBasedActiveBitPreservation.addMissingFilesToAdminData(java.lang.String... filenames)
Old method, which refers to teh checksum replica part of admin data. |
void |
DerbyServerSpecifics.backupDatabase(java.sql.Connection c,
java.io.File backupDir)
Backup the database. |
void |
DerbyEmbeddedSpecifics.backupDatabase(java.sql.Connection c,
java.io.File backupDir)
Backup the database. |
void |
FileBasedActiveBitPreservation.changeStateForAdminData(java.lang.String filename)
Reestablish admin data to match bitarchive states for file. |
void |
DatabaseBasedActiveBitPreservation.changeStateForAdminData(java.lang.String filename)
This should reestablish the state for the file. |
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 |
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. |
static UploadStatus |
UploadStatus.fromOrdinal(int us)
|
static FileListStatus |
FileListStatus.fromOrdinal(int status)
Method to retrieve the FileListStatus based on an integer. |
static ChecksumStatus |
ChecksumStatus.fromOrdinal(int status)
Method to retrieve the FileListStatus based on an integer. |
Replica |
ReplicaCacheDatabase.getBitarchiveWithGoodFile(java.lang.String filename)
Method for finding a replica with a valid version of a file. |
Replica |
ReplicaCacheDatabase.getBitarchiveWithGoodFile(java.lang.String filename,
Replica badReplica)
Method for finding a replica with a valid version of a file. |
java.sql.Date |
ReplicaCacheDatabase.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. |
FilePreservationState |
DatabaseBasedActiveBitPreservation.getFilePreservationState(java.lang.String filename)
Method for retrieving the FilePreservationState for a specific file. |
java.util.Map<java.lang.String,FilePreservationState> |
FileBasedActiveBitPreservation.getFilePreservationStateMap(java.lang.String... filenames)
Retrieve the preservation status for the files with the given filenames. |
java.util.Map<java.lang.String,FilePreservationState> |
DatabaseBasedActiveBitPreservation.getFilePreservationStateMap(java.lang.String... filenames)
Method for retrieving the FilePreservationState for a list of files. |
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> |
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. |
long |
ReplicaCacheDatabase.getNumberOfFiles(Replica replica)
Method for retrieving the number of files within a replica. |
long |
ReplicaCacheDatabase.getNumberOfMissingFilesInLastUpdate(Replica replica)
Method for retrieving the number of files missing from a specific replica. |
long |
ReplicaCacheDatabase.getNumberOfWrongFilesInLastUpdate(Replica replica)
Method for retrieving the amount of files with a incorrect checksum within a replica. |
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. |
static KeyValuePair<java.lang.String,java.lang.String> |
ChecksumJob.parseLine(java.lang.String line)
Parse a line of output into a key-value pair. |
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 |
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. |
Constructors in dk.netarkivet.archive.arcrepository.bitpreservation that throw ArgumentNotValid | |
---|---|
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 ArgumentNotValid in dk.netarkivet.archive.arcrepository.distribute |
---|
Methods in dk.netarkivet.archive.arcrepository.distribute that throw ArgumentNotValid | |
---|---|
void |
JMSArcRepositoryClient.correct(java.lang.String replicaId,
java.lang.String checksum,
java.io.File file,
java.lang.String credentials)
Method for correcting an entry in a replica. |
BitarchiveRecord |
JMSArcRepositoryClient.get(java.lang.String arcfile,
long index)
Sends a GetMessage on the "TheArcrepos" queue and waits for a reply. |
java.io.File |
JMSArcRepositoryClient.getAllChecksums(java.lang.String replicaId)
Retrieves all the checksum from the replica through a GetAllChecksumMessage. |
java.io.File |
JMSArcRepositoryClient.getAllFilenames(java.lang.String replicaId)
Retrieves the names of all the files in the replica through a GetAllFilenamesMessage. |
java.lang.String |
JMSArcRepositoryClient.getChecksum(java.lang.String replicaId,
java.lang.String filename)
Retrieves the checksum of a specific file. |
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. |
void |
JMSArcRepositoryClient.store(java.io.File file)
Sends a StoreMessage via the synchronized JMS connection method sendAndWaitForOneReply(). |
void |
JMSArcRepositoryClient.updateAdminData(java.lang.String fileName,
java.lang.String replicaId,
ReplicaStoreState newval)
Request update of admin data to specific state. |
void |
ArcRepositoryServer.visit(CorrectMessage msg)
Method for handling CorrectMessages. |
void |
ArcRepositoryServer.visit(GetAllChecksumsMessage msg)
Method for retrieving all the checksums from a replica. |
Uses of ArgumentNotValid in dk.netarkivet.archive.bitarchive |
---|
Methods in dk.netarkivet.archive.bitarchive that throw ArgumentNotValid | |
---|---|
BatchStatus |
Bitarchive.batch(java.lang.String bitarchiveAppId,
FileBatchJob job)
Run a batch job on all ARC entries in the archive. |
void |
BitarchiveMonitor.bitarchiveReply(java.lang.String bitarchiveBatchID,
java.lang.String bitarchiveID,
int noOfFilesProcessed,
java.util.Collection<java.io.File> filesFailed,
RemoteFile remoteFile,
java.lang.String errMsg,
java.util.List<FileBatchJob.ExceptionOccurrence> exceptions)
Handle a reply received from a bitarchive. |
BitarchiveRecord |
Bitarchive.get(java.lang.String arcfile,
long index)
Get an ARC record out of the archive. |
java.io.File |
Bitarchive.getFile(java.lang.String arcFileID)
Get a file for a given arcFileID. |
java.io.File |
BitarchiveAdmin.getTemporaryPath(java.lang.String arcFileName,
long requestedSize)
Returns a temporary place for the the file to be stored. |
protected boolean |
BitarchiveAdmin.isBitarchiveDirectory(java.io.File theDir)
Checks whether a directory is one of the known bitarchive directories. |
java.io.File |
BitarchiveAdmin.moveToStorage(java.io.File tempLocation)
Moves a file from temporary storage to file storage. |
void |
BitarchiveMonitor.registerBatch(java.lang.String requestID,
ChannelID requestReplyTo,
java.lang.String bitarchiveBatchID,
long timeout)
Register a new batch sent to the bitarchives. |
void |
Bitarchive.upload(RemoteFile arcfile,
java.lang.String fileName)
Upload an ARC file to this archive. |
Constructors in dk.netarkivet.archive.bitarchive that throw ArgumentNotValid | |
---|---|
BitarchiveARCFile(java.lang.String fn,
java.io.File fp)
Create a new representation of a file in the archive. |
Uses of ArgumentNotValid in dk.netarkivet.archive.bitarchive.distribute |
---|
Methods in dk.netarkivet.archive.bitarchive.distribute that throw ArgumentNotValid | |
---|---|
BatchMessage |
BitarchiveClient.batch(BatchMessage bMsg)
Submit an already constructed get message to the archive. |
BatchMessage |
BitarchiveClient.batch(ChannelID replyChannel,
FileBatchJob job)
Submit a batch job to the archive. |
void |
BitarchiveClient.correct(CorrectMessage msg)
For correcting an erroneous entry in the archive. |
void |
BitarchiveClient.getAllChecksums(GetAllChecksumsMessage msg)
This should creates a batch job for retrieving the checksum of all the files. |
void |
BitarchiveClient.getAllFilenames(GetAllFilenamesMessage msg)
This should creates a batch job for retrieving all the filenames. |
GetChecksumMessage |
BitarchiveClient.getChecksum(ChannelID replyChannel,
java.lang.String filename)
This should creates a batch job for retrieving the checksum of the wanted files. |
void |
BitarchiveClient.getChecksum(GetChecksumMessage msg)
This should creates a batch job for retrieving the checksum of the wanted files. |
void |
GetFileMessage.getData(java.io.File toFile)
Writes the the content of the retrieved file into a local file. |
static BitarchiveServer |
BitarchiveServer.getInstance()
Returns the unique instance of this class The server creates an instance of the bitarchive it provides access to and starts to listen to JMS messages on the incomming jms queue Also, heartbeats are sent out at regular intervals to the Bitarchive Monitor, to tell that this bitarchive is alive. |
void |
BitarchiveClient.upload(RemoteFile rf)
Submit an upload request to the bitarchive. |
Constructors in dk.netarkivet.archive.bitarchive.distribute that throw ArgumentNotValid | |
---|---|
BatchReplyMessage(ChannelID to,
ChannelID replyTo,
java.lang.String originatingBatchMsgId,
int filesProcessed,
java.util.Collection<java.io.File> failedFiles,
RemoteFile resultFile)
Message to signal from BitarchiveMonitorServer that the batch job identified by originatingBatchMsgId is completed. |
|
HeartBeatSender(ChannelID inReceiver,
BitarchiveServer inBaServer)
Constructs a HearBeatSender that sends heartbeats. |
Uses of ArgumentNotValid in dk.netarkivet.archive.checksum |
---|
Methods in dk.netarkivet.archive.checksum that throw ArgumentNotValid | |
---|---|
void |
FileChecksumArchive.correct(java.lang.String filename,
java.io.File correctFile)
Method for correcting a bad entry from the archive. |
abstract void |
ChecksumArchive.correct(java.lang.String filename,
java.io.File correctFile)
Method for removing a bad entry from the archive. |
java.lang.String |
FileChecksumArchive.getChecksum(java.lang.String filename)
Method for retrieving the checksum of a record, based on the filename. |
void |
FileChecksumArchive.upload(RemoteFile arcfile,
java.lang.String filename)
The method for uploading an arcFile to the archive. |
Uses of ArgumentNotValid in dk.netarkivet.archive.checksum.distribute |
---|
Methods in dk.netarkivet.archive.checksum.distribute that throw ArgumentNotValid | |
---|---|
BatchMessage |
ChecksumClient.batch(BatchMessage msg)
Method for sending batch job messages to the replica. |
BatchMessage |
ChecksumClient.batch(ChannelID replyChannel,
FileBatchJob job)
Method for sending batch job messages to the replica. |
void |
ChecksumClient.correct(CorrectMessage msg)
Method for sending correct messages to the replica. |
void |
ChecksumClient.get(GetMessage msg)
This method is intended to retrieve a record from an arc-file within the archive. |
void |
ChecksumClient.getAllChecksums(GetAllChecksumsMessage msg)
Method for sending the GetAllChecksumMessage to the ChecksumReplica. |
void |
ChecksumClient.getAllFilenames(GetAllFilenamesMessage msg)
Method for sending a GetAllFilenamesMessage to a checksum archive. |
GetChecksumMessage |
ChecksumClient.getChecksum(ChannelID replyChannel,
java.lang.String filename)
Method for retrieving the checksum of a specific arcfile within the archive. |
void |
CorrectMessage.getData(java.io.File toFile)
Retrieves the content of the remoteFile and writes it into the local file. |
void |
GetAllChecksumsMessage.getData(java.io.File toFile)
Method for retrieving the resulting file. |
void |
ChecksumClient.getFile(GetFileMessage gfm)
This method is intended to retrieve an arc-file from the archive. |
static ChecksumClient |
ChecksumClient.getInstance(ChannelID theCRin)
The method for retrieving the invoked the instance. |
void |
ChecksumClient.removeAndGetFile(RemoveAndGetFileMessage msg)
This method is intended to retrieve an arc-file from the archive. |
void |
GetChecksumMessage.setChecksum(java.lang.String cs)
Method for returning the result of the checksum. |
void |
GetAllChecksumsMessage.setResultingFile(java.io.File file)
Method for setting the resulting file. |
void |
ChecksumClient.upload(RemoteFile rf)
Method for uploading a file to the archive. |
void |
ChecksumFileServer.visit(CorrectMessage msg)
Method for correcting an entry in the archive. |
void |
ChecksumFileServer.visit(GetAllChecksumsMessage msg)
Method for retrieving a map containing all the checksums and their corresponding filenames within the archive. |
void |
ChecksumFileServer.visit(GetAllFilenamesMessage msg)
Method for retrieving all the filenames within the archive. |
void |
ChecksumFileServer.visit(GetChecksumMessage msg)
Method for retrieving the checksum of a record. |
void |
ChecksumFileServer.visit(UploadMessage msg)
The method for uploading arc files. |
Constructors in dk.netarkivet.archive.checksum.distribute that throw ArgumentNotValid | |
---|---|
CorrectMessage(ChannelID to,
ChannelID replyTo,
java.lang.String badChecksum,
RemoteFile rf,
java.lang.String repId,
java.lang.String cred)
Constructor. |
Uses of ArgumentNotValid in dk.netarkivet.archive.distribute |
---|
Constructors in dk.netarkivet.archive.distribute that throw ArgumentNotValid | |
---|---|
ArchiveMessage(ChannelID to,
ChannelID replyTo)
Creates a new ArchiveMessage. |
Uses of ArgumentNotValid in dk.netarkivet.common.distribute |
---|
Methods in dk.netarkivet.common.distribute that throw ArgumentNotValid | |
---|---|
static ChannelID |
Channels.getBaMonForReplica(java.lang.String replicaId)
Given an replica, returns the BAMON queue to which batch jobs must be sent in order to run them on that bitarchive. |
static ChannelID |
Channels.retrieveReplicaChannelFromReplicaId(java.lang.String replicaId)
The method for retrieving the identification channel for a replica based on the Id of this replica. |
static java.lang.String |
Channels.retrieveReplicaChannelNameFromReplicaId(java.lang.String replicaId)
The method for retrieving the name of the identification channel for a replica based on the Id of this replica. |
static Replica |
Channels.retrieveReplicaFromIdentifierChannel(java.lang.String channelName)
Method for extracting the replica from the name of the identifier channel. |
static NetarkivetMessage |
JMSConnection.unpack(javax.jms.Message msg)
Unwraps a NetarkivetMessage from an ObjectMessage. |
Uses of ArgumentNotValid in dk.netarkivet.common.distribute.arcrepository |
---|
Methods in dk.netarkivet.common.distribute.arcrepository that throw ArgumentNotValid | |
---|---|
BitarchiveRecord |
ViewerArcRepositoryClient.get(java.lang.String arcfile,
long index)
Gets a single ARC record out of the ArcRepository. |
BitarchiveRecord |
PreservationArcRepositoryClient.get(java.lang.String arcfile,
long index)
Gets a single ARC record out of the ArcRepository. |
BitarchiveRecord |
ArcRepositoryClient.get(java.lang.String arcfile,
long index)
Gets a single ARC record out of the ArcRepository. |
BitarchiveRecord |
LocalArcRepositoryClient.get(java.lang.String arcfile,
long index)
Gets a single ARC record out of the ArcRepository. |
void |
HarvesterArcRepositoryClient.store(java.io.File file)
Store the given file in the ArcRepository. |
void |
PreservationArcRepositoryClient.store(java.io.File file)
Store the given file in the ArcRepository. |
void |
ArcRepositoryClient.store(java.io.File file)
Store the given file in the ArcRepository. |
void |
LocalArcRepositoryClient.store(java.io.File file)
Store the given file in the ArcRepository. |
Uses of ArgumentNotValid in dk.netarkivet.common.utils |
---|
Methods in dk.netarkivet.common.utils that throw ArgumentNotValid | ||
---|---|---|
static
|
StringUtils.conjoin(java.lang.String separator,
java.util.Collection<T> objects,
int max)
Concatenate the string representation of a maximum number of objects in a collection with a given separator between them. |
|
static java.lang.String |
Settings.get(java.lang.String key)
Gets a setting. |
|
static java.lang.String[] |
Settings.getAll(java.lang.String key)
Gets a list of settings. |
|
static boolean |
Settings.getBoolean(java.lang.String key)
Gets a setting as a boolean. |
|
static int |
Settings.getInt(java.lang.String key)
Gets a setting as an int. |
|
static long |
Settings.getLong(java.lang.String key)
Gets a setting as a long. |
Uses of ArgumentNotValid in dk.netarkivet.common.utils.arc |
---|
Methods in dk.netarkivet.common.utils.arc that throw ArgumentNotValid | |
---|---|
void |
ARCBatchJob.handleException(java.lang.Exception e,
java.io.File arcfile,
long index)
When the org.archive.io.arc classes throw IOExceptions while reading, this is where they go. |
boolean |
ARCBatchJob.processFile(java.io.File arcFile,
java.io.OutputStream os)
Accepts only ARC and ARCGZ files. |
Uses of ArgumentNotValid in dk.netarkivet.common.utils.batch |
---|
Constructors in dk.netarkivet.common.utils.batch that throw ArgumentNotValid | |
---|---|
BatchLocalFiles(java.io.File[] incomingFiles)
Given an array of files, constructs a BatchLocalFiles instance to be used in running a batch job over those files. |
Uses of ArgumentNotValid in dk.netarkivet.common.utils.cdx |
---|
Methods in dk.netarkivet.common.utils.cdx that throw ArgumentNotValid | |
---|---|
void |
CDXReader.addCDXRecordFilter(CDXRecordFilter cdxrecfilter)
Add another CDXRecordFilter to the list of filters to use when searching. |
static void |
CDXUtils.generateCDX(java.io.File arcFileDirectory,
java.io.File cdxFileDirectory)
Applies createCDXRecord() to all ARC files in a directory, creating one CDX file per ARC file. |
Constructors in dk.netarkivet.common.utils.cdx that throw ArgumentNotValid | |
---|---|
ARCFilenameCDXRecordFilter(java.lang.String arcfilenamepattern,
java.lang.String filtername)
Class constructor. |
|
SimpleCDXRecordFilter(java.lang.String filtername)
|
Uses of ArgumentNotValid in dk.netarkivet.harvester.datamodel |
---|
Methods in dk.netarkivet.harvester.datamodel that throw ArgumentNotValid | |
---|---|
static Job |
Job.createSnapShotJob(java.lang.Long harvestID,
DomainConfiguration cfg,
long maxObjectsPerDomain,
long maxBytesPerDomain,
int harvestNum)
Create new instance of Job suitable for snapshot harvesting. |
abstract Job |
JobDAO.read(java.lang.Long jobID)
Reads a job from persistent storage. |
Constructors in dk.netarkivet.harvester.datamodel that throw ArgumentNotValid | |
---|---|
AliasInfo(java.lang.String domain,
java.lang.String aliasOf,
java.util.Date lastChange)
Constructor for the AliasInfo class. |
|
Job(java.lang.Long harvestID,
DomainConfiguration cfg,
JobPriority priority,
long forceMaxObjectsPerDomain,
long forceMaxBytesPerDomain,
int harvestNum)
Package private constructor for common initialisation. |
Uses of ArgumentNotValid in dk.netarkivet.harvester.harvesting |
---|
Methods in dk.netarkivet.harvester.harvesting that throw ArgumentNotValid | |
---|---|
static java.net.URI |
HarvestDocumentation.getCDXURI(java.lang.String harvestID,
java.lang.String jobID,
java.lang.String timeStamp,
java.lang.String serialNumber)
Generates a URI identifying CDX info for one harvested ARC file. |
static HeritrixController |
HeritrixControllerFactory.getDefaultHeritrixController(java.lang.Object... args)
Returns an instance of the default HeritrixController implementation defined by the setting dk.netarkivet.harvester.harvesting.heritrixController.class . |
static HeritrixLauncher |
HeritrixLauncher.getInstance(HeritrixFiles files)
Get instance of this class. |
static java.lang.String |
HarvestDocumentation.getMetadataARCFileName(java.lang.String jobID)
Generates a name for an ARC file containing metadata regarding a given job. |
static java.lang.String |
HarvestDocumentation.getPreharvestMetadataARCFileName(long jobID)
Generates a name for an ARC file containing "preharvest" metadata regarding a given job (e.g. |
Uses of ArgumentNotValid in dk.netarkivet.harvester.harvesting.distribute |
---|
Methods in dk.netarkivet.harvester.harvesting.distribute that throw ArgumentNotValid | |
---|---|
void |
HarvestControllerClient.doOneCrawl(Job job,
java.util.List<MetadataEntry> metadata)
Submit an doOneCrawl request to a HarvestControllerServer with correct priority. |
void |
HarvestControllerServer.visit(DoOneCrawlMessage msg)
Receives a DoOneCrawlMessage and call onDoOneCrawl. |
Constructors in dk.netarkivet.harvester.harvesting.distribute that throw ArgumentNotValid | |
---|---|
DoOneCrawlMessage(Job submittedJob,
ChannelID to,
java.util.List<MetadataEntry> metadata)
A NetarkivetMessage that contains a Job for Heritrix. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |