Uses of Class
dk.netarkivet.common.exceptions.IOFailure
-
-
Uses of IOFailure in dk.netarkivet.archive.arcrepository
Methods in dk.netarkivet.archive.arcrepository that throw IOFailure Modifier and Type Method Description static ArcRepository
ArcRepository. getInstance()
Returns the unique ArcRepository instance.void
ArcRepository. store(RemoteFile rf, StoreMessage replyInfo)
Stores a file in all known replicas.Constructors in dk.netarkivet.archive.arcrepository that throw IOFailure Constructor Description ArcRepository()
Constructor for the ArcRepository. -
Uses of IOFailure in dk.netarkivet.archive.arcrepository.bitpreservation
Methods in dk.netarkivet.archive.arcrepository.bitpreservation that throw IOFailure Modifier and Type Method Description void
FileBasedActiveBitPreservation. findChangedFiles(Replica replica)
Deprecated.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.protected static java.io.File
WorkFiles. getSortedFile(java.io.File unsortedFile)
Get a sorted file from an unsorted one, updating if necessary.void
FileBasedActiveBitPreservation. replaceChangedFile(Replica replica, java.lang.String filename, java.lang.String credentials, java.lang.String checksum)
Deprecated.Check that file checksum is indeed different to 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.void
FileBasedActiveBitPreservation. uploadMissingFiles(Replica replica, java.lang.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. -
Uses of IOFailure in dk.netarkivet.archive.arcrepository.distribute
Methods in dk.netarkivet.archive.arcrepository.distribute that throw IOFailure Modifier and Type Method Description BatchStatus
BitmagArcRepositoryClient. batch(FileBatchJob job, java.lang.String replicaId, java.lang.String batchId, java.lang.String... args)
Runs a batch job on each file in the ArcRepository.BatchStatus
JMSArcRepositoryClient. batch(FileBatchJob job, java.lang.String replicaId, java.lang.String batchId, java.lang.String... args)
Runs a batch job on each file in the ArcRepository.java.io.File
BitmagArcRepositoryClient. correct(java.lang.String replicaId, java.lang.String checksum, java.io.File file, java.lang.String credentials)
Deprecated.java.io.File
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
BitmagArcRepositoryClient. get(java.lang.String arcfile, long index)
Initializes a WarcRecordClient to interact with the warc records service and uses it to request a record with the given name and offset/index.BitarchiveRecord
JMSArcRepositoryClient. get(java.lang.String arcfile, long index)
Sends a GetMessage on the "TheArcrepos" queue and waits for a reply.java.io.File
BitmagArcRepositoryClient. getAllChecksums(java.lang.String replicaId)
Deprecated.java.io.File
JMSArcRepositoryClient. getAllChecksums(java.lang.String replicaId)
Retrieves all the checksum from the replica through a GetAllChecksumMessage.java.io.File
BitmagArcRepositoryClient. getAllFilenames(java.lang.String replicaId)
Deprecated.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
BitmagArcRepositoryClient. getChecksum(java.lang.String replicaId, java.lang.String filename)
Deprecated.java.lang.String
JMSArcRepositoryClient. getChecksum(java.lang.String replicaId, java.lang.String filename)
Retrieves the checksum of a specific file.void
BitmagArcRepositoryClient. 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. 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.java.io.File
BitmagArcRepositoryClient. removeAndGetFile(java.lang.String fileName, java.lang.String bitarchiveId, java.lang.String checksum, java.lang.String credentials)
Deprecated.java.io.File
JMSArcRepositoryClient. removeAndGetFile(java.lang.String fileName, java.lang.String bitarchiveId, java.lang.String checksum, java.lang.String credentials)
Removes a file from the bitarchives, if given credentials and checksum are correct.void
BitmagArcRepositoryClient. store(java.io.File file)
Store the file in the bitrepository.void
JMSArcRepositoryClient. store(java.io.File file)
Sends a StoreMessage via the synchronized JMS connection method sendAndWaitForOneReply().void
BitmagArcRepositoryClient. updateAdminData(java.lang.String fileName, java.lang.String replicaId, ReplicaStoreState newval)
Not implemented.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.arcrepositoryadmin
Methods in dk.netarkivet.archive.arcrepositoryadmin that throw IOFailure Modifier and Type Method Description void
DerbyEmbeddedSpecifics. backupDatabase(java.sql.Connection c, java.io.File backupDir)
Backup the database.protected static void
ReplicaCacheHelpers. insertReplicaIntoDB(Replica rep, java.sql.Connection con)
Method for inserting a Replica into the replica table.protected void
AdminData. read()
Deprecated.Reads the admin data from a file.protected static void
ReplicaCacheHelpers. updateReplicaFileInfo(long replicafileinfoGuid, java.lang.String checksum, ReplicaStoreState state, java.sql.Connection con)
Method for updating an entry in the replicafileinfo table.protected static void
ReplicaCacheHelpers. updateReplicaFileInfo(long replicafileinfoGuid, java.lang.String checksum, java.sql.Date date, ReplicaStoreState state, java.sql.Connection con)
Method for updating an entry in the replicafileinfo table. -
Uses of IOFailure in dk.netarkivet.archive.bitarchive
Methods in dk.netarkivet.archive.bitarchive that throw IOFailure Modifier and Type Method Description 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 or WARC 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
BitarchiveAdmin. updateFileList(java.io.File basedir)
Method for updating the filelist for a given basedir.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 Modifier and Type Method Description void
GetFileMessage. getData(java.io.File toFile)
Writes the the content of the retrieved file into a local file.java.io.File
RemoveAndGetFileMessage. getData()
Writes the the content of the retrieved file into a local file.static BitarchiveClient
BitarchiveClient. getInstance(ChannelID allBaIn, ChannelID anyBaIn, ChannelID theBamonIn)
Factory that establish the connection to the server.static BitarchiveMonitorServer
BitarchiveMonitorServer. getInstance()
Returns the unique instance of a BitarchiveMonitorServer.BatchMessage
BitarchiveClient. sendBatchJob(ChannelID replyChannel, FileBatchJob job)
Submit a batch job to the archive.void
BitarchiveClient. sendUploadMessage(RemoteFile rf, java.lang.String precomputedChecksum)
Submit an upload request to the bitarchive.Constructors in dk.netarkivet.archive.bitarchive.distribute that throw IOFailure Constructor Description 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 Modifier and Type Method Description java.lang.String
FileChecksumArchive. calculateChecksum(java.io.File f)
Method for calculating the checksum of a file.java.lang.String
FileChecksumArchive. calculateChecksum(java.io.InputStream is)
Method for calculating the checksum of a inputstream.java.io.File
ChecksumArchive. correct(java.lang.String filename, java.io.File correctFile)
Method for removing a bad entry from the archive.java.io.File
DatabaseChecksumArchive. correct(java.lang.String filename, java.io.File correctFile)
java.io.File
FileChecksumArchive. correct(java.lang.String filename, java.io.File correctFile)
Method for correcting 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 Modifier and Type Method Description 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 invoking an instance of this class.RemoteFile
CorrectMessage. getRemovedFile()
Returns the removed file. -
Uses of IOFailure in dk.netarkivet.archive.tools
Methods in dk.netarkivet.archive.tools that throw IOFailure Modifier and Type Method Description static void
LoadDatabaseChecksumArchive. main(java.lang.String[] args)
Main program for the LoadDatabaseChecksumArchive class -
Uses of IOFailure in dk.netarkivet.archive.webinterface
Methods in dk.netarkivet.archive.webinterface that throw IOFailure Modifier and Type Method Description static java.io.File
BatchGUI. getJarFile(java.lang.String classPath)
Method for retrieving and validating the arc-file for a given DOOM!static void
BatchGUI. getPageForClass(javax.servlet.jsp.PageContext context)
Method for creating the page for a batchjob.void
BatchExecuter. run()
Execution of the batchjob in its own thread (use start() instead). -
Uses of IOFailure in dk.netarkivet.common.arcrepository
Methods in dk.netarkivet.common.arcrepository that throw IOFailure Modifier and Type Method Description void
TrivialArcRepositoryClient. store(java.io.File file)
Store the given file in the ArcRepository. -
Uses of IOFailure in dk.netarkivet.common.distribute
Methods in dk.netarkivet.common.distribute that throw IOFailure Modifier and Type Method Description static RemoteFile
ExtendedFTPRemoteFile. getInstance(java.io.File localFile, java.lang.Boolean useChecksums, java.lang.Boolean fileDeletable, java.lang.Boolean multipleDownloads)
This method returns an instance of FTPRemoteFile using the factory method with the same signature in that class.static RemoteFile
ExtendedFTPRemoteFile. getInstance(java.io.File localFile, java.lang.Boolean useChecksums, java.lang.Boolean fileDeletable, java.lang.Boolean multipleDownloads, RemoteFileSettings connectionParams)
This method returns an instance of FTPRemoteFile using the factory method with the same signature in that class.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.static RemoteFile
FTPRemoteFile. getInstance(java.io.File localFile, java.lang.Boolean useChecksums, java.lang.Boolean fileDeletable, java.lang.Boolean multipleDownloads, RemoteFileSettings connectionParams)
static JMSConnection
JMSConnectionSunMQ. getInstance()
Intialises an Open Message Queue JMS connection.static RemoteFile
TestRemoteFile. getInstance(java.io.File remoteFile, java.lang.Boolean useChecksums, java.lang.Boolean fileDeletable, java.lang.Boolean multipleDownloads)
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.Constructors in dk.netarkivet.common.distribute that throw IOFailure Constructor Description TestRemoteFile(java.io.File localFile, boolean useChecksum, boolean fileDeletable, boolean multipleDownloads)
-
Uses of IOFailure in dk.netarkivet.common.distribute.arcrepository
Methods in dk.netarkivet.common.distribute.arcrepository that throw IOFailure Modifier and Type Method Description BatchStatus
LocalArcRepositoryClient. batch(FileBatchJob job, java.lang.String replicaId, java.lang.String... args)
Runs a batch job on each file in the ArcRepository.java.io.File
LocalArcRepositoryClient. getAllChecksums(java.lang.String replicaId)
Method for retrieving the checksums of all the files of the replica.java.io.File
LocalArcRepositoryClient. getAllFilenames(java.lang.String replicaId)
Method for retrieving all the filenames of the replica.void
ArcRepositoryClient. store(java.io.File file)
Store the given file in the ArcRepository.void
HarvesterArcRepositoryClient. 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.void
PreservationArcRepositoryClient. store(java.io.File file)
Store the given file in the ArcRepository. -
Uses of IOFailure in dk.netarkivet.common.management
Methods in dk.netarkivet.common.management that throw IOFailure Modifier and Type Method Description void
SingleMBeanObject. unregister()
Unregister the object from the MBeanServer. -
Uses of IOFailure in dk.netarkivet.common.utils
Methods in dk.netarkivet.common.utils that throw IOFailure Modifier and Type Method Description 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.lang.String
StreamUtils. getFileReaderAsString(java.io.FileReader fr)
Get FileReader as String.static java.lang.String
StreamUtils. getInputStreamAsString(java.io.InputStream in)
Reads an input stream and returns it as a string.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.common.utils.archive
Methods in dk.netarkivet.common.utils.archive that throw IOFailure Modifier and Type Method Description void
GetMetadataArchiveBatchJob. processRecord(ArchiveRecordBase record, java.io.OutputStream os)
The method for processing the arc-records. -
Uses of IOFailure in dk.netarkivet.common.utils.batch
Methods in dk.netarkivet.common.utils.batch that throw IOFailure Modifier and Type Method Description protected void
LoadableFileBatchJob. loadBatchJob()
Method for initializing the loaded batchjob. -
Uses of IOFailure in dk.netarkivet.common.utils.warc
Methods in dk.netarkivet.common.utils.warc that throw IOFailure Modifier and Type Method Description static byte[]
WARCUtils. readWARCRecord(org.archive.io.warc.WARCRecord record)
Read the contents (payload) of an WARC record into a byte array. -
Uses of IOFailure in dk.netarkivet.deploy
Methods in dk.netarkivet.deploy that throw IOFailure Modifier and Type Method Description protected void
LinuxMachine. createApplicationKillScripts(java.io.File directory)
Creates the kill scripts for all the applications.protected void
WindowsMachine. createApplicationKillScripts(java.io.File directory)
Creates the kill scripts for all the applications.protected void
LinuxMachine. createApplicationStartScripts(java.io.File directory)
Creates the start scripts for all the applications.protected void
LinuxMachine. createArchiveDatabaseKillScript(java.io.File dir)
Creates a script for killing the archive database on a given machine.protected void
LinuxMachine. createArchiveDatabaseStartScript(java.io.File dir)
Creates a script for starting the archive database on a given machine.protected void
LinuxMachine. createHarvestDatabaseKillScript(java.io.File dir)
Creates a script for killing the harvest database on a given machine.protected void
LinuxMachine. createHarvestDatabaseStartScript(java.io.File dir)
Creates a script for starting the harvest database on a given machine.protected void
WindowsMachine. createInstallDirScript(java.io.File directory)
Function to create the script which installs the new directories.protected void
Machine. createJmxRemoteAccessFile(java.io.File directory)
Creates the jmxremote.password file, based on the settings.protected void
Machine. createJmxRemotePasswordFile(java.io.File directory)
Creates the jmxremote.password file, based on the settings.protected void
LinuxMachine. createOSLocalKillAllScript(java.io.File directory)
This function creates the script to kill all applications on this machine.protected void
WindowsMachine. createOSLocalKillAllScript(java.io.File directory)
This function creates the script to kill all applications on this machine.protected void
LinuxMachine. createOSLocalStartAllScript(java.io.File directory)
This function creates the script to start all applications on this machine.protected void
WindowsMachine. createOSLocalStartAllScript(java.io.File directory)
This function creates the script to start all applications on this machine.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
Machine. createSecurityPolicyFile(java.io.File directory)
Copy inherited securityPolicyFile to local directory.protected void
Machine. createSlf4jConfigFiles(java.io.File directory)
Creates a the SLF4J config file for every application.protected void
WindowsMachine. createWaitScript(java.io.File dir)
Creates the script for waiting during restart.protected void
WindowsMachine. windowsStartBatScript(Application app, java.io.File directory)
Creates the batch script for starting the application.protected void
WindowsMachine. windowsStartVbsScript(Application app, java.io.File directory)
This function creates the VBscript to start the application. -
Uses of IOFailure in dk.netarkivet.harvester.datamodel
Methods in dk.netarkivet.harvester.datamodel that throw IOFailure Modifier and Type Method Description abstract void
HarvestChannelDAO. create(HarvestChannel harvestChannel)
Creates aHarvestChannel
object in the storage backend.abstract HarvestDefinition
HarvestDefinitionDAO. read(java.lang.Long harvestDefinitionID)
Read the stored harvest definition for the given ID.HarvestDefinition
HarvestDefinitionDBDAO. read(java.lang.Long harvestDefinitionID)
Read the stored harvest definition for the given ID.abstract Job
JobDAO. read(long jobID)
Reads a job from persistent storage.abstract void
HarvestChannelDAO. update(HarvestChannel harvestChannel)
Updates aHarvestChannel
object in the storage backend.abstract void
JobDAO. update(Job job)
Update a Job in persistent storage.void
H1HeritrixTemplate. writeTemplate(javax.servlet.jsp.JspWriter out)
void
H3HeritrixTemplate. writeTemplate(java.io.OutputStream os)
void
H3HeritrixTemplate. writeTemplate(javax.servlet.jsp.JspWriter out)
Constructors in dk.netarkivet.harvester.datamodel that throw IOFailure Constructor Description GlobalCrawlerTrapList(java.io.InputStream is, java.lang.String name, java.lang.String description, boolean isActive)
Construct a new GlobalCrawlerTrapList from an input stream consisting of newline-separated regular expressions. -
Uses of IOFailure in dk.netarkivet.harvester.datamodel.extendedfield
Methods in dk.netarkivet.harvester.datamodel.extendedfield that throw IOFailure Modifier and Type Method Description abstract void
ExtendedFieldDAO. delete(long aExtendedFieldID)
deletes an ExtendedField from persistent storage.void
ExtendedFieldDBDAO. delete(long aExtendedfieldId)
void
ExtendedFieldValueDBDAO. delete(long aExtendedfieldValueID)
abstract ExtendedField
ExtendedFieldDAO. read(java.lang.Long aExtendedFieldID)
Reads an ExtendedField from persistent storage.abstract void
ExtendedFieldDAO. update(ExtendedField aExtendedField)
Update a ExtendedField in persistent storage.void
ExtendedFieldValueDBDAO. update(ExtendedFieldValue aExtendedFieldValue)
-
Uses of IOFailure in dk.netarkivet.harvester.harvesting.report
Constructors in dk.netarkivet.harvester.harvesting.report that throw IOFailure Constructor Description BnfHarvestReport(DomainStatsReport dsr)
Constructor for this class. -
Uses of IOFailure in dk.netarkivet.harvester.heritrix3
Methods in dk.netarkivet.harvester.heritrix3 that throw IOFailure Modifier and Type Method Description abstract void
HeritrixLauncherAbstract. doCrawl()
Launches the crawl and monitors its progress.static void
HarvestDocumentation. documentHarvest(IngestableFiles ingestables)
Documents the harvest under the given dir in a packaged metadata arc file in a directory 'metadata' under the current dir.void
PostProcessing. doPostProcessing(java.io.File crawlDir, java.lang.Throwable crawlException)
Do postprocessing of data in a crawldir. 1.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 void
HeritrixLauncherAbstract. makeTemplateReadyForHeritrix3(java.lang.String jobName, Heritrix3Files files)
This method prepares the crawler-beans.cxml file used by the Heritrix3 crawler.void
HarvestControllerServer. visit(DoOneCrawlMessage msg)
Checks that we're available to do a crawl, and if so, marks us as unavailable, checks that the job message is well-formed, and starts the thread that the crawl happens in. -
Uses of IOFailure in dk.netarkivet.harvester.heritrix3.controller
Methods in dk.netarkivet.harvester.heritrix3.controller that throw IOFailure Modifier and Type Method Description void
HeritrixLauncher. doCrawl()
Initializes an Heritrix3controller, then launches the Heritrix3 instance.void
IHeritrixController. requestCrawlStart()
Request that Heritrix start crawling. -
Uses of IOFailure in dk.netarkivet.harvester.heritrix3.report
Methods in dk.netarkivet.harvester.heritrix3.report that throw IOFailure Modifier and Type Method Description static HarvestReport
HarvestReportFactory. generateHarvestReport(java.lang.Object... args)
Returns an instance of the defaultHarvestReport
implementation defined by the settingHarvesterSettings.HARVEST_REPORT_CLASS
. -
Uses of IOFailure in dk.netarkivet.harvester.indexserver
Methods in dk.netarkivet.harvester.indexserver that throw IOFailure Modifier and Type Method Description static void
LuceneUtils. makeDummyIndex(java.io.File indexLocation)
Create Dummy Lucene index.protected CrawlDataItem
CDXOriginCrawlLogIterator. parseLine(java.lang.String line)
Parse a crawl.log line into a valid CrawlDataItem. -
Uses of IOFailure in dk.netarkivet.harvester.indexserver.distribute
Methods in dk.netarkivet.harvester.indexserver.distribute that throw IOFailure Modifier and Type Method Description protected java.util.Set<java.lang.Long>
IndexRequestClient. cacheData(java.util.Set<java.lang.Long> jobSet)
This method makes sure the actual caching of underlying data is done using the index server.void
IndexRequestClient. requestIndex(java.util.Set<java.lang.Long> jobSet, java.lang.Long harvestId)
Method to request an Index without having the result sent right away. -
Uses of IOFailure in dk.netarkivet.harvester.scheduler
Methods in dk.netarkivet.harvester.scheduler that throw IOFailure Modifier and Type Method Description void
JobDispatcher. doOneCrawl(Job job, java.lang.String origHarvestName, java.lang.String origHarvestDesc, java.lang.String origHarvestSchedule, HarvestChannel channel, java.lang.String origHarvestAudience, java.util.List<MetadataEntry> metadata)
Submit an doOneCrawl request to a HarvestControllerServer. -
Uses of IOFailure in dk.netarkivet.harvester.tools.dummy
Methods in dk.netarkivet.harvester.tools.dummy that throw IOFailure Modifier and Type Method Description static FaultyHarvestControllerServer
FaultyHarvestControllerServer. getInstance()
Returns or creates the unique instance of this singleton.void
FaultyHarvestControllerServer. visit(DoOneCrawlMessage msg)
Here we receives a DoOneCrawlMessage, waits 10 minutes, and then fails the job. -
Uses of IOFailure in dk.netarkivet.testutils
Methods in dk.netarkivet.testutils that throw IOFailure Modifier and Type Method Description static java.lang.String
TestFileUtils. compareDirsText(java.io.File fstDir, java.io.File sndDir)
Compares the content of two directories and report all differences in the returned text string.static void
TestFileUtils. copyDirectoryNonCVS(java.io.File from, java.io.File to)
Copy an entire directory from one location to another, skipping CVS directories.
-