org.oclc.da.gdfr.registryprototype.pvt.dbxml
Class DBXMLClusterConfig
java.lang.Object
org.oclc.da.gdfr.registryprototype.pvt.dbxml.DBXMLClusterConfig
- All Implemented Interfaces:
- com.sleepycat.db.EventHandler
public class DBXMLClusterConfig
- extends java.lang.Object
- implements com.sleepycat.db.EventHandler
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
progname
public static final java.lang.String progname
- See Also:
- Constant Field Values
configFileName
public static final java.lang.String configFileName
- See Also:
- Constant Field Values
CACHESIZE
public static final int CACHESIZE
- See Also:
- Constant Field Values
SLEEPTIME
public static final int SLEEPTIME
- See Also:
- Constant Field Values
home
public java.lang.String home
otherHosts
public java.util.Vector otherHosts
localHost
public java.lang.String localHost
sConfigFile
public java.lang.String sConfigFile
priority
public int priority
startPolicy
public com.sleepycat.db.ReplicationManagerStartPolicy startPolicy
thisHost
public com.sleepycat.db.ReplicationHostAddress thisHost
totalSites
public int totalSites
getInstance
public static DBXMLClusterConfig getInstance()
getHome
public java.io.File getHome()
setThisHost
public void setThisHost(java.lang.String host,
int port)
getThisHost
public com.sleepycat.db.ReplicationHostAddress getThisHost()
gotListenAddress
public boolean gotListenAddress()
gotCluster
public boolean gotCluster()
addOtherHost
public void addOtherHost(java.lang.String host,
int port,
boolean peer)
getFirstOtherHost
public com.sleepycat.db.ReplicationHostAddress getFirstOtherHost()
getNextOtherHost
public com.sleepycat.db.ReplicationHostAddress getNextOtherHost()
getOtherHost
public com.sleepycat.db.ReplicationHostAddress getOtherHost(int i)
handleEvent
public int handleEvent(com.sleepycat.db.EventType event)
- Specified by:
handleEvent in interface com.sleepycat.db.EventHandler
isMaster
public boolean isMaster()
Copyright © 2008 OCLC Online Computer Library Center, Inc.. All Rights Reserved.