Uses of Class
dk.netarkivet.common.exceptions.IllegalState
-
Packages that use IllegalState 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. -
-
Uses of IllegalState in dk.netarkivet.archive.arcrepository
Methods in dk.netarkivet.archive.arcrepository that throw IllegalState Modifier and Type Method Description static ArcRepository
ArcRepository. getInstance()
Returns the unique ArcRepository instance.Constructors in dk.netarkivet.archive.arcrepository that throw IllegalState Constructor Description ArcRepository()
Constructor for the ArcRepository. -
Uses of IllegalState in dk.netarkivet.archive.arcrepository.bitpreservation
Methods in dk.netarkivet.archive.arcrepository.bitpreservation that throw IllegalState Modifier and Type Method Description java.lang.Iterable<java.lang.String>
FileBasedActiveBitPreservation. getChangedFiles(Replica bitarchive)
Deprecated.Get a list of corrupt files in a given bitarchive.java.lang.Iterable<java.lang.String>
FileBasedActiveBitPreservation. getMissingFiles(Replica replica)
Deprecated.Get a list of missing files in a given 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 IllegalState in dk.netarkivet.archive.arcrepositoryadmin
Methods in dk.netarkivet.archive.arcrepositoryadmin that throw IllegalState Modifier and Type Method Description void
ReplicaCacheDatabase. changeStateOfReplicafileinfo(java.lang.String filename, java.lang.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, java.sql.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(java.lang.String filename)
Checks whether a file is already in the file table in the database.protected static boolean
ReplicaCacheHelpers. existsReplicaFileInfoInDB(long fileid, java.lang.String replicaID, java.sql.Connection con)
Method for checking whether a replicafileinfo is in the database.protected static long
ReplicaCacheHelpers. insertFileIntoDB(java.lang.String filename, java.sql.Connection connection)
Method to create a new entry in the file table in the database.void
ReplicaCacheDatabase. insertNewFileForUpload(java.lang.String filename, java.lang.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(java.lang.String filename, java.lang.String checksum)
Sets the checksum of a given file. -
Uses of IllegalState in dk.netarkivet.archive.checksum
Methods in dk.netarkivet.archive.checksum that throw IllegalState Modifier and Type Method Description 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.void
FileChecksumArchive. upload(RemoteFile file, java.lang.String filename)
The method for uploading a file to the archive.void
FileChecksumArchive. upload(java.lang.String checksum, java.lang.String filename)
-
Uses of IllegalState in dk.netarkivet.archive.checksum.distribute
Methods in dk.netarkivet.archive.checksum.distribute that throw IllegalState Modifier and Type Method 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. -
Uses of IllegalState in dk.netarkivet.archive.webinterface
Methods in dk.netarkivet.archive.webinterface that throw IllegalState Modifier and Type Method Description static void
BatchGUI. getPageForClass(javax.servlet.jsp.PageContext context)
Method for creating the page for a batchjob. -
Uses of IllegalState in dk.netarkivet.common.distribute
Methods in dk.netarkivet.common.distribute that throw IllegalState Modifier and Type Method 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. -
Uses of IllegalState in dk.netarkivet.common.distribute.arcrepository
Methods in dk.netarkivet.common.distribute.arcrepository that throw IllegalState Modifier and Type Method Description void
BatchStatus. appendResults(java.io.OutputStream stream)
Append the results of a batch job into a stream.void
BatchStatus. copyResults(java.io.File targetFile)
Copy the results of a batch job into a local file. -
Uses of IllegalState in dk.netarkivet.deploy
Methods in dk.netarkivet.deploy that throw IllegalState Modifier and Type Method Description protected java.lang.String
Machine. getHeritrixLogin()
For finding the jmxUsernames and jmxPasswords under the harvest.harvesting.heritrix branch under in the settings.protected java.lang.String
Machine. getMonitorLogin()
For finding the jmxUsernames and jmxPasswords under the monitor branch in the settings.protected java.lang.String
Machine. getMonitorUsername()
For retrieving the monitor username for the jmxremote.access file. -
Uses of IllegalState in dk.netarkivet.harvester.indexserver.distribute
Methods in dk.netarkivet.harvester.indexserver.distribute that throw IllegalState 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.RemoteFile
IndexRequestMessage. getResultFile()
The index over the requested jobs.java.util.List<RemoteFile>
IndexRequestMessage. getResultFiles()
Returns the list of result files for the requested jobs.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.void
IndexRequestMessage. setResultFile(RemoteFile resultFile)
On reply, set remote file containing index of requested jobs.void
IndexRequestMessage. setResultFiles(java.util.List<RemoteFile> resultFiles)
Set several result files making up an index of requested jobs. -
Uses of IllegalState in dk.netarkivet.wayback.indexer
Methods in dk.netarkivet.wayback.indexer that throw IllegalState Modifier and Type Method Description void
ArchiveFile. index()
Indexes this file by either running a hadoop job or a batch job, depending on settings.
-