Uses of Class
dk.netarkivet.common.distribute.arcrepository.ReplicaStoreState
-
-
Uses of ReplicaStoreState in dk.netarkivet.archive.arcrepository.bitpreservation
Methods in dk.netarkivet.archive.arcrepository.bitpreservation that return ReplicaStoreState Modifier and Type Method Description ReplicaStoreState
AdminDataMessage. getNewvalue()
Constructors in dk.netarkivet.archive.arcrepository.bitpreservation with parameters of type ReplicaStoreState Constructor Description AdminDataMessage(String theFileName, String theReplicaId, ReplicaStoreState newval)
Constructor used when you change the BitarchiveStoreState. -
Uses of ReplicaStoreState in dk.netarkivet.archive.arcrepository.distribute
Methods in dk.netarkivet.archive.arcrepository.distribute with parameters of type ReplicaStoreState Modifier and Type Method Description void
BitmagArcRepositoryClient. updateAdminData(String fileName, String replicaId, ReplicaStoreState newval)
Not implemented.void
JMSArcRepositoryClient. updateAdminData(String fileName, String replicaId, ReplicaStoreState newval)
Request update of admin data to specific state. -
Uses of ReplicaStoreState in dk.netarkivet.archive.arcrepositoryadmin
Methods in dk.netarkivet.archive.arcrepositoryadmin that return ReplicaStoreState Modifier and Type Method Description ReplicaStoreState
ReplicaCacheDatabase. getReplicaStoreState(String filename, String replicaId)
Retrieves the ReplicaStoreState for the entry in the replicafileinfo table, which refers to the given file and replica.ReplicaStoreState
Admin. getState(String filename, String replicaChannelName)
Returns the ReplicaStoreState of a given file in a specific replica.ReplicaStoreState
AdminData. getState(String arcfileName, String replicaChannelName)
Deprecated.Retrieves the storage state of a file for a specific replica.ReplicaStoreState
ArchiveStoreState. getState()
Return the current BitArchiveStoreState.ReplicaStoreState
DatabaseAdmin. getState(String filename, String replicaChannelName)
Returns the ReplicaStoreState of a given file in a specific replica.ReplicaStoreState
ArcRepositoryEntry. getStoreState(String baId)
Get the StoreState for this entry for a given bitarchive or null if none.ReplicaStoreState
ReplicaFileInfo. getUploadState()
Retrieves the uploadState.protected static ReplicaStoreState
ReplicaCacheHelpers. retrieveUploadStatus(long fileGuid, String repId, Connection con)
Retrieves the UploadStatus for a specific entry in the replicafileinfo table identified by the file guid and the replica id.Methods in dk.netarkivet.archive.arcrepositoryadmin with parameters of type ReplicaStoreState Modifier and Type Method Description void
ReplicaCacheDatabase. changeStateOfReplicafileinfo(String filename, Replica replica, ReplicaStoreState state)
Method for inserting an entry into the database about a file upload has begun for a specific replica.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.Set<String>
Admin. getAllFileNames(Replica rep, ReplicaStoreState state)
Retrieves a set with the name of the files with a specific ReplicaStoreState in a specific replica.Set<String>
AdminData. getAllFileNames(Replica replica, ReplicaStoreState state)
Deprecated.Returns a set of the arcfile names that are in a given state for a specific bitarchive in the repository.Set<String>
DatabaseAdmin. getAllFileNames(Replica rep, ReplicaStoreState state)
Retrieves a set with the name of the files with a specific ReplicaStoreState in a specific replica.Collection<String>
ReplicaCacheDatabase. retrieveFilenamesForReplicaEntries(String replicaId, ReplicaStoreState state)
Retrieves the names of all the files in the given replica which has the specified UploadStatus.void
ReplicaCacheDatabase. setReplicaStoreState(String filename, String replicaId, ReplicaStoreState state)
Sets the ReplicaStoreState for the entry in the replicafileinfo table.void
Admin. setState(String filename, String repChannelId, ReplicaStoreState state)
Sets the store state of an entry to a specific value.void
ArchiveStoreState. setState(ReplicaStoreState state)
Sets the current ReplicaStoreState.void
ArchiveStoreState. setState(ReplicaStoreState state, Date lastDate)
Sets the current ReplicaStoreState.void
DatabaseAdmin. setState(String filename, String repChannelId, ReplicaStoreState state)
Sets the store state of an entry to a specific value.void
UpdateableAdminData. setState(String fileName, String replicaID, ReplicaStoreState state)
Deprecated.Sets the store state for the given file on the given bitarchive.protected static void
ReplicaCacheHelpers. updateReplicaFileInfo(long replicafileinfoGuid, String checksum, ReplicaStoreState state, Connection con)
Method for updating an entry in the replicafileinfo table.protected static void
ReplicaCacheHelpers. updateReplicaFileInfo(long replicafileinfoGuid, String checksum, Date date, ReplicaStoreState state, Connection con)
Method for updating an entry in the replicafileinfo table.Constructors in dk.netarkivet.archive.arcrepositoryadmin with parameters of type ReplicaStoreState Constructor Description ArchiveStoreState(ReplicaStoreState storestate)
Constructor for this class.ArchiveStoreState(ReplicaStoreState storestate, Date lastchanged)
Constructor for this class. -
Uses of ReplicaStoreState in dk.netarkivet.common.arcrepository
Methods in dk.netarkivet.common.arcrepository with parameters of type ReplicaStoreState Modifier and Type Method Description void
TrivialArcRepositoryClient. updateAdminData(String fileName, String bitarchiveId, ReplicaStoreState newval)
Updates the administrative data in the ArcRepository for a given file and replica. -
Uses of ReplicaStoreState in dk.netarkivet.common.distribute.arcrepository
Methods in dk.netarkivet.common.distribute.arcrepository that return ReplicaStoreState Modifier and Type Method Description static ReplicaStoreState
ReplicaStoreState. fromOrdinal(int ordinal)
static ReplicaStoreState
ReplicaStoreState. valueOf(String name)
Returns the enum constant of this type with the specified name.static ReplicaStoreState[]
ReplicaStoreState. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in dk.netarkivet.common.distribute.arcrepository with parameters of type ReplicaStoreState Modifier and Type Method Description void
ArcRepositoryClient. updateAdminData(String fileName, String bitarchiveId, ReplicaStoreState newval)
Deprecated.void
LocalArcRepositoryClient. updateAdminData(String fileName, String bitarchiveId, ReplicaStoreState newval)
Updates the administrative data in the ArcRepository for a given file and replica.void
PreservationArcRepositoryClient. updateAdminData(String fileName, String replicaId, ReplicaStoreState newval)
Deprecated.
-