|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of IOFailure in dk.netarkivet.archive.arcrepository |
---|
Methods in dk.netarkivet.archive.arcrepository that throw IOFailure | |
---|---|
static ArcRepository |
ArcRepository.getInstance()
Returns the unique ArcRepository instance. |
void |
ArcRepository.store(RemoteFile rf,
StoreMessage replyInfo)
Stores a file in all known replicas. |
Uses of IOFailure in dk.netarkivet.archive.arcrepository.bitpreservation |
---|
Methods in dk.netarkivet.archive.arcrepository.bitpreservation that throw IOFailure | |
---|---|
void |
DerbyEmbeddedSpecifics.backupDatabase(java.sql.Connection c,
java.io.File backupDir)
Backup the database. |
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. |
java.lang.Iterable<java.lang.String> |
FileBasedActiveBitPreservation.getChangedFilesForAdminData()
Return a list of files with wrong checksum or status in admin data. |
static java.sql.Connection |
DBConnect.getDBConnection(java.lang.String dbUrl)
Get a connection to our database. |
java.lang.Iterable<java.lang.String> |
FileBasedActiveBitPreservation.getMissingFilesForAdminData()
Return a list of files present in bitarchive but missing in AdminData. |
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. |
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. |
Uses of IOFailure in dk.netarkivet.archive.arcrepository.distribute |
---|
Methods in dk.netarkivet.archive.arcrepository.distribute that throw IOFailure | |
---|---|
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. |
Uses of IOFailure in dk.netarkivet.archive.bitarchive |
---|
Methods in dk.netarkivet.archive.bitarchive that throw IOFailure | |
---|---|
BatchStatus |
Bitarchive.batch(java.lang.String bitarchiveAppId,
FileBatchJob job)
Run a batch job on all ARC entries in the archive. |
BitarchiveRecord |
Bitarchive.get(java.lang.String arcfile,
long index)
Get an ARC record out of the archive. |
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 |
Bitarchive.upload(RemoteFile arcfile,
java.lang.String fileName)
Upload an ARC file to this archive. |
Uses of IOFailure in dk.netarkivet.archive.bitarchive.distribute |
---|
Methods in dk.netarkivet.archive.bitarchive.distribute that throw IOFailure | |
---|---|
BatchMessage |
BitarchiveClient.batch(ChannelID replyChannel,
FileBatchJob job)
Submit a batch job to the archive. |
java.io.File |
RemoveAndGetFileMessage.getData()
Writes the the content of the retrieved file into a local file. |
void |
GetFileMessage.getData(java.io.File toFile)
Writes the the content of the retrieved file into a local file. |
static BitarchiveMonitorServer |
BitarchiveMonitorServer.getInstance()
Returns the unique instance of a BitarchiveMonitorServer. |
static BitarchiveClient |
BitarchiveClient.getInstance(ChannelID all_ba_in,
ChannelID any_ba_in,
ChannelID the_bamon_in)
Factory that establish the connection to the server. |
void |
BitarchiveClient.upload(RemoteFile rf)
Submit an upload request to the bitarchive. |
Constructors in dk.netarkivet.archive.bitarchive.distribute that throw IOFailure | |
---|---|
BitarchiveMonitorServer()
Creates an instance of a BitarchiveMonitorServer. |
|
HeartBeatSender(ChannelID inReceiver,
BitarchiveServer inBaServer)
Constructs a HearBeatSender that sends heartbeats. |
Uses of IOFailure in dk.netarkivet.archive.checksum |
---|
Methods in dk.netarkivet.archive.checksum that throw IOFailure | |
---|---|
protected java.lang.String |
FileChecksumArchive.calculateChecksum(java.io.File f)
Method for calculating the checksum of a file. |
protected java.lang.String |
FileChecksumArchive.calculateChecksum(java.io.InputStream is)
Method for calculating the checksum of a inputstream. |
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.io.File |
FileChecksumArchive.getAllFilenames()
Method for retrieving the names of all the files within the archive as a temporary file. |
java.io.File |
FileChecksumArchive.getArchiveAsFile()
Method for retrieving the archive as a temporary file containing the checksum entries. |
Uses of IOFailure in dk.netarkivet.archive.checksum.distribute |
---|
Methods in dk.netarkivet.archive.checksum.distribute that throw IOFailure | |
---|---|
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. |
static ChecksumClient |
ChecksumClient.getInstance(ChannelID theCRin)
The method for retrieving the invoked the instance. |
Uses of IOFailure in dk.netarkivet.common.distribute |
---|
Methods in dk.netarkivet.common.distribute that throw IOFailure | |
---|---|
static JMSConnection |
JMSConnectionSunMQ.getInstance()
Intialises an Open Message Queue JMS connection. |
static RemoteFile |
FTPRemoteFile.getInstance(java.io.File localFile,
java.lang.Boolean useChecksums,
java.lang.Boolean fileDeletable,
java.lang.Boolean multipleDownloads)
Create a remote file that handles the transport of the remote file data. |
protected void |
JMSConnection.initConnection()
Initializes the JMS connection. |
void |
JMSConnection.removeListener(ChannelID mq,
javax.jms.MessageListener ml)
Removes the specified MessageListener from the given queue or topic. |
protected void |
JMSConnection.sendMessage(NetarkivetMessage nMsg,
ChannelID to)
Submit an ObjectMessage to the destination channel. |
void |
JMSConnection.setListener(ChannelID mq,
javax.jms.MessageListener ml)
Method adds a listener to the given queue or topic. |
Uses of IOFailure in dk.netarkivet.common.distribute.arcrepository |
---|
Methods in dk.netarkivet.common.distribute.arcrepository that throw IOFailure | |
---|---|
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 IOFailure in dk.netarkivet.common.utils |
---|
Methods in dk.netarkivet.common.utils that throw IOFailure | |
---|---|
static void |
FileUtils.copyDirectory(java.io.File from,
java.io.File to)
Copy an entire directory from one location to another. |
static java.lang.String |
Settings.get(java.lang.String key)
Gets a setting. |
static java.io.File |
FileUtils.getResourceFileFromClassPath(java.lang.String filePath)
Loads an file from the class path (for retrieving a file from '.jar'). |
static int |
DBUtils.getTableVersion(java.sql.Connection connection,
java.lang.String tablename)
Returns the version of a table according to schemaversions, or 0 for the initial, unnumbered version. |
static org.dom4j.Document |
XmlUtils.getXmlDoc(java.io.File f)
Read and parse an XML-file, and return a Document object representing this object. |
static java.io.File |
FileUtils.makeValidFileFromExisting(java.lang.String filename)
Makes a valid file from filename passed in String. |
static byte[] |
FileUtils.readBinaryFile(java.io.File file)
Read an entire file, byte by byte, into a byte array, ignoring any locale issues. |
static void |
XmlUtils.writeXmlToFile(org.dom4j.Document doc,
java.io.File f)
Write document tree to file. |
Uses of IOFailure in dk.netarkivet.deploy |
---|
Methods in dk.netarkivet.deploy that throw IOFailure | |
---|---|
protected void |
LinuxMachine.createRestartScript(java.io.File dir)
Creates script for restarting all the applications on a machine. |
protected void |
WindowsMachine.createRestartScript(java.io.File dir)
Creates scripts for restarting all the applications on a machine. |
protected void |
WindowsMachine.createWaitScript(java.io.File dir)
Creates the script for waiting during restart. |
Uses of IOFailure in dk.netarkivet.harvester.datamodel |
---|
Methods in dk.netarkivet.harvester.datamodel that throw IOFailure | |
---|---|
abstract Job |
JobDAO.read(java.lang.Long jobID)
Reads a job from persistent storage. |
HarvestDefinition |
HarvestDefinitionDBDAO.read(java.lang.Long harvestDefinitionID)
Read the stored harvest definition for the given ID. |
abstract HarvestDefinition |
HarvestDefinitionDAO.read(java.lang.Long harvestDefinitionID)
Read the stored harvest definition for the given ID. |
abstract void |
JobDAO.update(Job job)
Update a Job in persistent storage. |
Uses of IOFailure in dk.netarkivet.harvester.harvesting |
---|
Methods in dk.netarkivet.harvester.harvesting that throw IOFailure | |
---|---|
void |
HeritrixLauncher.doCrawl()
This method launches heritrix in the following way: 1. |
static void |
HarvestDocumentation.documentHarvest(java.io.File crawlDir,
long jobID,
long harvestID)
Documents the harvest under the given dir in a packaged metadata arc file in a directory 'metadata' under the current dir. |
void |
HeritrixController.requestCrawlStart()
Request that Heritrix start crawling. |
void |
HeritrixLauncher.setupOrderfile()
This method prepares the orderfile used by the Heritrix crawler. |
Uses of IOFailure in dk.netarkivet.harvester.harvesting.distribute |
---|
Methods in dk.netarkivet.harvester.harvesting.distribute that throw IOFailure | |
---|---|
void |
HarvestControllerClient.doOneCrawl(Job job,
java.util.List<MetadataEntry> metadata)
Submit an doOneCrawl request to a HarvestControllerServer with correct priority. |
static HarvestControllerServer |
HarvestControllerServer.getInstance()
Returns or creates the unique instance of this singleton The server creates an instance of the HarvestController, uploads arc-files from unfinished harvests, and starts to listen to JMS messages on the incoming jms queues. |
static HarvestControllerClient |
HarvestControllerClient.getInstance()
Construction factory. |
void |
HarvestControllerServer.visit(DoOneCrawlMessage msg)
Receives a DoOneCrawlMessage and call onDoOneCrawl. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |