|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdk.netarkivet.archive.ArchiveSettings
public class ArchiveSettings
Settings specific to the archive module of NetarchiveSuite.
Field Summary | |
---|---|
static java.lang.String |
ADMIN_CLASS
settings.archive.admin.class: The path to the settings for the adminstration instance class. |
static java.lang.String |
ARCREPOSITORY_UPLOAD_RETRIES
settings.archive.arcrepository.uploadRetries: The maximum number of times an arc file is attempted uploaded if the initial upload fails. |
static java.lang.String |
BASEURL_ARCREPOSITORY_ADMIN_DATABASE
settings.archive.admin.database.baseUrl: Setting for giving the base URL to the database used by the ReplicaCacheDatabase class. |
static java.lang.String |
BITARCHIVE_ACCEPTABLE_HEARTBEAT_DELAY
settings.archive.bitarchive.acceptableHeartbeatDelay: If we haven't heard from a bit archive within this many milliseconds, we don't expect it to be online and won't wait for them to reply on a batch job. |
static java.lang.String |
BITARCHIVE_BATCH_JOB_TIMEOUT
settings.archive.bitarchive.batchMessageTimeout: The BitarchiveMonitorServer will listen for BatchEndedMessages for this many milliseconds before it decides that a batch job is taking too long and returns just the replies it has received at that point. |
static java.lang.String |
BITARCHIVE_HEARTBEAT_FREQUENCY
settings.archive.bitarchive.heartbeatFrequency: The frequency in milliseconds of heartbeats that are sent by each BitarchiveServer to the BitarchiveMonitor. |
static java.lang.String |
BITARCHIVE_MIN_SPACE_LEFT
settings.archive.bitarchive.minSpaceLeft: The minimum amount of bytes left *in any dir* that we will allow a bitarchive machine to accept uploads with. |
static java.lang.String |
BITARCHIVE_MIN_SPACE_REQUIRED
settings.archive.bitarchive.minSpaceRequired: The minimum amount of bytes required left *in all dirs* after we have accepted an upload. |
static java.lang.String |
BITARCHIVE_SERVER_FILEDIR
settings.archive.bitarchive.baseFileDir: These are the directories where ARC files are stored (in a subdir). |
static java.lang.String |
CHECKSUM_ARCHIVE_CLASS
settings.archive.checksum.class This decides how to store the checksums, in file, og BDB database. |
static java.lang.String |
CHECKSUM_BASEDIR
settings.archive.checksum.baseDir: The directory for the checksum file. |
static java.lang.String |
CHECKSUM_MIN_SPACE_LEFT
settings.archive.checksum.minSpaceLeft: The path to the settings for the minimum amount of space left for the checksum archive to receive new upload messages. |
static java.lang.String |
CLASS_ARCREPOSITORY_ADMIN_DATABASE
settings.archive.admin.database.class: Setting for which class is used for handling the database for the DatabaseBasedActiveBitPreservation class. |
static java.lang.String |
CLASS_ARCREPOSITORY_BITPRESERVATION
settings.archive.bitpreservation.class: Setting for which instance of ActiveBitPreservation that should be used for preservation. |
static java.lang.String |
DB_CONN_VALID_CHECK_TIMEOUT
settings.archive.admin.database.validityCheckTimeout: Timeout in seconds to check for the validity of a JDBC connection on the server. |
static java.lang.String |
DB_PASSWORD
The password name for login to the admin database.Default values is empty (no password passed to database connection). |
static java.lang.String |
DB_POOL_ACQ_INC
settings.archive.admin.database.pool.acquireInc: Configure the increment size DB connection pool. |
static java.lang.String |
DB_POOL_IDLE_CONN_TEST_ON_CHECKIN
settings.archive.admin.database.pool.idleConnTestOnCheckin: Configure if a connection validity should be checked when returned to the pool. |
static java.lang.String |
DB_POOL_IDLE_CONN_TEST_PERIOD
settings.archive.admin.database.pool.idleConnTestPeriod: Configure idle connection testing period in seconds. |
static java.lang.String |
DB_POOL_IDLE_CONN_TEST_QUERY
settings.archive.admin.database.pool.idleConnTestQuery: The SQL query to be used when testing an idle connection. |
static java.lang.String |
DB_POOL_MAX_SIZE
settings.archive.admin.database.pool.maxSize: Configure the maximum size of the DB connection pool. |
static java.lang.String |
DB_POOL_MAX_STM
settings.archive.admin.database.pool.maxStm: Configure statement pooling, by setting the global maximum number of pooled prepared statements for a data source. |
static java.lang.String |
DB_POOL_MAX_STM_PER_CONN
settings.archive.admin.database.pool.maxStmPerConn: Configure statement pooling, by setting the global maximum number of pooled prepared statements for a data source. |
static java.lang.String |
DB_POOL_MIN_SIZE
settings.archive.admin.database.pool.minSize: Configure the minimum size of the DB connection pool. |
static java.lang.String |
DB_USERNAME
The user name for login to the admin database. |
static java.lang.String |
DIR_ARCREPOSITORY_ADMIN_DATABASE
settings.archive.admin.database.dir: Setting for giving the machine of the external database used by the ReplicaCacheDatabase class. |
static java.lang.String |
DIR_ARCREPOSITORY_BITPRESERVATION
settings.archive.bitpreservation.baseDir: Absolute or relative path to dir containing results of file-list-batch-jobs and checksumming batch jobs for bit preservation. |
static java.lang.String |
DIRS_ARCREPOSITORY_ADMIN
settings.archive.arcrepository.baseDir: Absolute/relative path to where the "central list of files and checksums" (admin.data) is written. |
static java.lang.String |
ENVIRONMENT_THIS_CREDENTIALS
settings.archive.bitarchive.thisCredentials: Credentials to enter in the GUI for "deleting" ARC files in this bit archive. |
static java.lang.String |
MACHINE_ARCREPOSITORY_ADMIN_DATABASE
settings.archive.admin.database.machine: Setting for giving the machine of the external database used by the ReplicaCacheDatabase class. |
static java.lang.String |
PORT_ARCREPOSITORY_ADMIN_DATABASE
settings.archive.admin.database.port: Setting for giving the port of the external database used by the ReplicaCacheDatabase class. |
static java.lang.String |
RECONNECT_DELAY_ADMIN_DATABASE
settings.archive.admin.database.reconnectRetryDelay: Settings for the delay between the attempts to reconnect to the admin database. |
static java.lang.String |
RECONNECT_MAX_TRIES_ADMIN_DATABASE
settings.archive.admin.database.reconnectMaxRetries: Setting for the maximum number of attempts to reconnect to the admin database. |
static java.lang.String |
SINGLE_CHECKSUM_TIMEOUT
settings.archive.bitarchive.singleChecksumTimeout: The path to the settings for the maximum time usage for the calculation of the checksum for a single file. |
Constructor Summary | |
---|---|
ArchiveSettings()
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String DIRS_ARCREPOSITORY_ADMIN
public static java.lang.String ARCREPOSITORY_UPLOAD_RETRIES
public static java.lang.String BITARCHIVE_MIN_SPACE_LEFT
public static java.lang.String BITARCHIVE_MIN_SPACE_REQUIRED
public static java.lang.String BITARCHIVE_SERVER_FILEDIR
public static java.lang.String BITARCHIVE_HEARTBEAT_FREQUENCY
public static java.lang.String BITARCHIVE_ACCEPTABLE_HEARTBEAT_DELAY
public static java.lang.String BITARCHIVE_BATCH_JOB_TIMEOUT
public static java.lang.String ENVIRONMENT_THIS_CREDENTIALS
public static java.lang.String DIR_ARCREPOSITORY_BITPRESERVATION
public static java.lang.String ADMIN_CLASS
public static java.lang.String BASEURL_ARCREPOSITORY_ADMIN_DATABASE
public static java.lang.String MACHINE_ARCREPOSITORY_ADMIN_DATABASE
public static java.lang.String PORT_ARCREPOSITORY_ADMIN_DATABASE
public static java.lang.String DIR_ARCREPOSITORY_ADMIN_DATABASE
public static java.lang.String CLASS_ARCREPOSITORY_ADMIN_DATABASE
public static java.lang.String RECONNECT_MAX_TRIES_ADMIN_DATABASE
public static java.lang.String RECONNECT_DELAY_ADMIN_DATABASE
public static java.lang.String DB_CONN_VALID_CHECK_TIMEOUT
Connection.isValid(int)
public static java.lang.String DB_POOL_MIN_SIZE
public static java.lang.String DB_POOL_MAX_SIZE
public static java.lang.String DB_POOL_ACQ_INC
public static java.lang.String DB_POOL_MAX_STM
DB_POOL_MAX_STM
and
DB_POOL_MAX_STM_PER_CONN
are set to zero, statement pooling is
fully deactivated.
public static java.lang.String DB_POOL_MAX_STM_PER_CONN
DB_POOL_MAX_STM
and
DB_POOL_MAX_STM_PER_CONN
are set to zero, statement pooling is
fully deactivated.
public static java.lang.String DB_POOL_IDLE_CONN_TEST_PERIOD
public static java.lang.String DB_POOL_IDLE_CONN_TEST_ON_CHECKIN
public static java.lang.String DB_POOL_IDLE_CONN_TEST_QUERY
public static java.lang.String DB_USERNAME
public static java.lang.String DB_PASSWORD
public static java.lang.String CLASS_ARCREPOSITORY_BITPRESERVATION
public static java.lang.String CHECKSUM_BASEDIR
public static java.lang.String CHECKSUM_MIN_SPACE_LEFT
public static java.lang.String CHECKSUM_ARCHIVE_CLASS
public static java.lang.String SINGLE_CHECKSUM_TIMEOUT
Constructor Detail |
---|
public ArchiveSettings()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |