dk.netarkivet.wayback
Class WaybackSettings

java.lang.Object
  extended by dk.netarkivet.wayback.WaybackSettings

public class WaybackSettings
extends java.lang.Object

Settings specific to the wayback module of NetarchiveSuite.


Field Summary
static java.lang.String C3P0_ACQUIRE_INCREMENT
          c3p0 is the database connection manager used by hibernate.
static java.lang.String C3P0_IDLE_PERIOD
           
static java.lang.String C3P0_MAX_SIZE
           
static java.lang.String C3P0_MAX_STATEMENTS
           
static java.lang.String C3P0_MIN_SIZE
           
static java.lang.String C3P0_TIMEOUT
           
static java.lang.String HIBERNATE_DB_DRIVER
           
static java.lang.String HIBERNATE_DB_URL
          These are the hibernate specific properties.
static java.lang.String HIBERNATE_DIALECT
           
static java.lang.String HIBERNATE_FORMAT_SQL
           
static java.lang.String HIBERNATE_HBM2DDL_AUTO
           
static java.lang.String HIBERNATE_PASSWORD
           
static java.lang.String HIBERNATE_REFLECTION_OPTIMIZER
           
static java.lang.String HIBERNATE_SHOW_SQL
           
static java.lang.String HIBERNATE_TRANSACTION_FACTORY
           
static java.lang.String HIBERNATE_USERNAME
           
static java.lang.String URL_CANONICALIZER_CLASSNAME
          Setting specifying the name of the class used to canonicalize urls.
static java.lang.String WAYBACK_AGGREGATOR_AGGREGATION_INTERVAL
          The time to between each scheduled aggregation run (in milliseconds).
static java.lang.String WAYBACK_AGGREGATOR_INPUT_DIR
          The directory the Aggregator consumes raw index files from.
static java.lang.String WAYBACK_AGGREGATOR_MAX_INTERMEDIATE_INDEX_FILE_SIZE
          The maximum size of the Intermediate index file in MB.
static java.lang.String WAYBACK_AGGREGATOR_MAX_MAIN_INDEX_FILE_SIZE
          The maximum size of the main wayback index file in MB.
static java.lang.String WAYBACK_AGGREGATOR_OUTPUT_DIR
          The directory the Aggregator places the Aggregated and sorted files into.
static java.lang.String WAYBACK_AGGREGATOR_TEMP_DIR
          The directory used by the aggregator to store temporary files.
static java.lang.String WAYBACK_BATCH_OUTPUTDIR
          The directory to which batch output is moved after a batch indexing job is successfully completed.
static java.lang.String WAYBACK_INDEX_TEMPDIR
          The directory to which batch output is written during indexing.
static java.lang.String WAYBACK_INDEXER_CONSUMER_THREADS
          The number of consumer threads to run.
static java.lang.String WAYBACK_INDEXER_INITIAL_FILES
          A file containing a list of files which have been archived and therefore do not need to be archived again.
static java.lang.String WAYBACK_INDEXER_MAXFAILEDATTEMPTS
          The maximum number of times an archive file may generate a batch error during indexing before we give up on it.
static java.lang.String WAYBACK_INDEXER_PRODUCER_DELAY
          The delay in milliseconds before the producer thread is started.
static java.lang.String WAYBACK_INDEXER_PRODUCER_INTERVAL
          The interval, in milliseconds, between successive runs of the producer thread.
static java.lang.String WAYBACK_REPLICA
          The replica to be used by the wayback indexer.
static java.lang.String WAYBACK_RESOURCESTORE_CACHE_DIR
          The cachedirectory.
static java.lang.String WAYBACK_RESOURCESTORE_CACHE_MAXFILES
          The maximum number of files in the resourcestore cache.
 
Constructor Summary
WaybackSettings()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

URL_CANONICALIZER_CLASSNAME

public static java.lang.String URL_CANONICALIZER_CLASSNAME
Setting specifying the name of the class used to canonicalize urls. This class must implement the interface org.archive.wayback.UrlCanonicalizer .


C3P0_ACQUIRE_INCREMENT

public static java.lang.String C3P0_ACQUIRE_INCREMENT
c3p0 is the database connection manager used by hibernate. See c3p0 documentation for their meaning.


C3P0_IDLE_PERIOD

public static java.lang.String C3P0_IDLE_PERIOD

C3P0_MAX_SIZE

public static java.lang.String C3P0_MAX_SIZE

C3P0_MAX_STATEMENTS

public static java.lang.String C3P0_MAX_STATEMENTS

C3P0_MIN_SIZE

public static java.lang.String C3P0_MIN_SIZE

C3P0_TIMEOUT

public static java.lang.String C3P0_TIMEOUT

HIBERNATE_DB_URL

public static java.lang.String HIBERNATE_DB_URL
These are the hibernate specific properties. See hibernate documentation for their meaning.


HIBERNATE_DB_DRIVER

public static java.lang.String HIBERNATE_DB_DRIVER

HIBERNATE_REFLECTION_OPTIMIZER

public static java.lang.String HIBERNATE_REFLECTION_OPTIMIZER

HIBERNATE_TRANSACTION_FACTORY

public static java.lang.String HIBERNATE_TRANSACTION_FACTORY

HIBERNATE_DIALECT

public static java.lang.String HIBERNATE_DIALECT

HIBERNATE_SHOW_SQL

public static java.lang.String HIBERNATE_SHOW_SQL

HIBERNATE_FORMAT_SQL

public static java.lang.String HIBERNATE_FORMAT_SQL

HIBERNATE_HBM2DDL_AUTO

public static java.lang.String HIBERNATE_HBM2DDL_AUTO

HIBERNATE_USERNAME

public static java.lang.String HIBERNATE_USERNAME

HIBERNATE_PASSWORD

public static java.lang.String HIBERNATE_PASSWORD

WAYBACK_REPLICA

public static java.lang.String WAYBACK_REPLICA
The replica to be used by the wayback indexer.


WAYBACK_INDEX_TEMPDIR

public static java.lang.String WAYBACK_INDEX_TEMPDIR
The directory to which batch output is written during indexing.


WAYBACK_BATCH_OUTPUTDIR

public static java.lang.String WAYBACK_BATCH_OUTPUTDIR
The directory to which batch output is moved after a batch indexing job is successfully completed.


WAYBACK_INDEXER_MAXFAILEDATTEMPTS

public static java.lang.String WAYBACK_INDEXER_MAXFAILEDATTEMPTS
The maximum number of times an archive file may generate a batch error during indexing before we give up on it.


WAYBACK_INDEXER_PRODUCER_DELAY

public static java.lang.String WAYBACK_INDEXER_PRODUCER_DELAY
The delay in milliseconds before the producer thread is started.


WAYBACK_INDEXER_PRODUCER_INTERVAL

public static java.lang.String WAYBACK_INDEXER_PRODUCER_INTERVAL
The interval, in milliseconds, between successive runs of the producer thread.


WAYBACK_INDEXER_CONSUMER_THREADS

public static java.lang.String WAYBACK_INDEXER_CONSUMER_THREADS
The number of consumer threads to run.


WAYBACK_INDEXER_INITIAL_FILES

public static java.lang.String WAYBACK_INDEXER_INITIAL_FILES
A file containing a list of files which have been archived and therefore do not need to be archived again. This key may be unset.


WAYBACK_AGGREGATOR_INPUT_DIR

public static java.lang.String WAYBACK_AGGREGATOR_INPUT_DIR
The directory the Aggregator consumes raw index files from.


WAYBACK_AGGREGATOR_OUTPUT_DIR

public static java.lang.String WAYBACK_AGGREGATOR_OUTPUT_DIR
The directory the Aggregator places the Aggregated and sorted files into.


WAYBACK_AGGREGATOR_TEMP_DIR

public static java.lang.String WAYBACK_AGGREGATOR_TEMP_DIR
The directory used by the aggregator to store temporary files.


WAYBACK_AGGREGATOR_AGGREGATION_INTERVAL

public static java.lang.String WAYBACK_AGGREGATOR_AGGREGATION_INTERVAL
The time to between each scheduled aggregation run (in milliseconds).


WAYBACK_AGGREGATOR_MAX_INTERMEDIATE_INDEX_FILE_SIZE

public static java.lang.String WAYBACK_AGGREGATOR_MAX_INTERMEDIATE_INDEX_FILE_SIZE
The maximum size of the Intermediate index file in MB. When this limit is reached a new index file is created and new indexes are added to this file. In the case of a 0 value, the intermediate index file will always be merged into the main index file.


WAYBACK_AGGREGATOR_MAX_MAIN_INDEX_FILE_SIZE

public static java.lang.String WAYBACK_AGGREGATOR_MAX_MAIN_INDEX_FILE_SIZE
The maximum size of the main wayback index file in MB. When this limit is reached a new index file is created and new indexes are added to this file. The old index file will be rename to ${finalIndexFileSizeLimit}.


WAYBACK_RESOURCESTORE_CACHE_MAXFILES

public static java.lang.String WAYBACK_RESOURCESTORE_CACHE_MAXFILES
The maximum number of files in the resourcestore cache. The default is 100.


WAYBACK_RESOURCESTORE_CACHE_DIR

public static java.lang.String WAYBACK_RESOURCESTORE_CACHE_DIR
The cachedirectory.

Constructor Detail

WaybackSettings

public WaybackSettings()