|
Berkeley DB version 5.0.21 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sleepycat.db.ReplicationManagerSiteInfo
public class ReplicationManagerSiteInfo
A simple wrapper class to hold information needed to define a replication site.
ReplicationManagerSiteInfo objects are returned by
Environment.getReplicationManagerSiteList
| Field Summary | |
|---|---|
ReplicationHostAddress |
addr
The replication site's address |
int |
eid
The replication site's identifier |
| Constructor Summary | |
|---|---|
ReplicationManagerSiteInfo(ReplicationHostAddress hostAddr,
int eid)
Create a ReplicationManagerSiteInfo with the given information, isConnected defaults to false. |
|
ReplicationManagerSiteInfo(ReplicationHostAddress hostAddr,
int eid,
boolean isConnected)
Create a ReplicationManagerSiteInfo with the given information. |
|
ReplicationManagerSiteInfo(ReplicationHostAddress hostAddr,
int eid,
boolean isConnected,
boolean isPeer)
Create a ReplicationManagerSiteInfo with the given information. |
|
| Method Summary | |
|---|---|
boolean |
isConnected()
The replication site is connected. |
boolean |
isPeer()
The replication site is a peer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public ReplicationHostAddress addr
public int eid
| Constructor Detail |
|---|
public ReplicationManagerSiteInfo(ReplicationHostAddress hostAddr,
int eid)
public ReplicationManagerSiteInfo(ReplicationHostAddress hostAddr,
int eid,
boolean isConnected)
public ReplicationManagerSiteInfo(ReplicationHostAddress hostAddr,
int eid,
boolean isConnected,
boolean isPeer)
| Method Detail |
|---|
public boolean isConnected()
public boolean isPeer()
|
Berkeley DB version 5.0.21 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||