com.sleepycat.je.rep.impl
Class RepParams

java.lang.Object
  extended by com.sleepycat.je.rep.impl.RepParams

public class RepParams
extends Object


Field Summary
static IntConfigParam CBVLSN_PAD
           
static ConfigParam CONSISTENCY_POLICY
          Identifies the default consistency policy used by a replica.
static IntConfigParam DBTREE_CACHE_CLEAR_COUNT
           
static IntConfigParam DEFAULT_PORT
          The port used for replication.
static BooleanConfigParam DESIGNATED_PRIMARY
           
static IntConfigParam ELECTABLE_GROUP_SIZE_OVERRIDE
           
static IntConfigParam ELECTIONS_MAX_RETRIES
           
static DurationConfigParam ELECTIONS_OPEN_TIMEOUT
           
static IntConfigParam ELECTIONS_PRIMARY_RETRIES
           
static DurationConfigParam ELECTIONS_READ_TIMEOUT
           
static DurationConfigParam ENV_CONSISTENCY_TIMEOUT
           
static DurationConfigParam ENV_SETUP_TIMEOUT
          The max amount of time for the internal housekeeping: recovery, elections, syncup etc., to be accomplished when opening a new handle to an environment.
static DurationConfigParam FEEDER_TIMEOUT
           
static ConfigParam GROUP_NAME
          Names the Replication group.
static IntConfigParam HEARTBEAT_INTERVAL
           
static ConfigParam HELPER_HOSTS
           
static DurationConfigParam INSUFFICIENT_REPLICAS_TIMEOUT
           
static DurationConfigParam MAX_CLOCK_DELTA
           
static LongConfigParam MAX_MESSAGE_SIZE
          The maximum message size which will be accepted by a node (to prevent DOS attacks).
static DurationConfigParam MONITOR_OPEN_TIMEOUT
           
static DurationConfigParam MONITOR_READ_TIMEOUT
           
static ConfigParam NODE_HOST_PORT
          Names the host (or interface) and port associated with the node in the replication group, e.g.
static ConfigParam NODE_NAME
           
static IntConfigParam NODE_PRIORITY
           
static EnumConfigParam<NodeType> NODE_TYPE
           
static DurationConfigParam PRE_HEARTBEAT_TIMEOUT
          The timeout used on the feeder/replica connection before the heartbeat sequence is initiated.
static DurationConfigParam REP_GROUP_OPEN_TIMEOUT
           
static DurationConfigParam REP_GROUP_READ_TIMEOUT
           
static DurationConfigParam REP_STREAM_TIMEOUT
          The maximum amount of time the replication group guarantees preservation of the log files constituting the replication stream.
static DurationConfigParam REPLAY_TXN_LOCK_TIMEOUT
          The lock timeout for replay transactions.
static DurationConfigParam REPLICA_ACK_TIMEOUT
           
static DurationConfigParam REPLICA_TIMEOUT
           
static DurationConfigParam REPSTREAM_OPEN_TIMEOUT
           
static IntConfigParam TEST_REPLICA_DELAY
           
static IntConfigParam TXN_ROLLBACK_LIMIT
           
static IntConfigParam VLSN_LOG_CACHE_SIZE
           
static IntConfigParam VLSN_MAX_DIST
           
static IntConfigParam VLSN_MAX_MAP
           
static IntConfigParam VLSN_STRIDE
           
 
Constructor Summary
RepParams()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GROUP_NAME

public static final ConfigParam GROUP_NAME
Names the Replication group.


REP_STREAM_TIMEOUT

public static final DurationConfigParam REP_STREAM_TIMEOUT
The maximum amount of time the replication group guarantees preservation of the log files constituting the replication stream. After this period of time, nodes are free to do log cleaning and to remove log files earlier than this period. If a node has crashed and does not re-join the group within this timeout period it may need to perform a network restore operation to catch up.


REPLAY_TXN_LOCK_TIMEOUT

public static final DurationConfigParam REPLAY_TXN_LOCK_TIMEOUT
The lock timeout for replay transactions.


ENV_SETUP_TIMEOUT

public static final DurationConfigParam ENV_SETUP_TIMEOUT
The max amount of time for the internal housekeeping: recovery, elections, syncup etc., to be accomplished when opening a new handle to an environment.

This timeout does not encompass the time spent making the node consistent if it is a Replica.

Note that the default value is a rather long time, 10 hours to allow for cases where elections may take a long time when other nodes are not available, etc.


ENV_CONSISTENCY_TIMEOUT

public static final DurationConfigParam ENV_CONSISTENCY_TIMEOUT
See Also:
ReplicationConfig.ENV_CONSISTENCY_TIMEOUT

REPLICA_ACK_TIMEOUT

public static final DurationConfigParam REPLICA_ACK_TIMEOUT
See Also:
ReplicationConfig.REPLICA_ACK_TIMEOUT

INSUFFICIENT_REPLICAS_TIMEOUT

public static final DurationConfigParam INSUFFICIENT_REPLICAS_TIMEOUT
See Also:
ReplicationConfig.INSUFFICIENT_REPLICAS_TIMEOUT

MAX_MESSAGE_SIZE

public static final LongConfigParam MAX_MESSAGE_SIZE
The maximum message size which will be accepted by a node (to prevent DOS attacks). While the default shown here is 0, it dynamically calculated when the node is created and is set to the half of the environment cache size. The cache size is mutable, but changing the cache size at run time (after environment initialization) will not change the value of this parameter. If a value other than cache size / 2 is desired, this non-mutable parameter should be specified at initialization time.


CONSISTENCY_POLICY

public static final ConfigParam CONSISTENCY_POLICY
Identifies the default consistency policy used by a replica. Only two policies are meaningful as properties denoting environment level default policies: NoConsistencyRequiredPolicy and TimeConsistencyPolicy. They can be specified as: NoConsistencyRequiredPolicy or TimeConsistencyPolicy(,). For example, a time based consistency policy with a lag of 1 second and a timeout of 1 hour is denoted by the string: TimeConsistencyPolicy(1000,3600000)


DEFAULT_PORT

public static final IntConfigParam DEFAULT_PORT
The port used for replication.


NODE_HOST_PORT

public static final ConfigParam NODE_HOST_PORT
Names the host (or interface) and port associated with the node in the replication group, e.g. je.rep.nodeHostPort=foo.com:5001


NODE_NAME

public static final ConfigParam NODE_NAME

NODE_TYPE

public static final EnumConfigParam<NodeType> NODE_TYPE

NODE_PRIORITY

public static final IntConfigParam NODE_PRIORITY

DESIGNATED_PRIMARY

public static final BooleanConfigParam DESIGNATED_PRIMARY

ELECTABLE_GROUP_SIZE_OVERRIDE

public static final IntConfigParam ELECTABLE_GROUP_SIZE_OVERRIDE
See Also:
ReplicationMutableConfig.ELECTABLE_GROUP_SIZE_OVERRIDE

MAX_CLOCK_DELTA

public static final DurationConfigParam MAX_CLOCK_DELTA

HELPER_HOSTS

public static final ConfigParam HELPER_HOSTS

HEARTBEAT_INTERVAL

public static final IntConfigParam HEARTBEAT_INTERVAL

DBTREE_CACHE_CLEAR_COUNT

public static final IntConfigParam DBTREE_CACHE_CLEAR_COUNT

CBVLSN_PAD

public static final IntConfigParam CBVLSN_PAD

VLSN_STRIDE

public static final IntConfigParam VLSN_STRIDE

VLSN_MAX_MAP

public static final IntConfigParam VLSN_MAX_MAP

VLSN_MAX_DIST

public static final IntConfigParam VLSN_MAX_DIST

TEST_REPLICA_DELAY

public static final IntConfigParam TEST_REPLICA_DELAY

VLSN_LOG_CACHE_SIZE

public static final IntConfigParam VLSN_LOG_CACHE_SIZE

REPSTREAM_OPEN_TIMEOUT

public static final DurationConfigParam REPSTREAM_OPEN_TIMEOUT

ELECTIONS_OPEN_TIMEOUT

public static final DurationConfigParam ELECTIONS_OPEN_TIMEOUT

ELECTIONS_READ_TIMEOUT

public static final DurationConfigParam ELECTIONS_READ_TIMEOUT

ELECTIONS_PRIMARY_RETRIES

public static final IntConfigParam ELECTIONS_PRIMARY_RETRIES
See Also:
ReplicationConfig.ELECTIONS_PRIMARY_RETRIES

ELECTIONS_MAX_RETRIES

public static final IntConfigParam ELECTIONS_MAX_RETRIES

REP_GROUP_OPEN_TIMEOUT

public static final DurationConfigParam REP_GROUP_OPEN_TIMEOUT

REP_GROUP_READ_TIMEOUT

public static final DurationConfigParam REP_GROUP_READ_TIMEOUT

MONITOR_OPEN_TIMEOUT

public static final DurationConfigParam MONITOR_OPEN_TIMEOUT

MONITOR_READ_TIMEOUT

public static final DurationConfigParam MONITOR_READ_TIMEOUT

REPLICA_TIMEOUT

public static final DurationConfigParam REPLICA_TIMEOUT
See Also:
ReplicationConfig.REPLICA_TIMEOUT

FEEDER_TIMEOUT

public static final DurationConfigParam FEEDER_TIMEOUT
See Also:
ReplicationConfig.FEEDER_TIMEOUT

PRE_HEARTBEAT_TIMEOUT

public static final DurationConfigParam PRE_HEARTBEAT_TIMEOUT
The timeout used on the feeder/replica connection before the heartbeat sequence is initiated. The timeout is long enough to allow for the addition of a new member and the handshake to complete unimpeded. The timeout here is a minute. This config parameter is internal.


TXN_ROLLBACK_LIMIT

public static final IntConfigParam TXN_ROLLBACK_LIMIT
See Also:
ReplicationConfig.TXN_ROLLBACK_LIMIT
Constructor Detail

RepParams

public RepParams()


Copyright (c) 2004-2010 Oracle. All rights reserved.