Package | Description |
---|---|
dk.netarkivet.archive.arcrepository | |
dk.netarkivet.archive.arcrepository.bitpreservation | |
dk.netarkivet.archive.arcrepositoryadmin | |
dk.netarkivet.archive.checksum | |
dk.netarkivet.archive.checksum.distribute | |
dk.netarkivet.archive.webinterface | |
dk.netarkivet.common.distribute | |
dk.netarkivet.common.distribute.arcrepository | |
dk.netarkivet.deploy |
Contains software for installing NetarchiveSuite on multiple machines.
|
dk.netarkivet.harvester.indexserver.distribute | |
dk.netarkivet.wayback.indexer |
Retrieves indexes of the ARC files in the repository which are needed by Wayback.
|
Modifier and Type | Method and Description |
---|---|
static ArcRepository |
ArcRepository.getInstance()
Returns the unique ArcRepository instance.
|
Constructor and Description |
---|
ArcRepository()
Constructor for the ArcRepository.
|
Modifier and Type | Method and Description |
---|---|
Iterable<String> |
FileBasedActiveBitPreservation.getChangedFiles(Replica bitarchive)
Deprecated.
Get a list of corrupt files in a given bitarchive.
|
Iterable<String> |
FileBasedActiveBitPreservation.getMissingFiles(Replica replica)
Deprecated.
Get a list of missing files in a given replica.
|
void |
FileBasedActiveBitPreservation.uploadMissingFiles(Replica replica,
String... filenames)
Deprecated.
Check that the files we want to restore are indeed missing on the replica, and present in admin data and the
reference bitarchive.
|
Modifier and Type | Method and Description |
---|---|
void |
ReplicaCacheDatabase.changeStateOfReplicafileinfo(String filename,
String checksum,
Replica replica,
ReplicaStoreState state)
Method for inserting an entry into the database about a file upload has begun for a specific replica.
|
protected static void |
ReplicaCacheHelpers.createReplicaFileInfoEntriesInDB(long fileId,
Connection con)
When a new file is inserted into the database, each replica gets a new entry in the replicafileinfo table for
this file.
|
boolean |
ReplicaCacheDatabase.existsFileInDB(String filename)
Checks whether a file is already in the file table in the database.
|
protected static boolean |
ReplicaCacheHelpers.existsReplicaFileInfoInDB(long fileid,
String replicaID,
Connection con)
Method for checking whether a replicafileinfo is in the database.
|
protected static long |
ReplicaCacheHelpers.insertFileIntoDB(String filename,
Connection connection)
Method to create a new entry in the file table in the database.
|
void |
ReplicaCacheDatabase.insertNewFileForUpload(String filename,
String checksum)
Creates a new entry for the filename for each replica, and give it the given checksum and set the upload_status =
UNKNOWN_UPLOAD_STATUS.
|
void |
DatabaseAdmin.setCheckSum(String filename,
String checksum)
Sets the checksum of a given file.
|
Modifier and Type | Method and Description |
---|---|
File |
FileChecksumArchive.correct(String filename,
File correctFile)
Method for correcting a bad entry from the archive.
|
File |
DatabaseChecksumArchive.correct(String filename,
File correctFile) |
File |
ChecksumArchive.correct(String filename,
File correctFile)
Method for removing a bad entry from the archive.
|
void |
FileChecksumArchive.upload(RemoteFile file,
String filename)
The method for uploading a file to the archive.
|
Modifier and Type | Method and Description |
---|---|
BatchMessage |
ChecksumClient.sendBatchJob(BatchMessage msg)
Method for sending batch job messages to the replica.
|
BatchMessage |
ChecksumClient.sendBatchJob(ChannelID replyChannel,
FileBatchJob job)
Method for sending batch job messages to the replica.
|
void |
ChecksumClient.sendGetFileMessage(GetFileMessage gfm)
This method is intended to retrieve an arc-file from the archive.
|
void |
ChecksumClient.sendGetMessage(GetMessage msg)
This method is intended to retrieve a record from an arc-file within the archive.
|
void |
ChecksumClient.sendRemoveAndGetFileMessage(RemoveAndGetFileMessage msg)
This method is intended to retrieve an arc-file from the archive.
|
Modifier and Type | Method and Description |
---|---|
static void |
BatchGUI.getPageForClass(javax.servlet.jsp.PageContext context)
Method for creating the page for a batchjob.
|
Modifier and Type | Method and Description |
---|---|
static ChannelID |
Channels.getAllBa()
Returns the topic that all bitarchive machines on this replica are listening on.
|
static ChannelID |
Channels.getAnyBa()
Returns the channel where exactly one of all the bitarchive machines at this replica will get the message.
|
static ChannelID |
Channels.getTheBamon()
Returns the queue for sending messages to bitarchive monitors.
|
static ChannelID |
Channels.getTheCR()
Method for retrieving the 'THE_CR' channel for this replica.
|
Modifier and Type | Method and Description |
---|---|
void |
BatchStatus.appendResults(OutputStream stream)
Append the results of a batch job into a stream.
|
void |
BatchStatus.copyResults(File targetFile)
Copy the results of a batch job into a local file.
|
Modifier and Type | Method and Description |
---|---|
protected String |
Machine.getHeritrixLogin()
For finding the jmxUsernames and jmxPasswords under the harvest.harvesting.heritrix branch under in the settings.
|
protected String |
Machine.getMonitorLogin()
For finding the jmxUsernames and jmxPasswords under the monitor branch in the settings.
|
protected String |
Machine.getMonitorUsername()
For retrieving the monitor username for the jmxremote.access file.
|
Modifier and Type | Method and Description |
---|---|
protected Set<Long> |
IndexRequestClient.cacheData(Set<Long> jobSet)
This method makes sure the actual caching of underlying data is done using the index server.
|
RemoteFile |
IndexRequestMessage.getResultFile()
The index over the requested jobs.
|
List<RemoteFile> |
IndexRequestMessage.getResultFiles()
Returns the list of result files for the requested jobs.
|
void |
IndexRequestClient.requestIndex(Set<Long> jobSet,
Long harvestId)
Method to request an Index without having the result sent right away.
|
void |
IndexRequestMessage.setResultFile(RemoteFile resultFile)
On reply, set remote file containing index of requested jobs.
|
void |
IndexRequestMessage.setResultFiles(List<RemoteFile> resultFiles)
Set several result files making up an index of requested jobs.
|
Modifier and Type | Method and Description |
---|---|
void |
ArchiveFile.index()
Run a batch job to index this file, storing the result locally.
|
Copyright © 2005–2015 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.