DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Berkeley DB
version 4.4.20

com.sleepycat.db
Class ReplicationConfig

java.lang.Object
  extended bycom.sleepycat.db.ReplicationConfig
All Implemented Interfaces:
Cloneable

public class ReplicationConfig
extends Object
implements Cloneable

Settings that configure Berkeley DB replication. Used in the Environment.setReplicationConfig(com.sleepycat.db.ReplicationConfig, boolean) method.


Field Summary
static ReplicationConfig BULK
          The replication master should send groups of records to the clients in a single network transfer.
static ReplicationConfig DELAYCLIENT
          The client should delay synchronizing to a newly declared master (defaults to off).
static ReplicationConfig NOAUTOINIT
          The replication master should not automatically re-initialize outdated clients.
static ReplicationConfig NOWAIT
          Berkeley DB method calls that would normally block while clients are in recovery should return errors immediately.
 
Constructor Summary
protected ReplicationConfig()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BULK

public static final ReplicationConfig BULK
The replication master should send groups of records to the clients in a single network transfer.


DELAYCLIENT

public static final ReplicationConfig DELAYCLIENT
The client should delay synchronizing to a newly declared master (defaults to off). Clients configured in this way will remain unsynchronized until the application calls the Environment.syncReplication() method.


NOAUTOINIT

public static final ReplicationConfig NOAUTOINIT
The replication master should not automatically re-initialize outdated clients.


NOWAIT

public static final ReplicationConfig NOWAIT
Berkeley DB method calls that would normally block while clients are in recovery should return errors immediately.

Constructor Detail

ReplicationConfig

protected ReplicationConfig()

Berkeley DB
version 4.4.20

Copyright (c) 1996-2005 Sleepycat Software, Inc. - All rights reserved.