public class ArchiveSettings extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ADMIN_CLASS
settings.archive.admin.class:
The path to the settings for the adminstration instance class. |
static 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 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 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 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 String |
BITARCHIVE_HEARTBEAT_FREQUENCY
settings.archive.bitarchive.heartbeatFrequency:
The frequency in milliseconds of heartbeats that are sent by each BitarchiveServer to the BitarchiveMonitor. |
static 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 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 String |
BITARCHIVE_SERVER_FILEDIR
settings.archive.bitarchive.baseFileDir:
These are the directories where ARC files are stored (in a subdir). |
static String |
CHECKSUM_ARCHIVE_CLASS
settings.archive.checksum.class This decides how to store the checksums, in file, og BDB database.
|
static String |
CHECKSUM_BASEDIR
settings.archive.checksum.baseDir:
The directory for the checksum file. |
static 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 String |
CHECKSUM_USE_PRECOMPUTED_CHECKSUM_DURING_UPLOAD
settings.archive.checksum.usePrecomputedChecksum: This decides whether or not use the pre-computed checksum sent as part of the StoreMessage and UploadMessage
The default is false
|
static 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 String |
CLASS_ARCREPOSITORY_BITPRESERVATION
settings.archive.bitpreservation.class:
Setting for which instance of ActiveBitPreservation that should be used for preservation. |
static 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 String |
DB_PASSWORD
The password name for login to the admin database.Default values is empty (no password passed to database
connection).
|
static String |
DB_POOL_ACQ_INC
settings.archive.admin.database.pool.acquireInc:
Configure the increment size DB connection pool. |
static 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 String |
DB_POOL_IDLE_CONN_TEST_PERIOD
settings.archive.admin.database.pool.idleConnTestPeriod:
Configure idle connection testing period in seconds. |
static 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 String |
DB_POOL_MAX_SIZE
settings.archive.admin.database.pool.maxSize:
Configure the maximum size of the DB connection pool. |
static 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 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 String |
DB_POOL_MIN_SIZE
settings.archive.admin.database.pool.minSize:
Configure the minimum size of the DB connection pool. |
static String |
DB_USERNAME
The user name for login to the admin database.
|
static 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 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 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 String |
ENVIRONMENT_THIS_CREDENTIALS
settings.archive.bitarchive.thisCredentials:
Credentials to enter in the GUI for "deleting" ARC files in this bit archive. |
static 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 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 String |
RECONNECT_DELAY_ADMIN_DATABASE
settings.archive.admin.database.reconnectRetryDelay:
Settings for the delay between the attempts to reconnect to the admin database. |
static 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 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 and Description |
---|
ArchiveSettings() |
public static String DIRS_ARCREPOSITORY_ADMIN
public static String ARCREPOSITORY_UPLOAD_RETRIES
public static String BITARCHIVE_MIN_SPACE_LEFT
public static String BITARCHIVE_MIN_SPACE_REQUIRED
public static String BITARCHIVE_SERVER_FILEDIR
public static String BITARCHIVE_HEARTBEAT_FREQUENCY
public static String BITARCHIVE_ACCEPTABLE_HEARTBEAT_DELAY
public static String BITARCHIVE_BATCH_JOB_TIMEOUT
public static String ENVIRONMENT_THIS_CREDENTIALS
public static String DIR_ARCREPOSITORY_BITPRESERVATION
public static String ADMIN_CLASS
public static String BASEURL_ARCREPOSITORY_ADMIN_DATABASE
If a specific url is wanted, and not constructed from the 4 different parts, just assign the entire URL to this setting and set the other settings to the empty string.
public static String MACHINE_ARCREPOSITORY_ADMIN_DATABASE
public static String PORT_ARCREPOSITORY_ADMIN_DATABASE
public static String DIR_ARCREPOSITORY_ADMIN_DATABASE
public static String CLASS_ARCREPOSITORY_ADMIN_DATABASE
public static String RECONNECT_MAX_TRIES_ADMIN_DATABASE
public static String RECONNECT_DELAY_ADMIN_DATABASE
public static String DB_CONN_VALID_CHECK_TIMEOUT
public static String DB_POOL_MIN_SIZE
public static String DB_POOL_MAX_SIZE
public static String DB_POOL_ACQ_INC
public static 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 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 String DB_POOL_IDLE_CONN_TEST_PERIOD
public static String DB_POOL_IDLE_CONN_TEST_ON_CHECKIN
public static String DB_POOL_IDLE_CONN_TEST_QUERY
public static String DB_USERNAME
public static String DB_PASSWORD
public static String CLASS_ARCREPOSITORY_BITPRESERVATION
public static String CHECKSUM_BASEDIR
public static String CHECKSUM_MIN_SPACE_LEFT
public static String CHECKSUM_ARCHIVE_CLASS
public static String CHECKSUM_USE_PRECOMPUTED_CHECKSUM_DURING_UPLOAD
public static String SINGLE_CHECKSUM_TIMEOUT
public ArchiveSettings()
Copyright © 2005–2016 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.