|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exist.cluster.ClusterComunication
Manage the Cluster communication via RPC JGroups Created by Nicola Breda.
Field Summary | |
static java.lang.String |
DEFAULT_PROTOCOL_STACK
|
Method Summary | |
void |
addCollection(java.lang.String parent,
java.lang.String collectionName)
|
void |
block()
|
static void |
configure(Configuration c)
Configure the cluster communication |
org.jgroups.Address |
getAddress()
|
Configuration |
getConfiguration()
|
java.util.HashMap |
getConsoleInfos(java.util.Vector address)
|
ConsoleInfo |
getConsoleProperties()
|
org.jgroups.Address |
getCoordinator()
|
static java.lang.String |
getDbaPwd()
|
static java.lang.String |
getDbaUser()
|
int[][] |
getHeaders()
|
static ClusterComunication |
getInstance()
********** --------------------------------------------------------- ********** |
java.util.Vector |
getMembersNoCoordinator()
|
int[] |
getNextDataRemote(java.lang.String address)
|
java.util.ArrayList |
getNextEvents(int[] header,
int[] myHeader,
java.lang.Integer start)
|
int[] |
getRemoteHeader()
|
void |
invoke(ClusterEvent event)
|
boolean |
isCoordinator()
************** --------- CONSOLE METHODS ---------- ******************************* |
void |
removeCollection(java.lang.String parent,
java.lang.String collection)
|
void |
removeDocument(java.lang.String collection,
java.lang.String documentName)
|
void |
stop()
|
void |
storeDocument(java.lang.String collection,
java.lang.String documentName,
java.lang.String content)
|
void |
suspect(org.jgroups.Address address)
|
void |
synch()
|
void |
update(java.lang.String resource,
java.lang.String name,
java.lang.String xupdate)
|
void |
viewAccepted(org.jgroups.View view)
---------------- MEMBERSHIP LISTENER METHODS ------------------------------ **** |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String DEFAULT_PROTOCOL_STACK
Method Detail |
public static java.lang.String getDbaUser()
public static java.lang.String getDbaPwd()
public void viewAccepted(org.jgroups.View view)
viewAccepted
in interface org.jgroups.MembershipListener
public void suspect(org.jgroups.Address address)
suspect
in interface org.jgroups.MembershipListener
public void block()
block
in interface org.jgroups.MembershipListener
public static ClusterComunication getInstance()
public boolean isCoordinator()
public org.jgroups.Address getCoordinator()
public org.jgroups.Address getAddress()
public java.util.Vector getMembersNoCoordinator()
public java.util.HashMap getConsoleInfos(java.util.Vector address)
public int[][] getHeaders() throws ClusterException
ClusterException
public Configuration getConfiguration()
public static void configure(Configuration c) throws ClusterException
c
-
ClusterException
public void synch() throws ClusterException
ClusterException
public void removeDocument(java.lang.String collection, java.lang.String documentName) throws ClusterException
ClusterException
public void storeDocument(java.lang.String collection, java.lang.String documentName, java.lang.String content) throws ClusterException
ClusterException
public void addCollection(java.lang.String parent, java.lang.String collectionName) throws ClusterException
ClusterException
public void update(java.lang.String resource, java.lang.String name, java.lang.String xupdate) throws ClusterException
ClusterException
public void removeCollection(java.lang.String parent, java.lang.String collection) throws ClusterException
ClusterException
public java.util.ArrayList getNextEvents(int[] header, int[] myHeader, java.lang.Integer start)
public int[] getNextDataRemote(java.lang.String address)
public void invoke(ClusterEvent event) throws ClusterException
ClusterException
public int[] getRemoteHeader() throws ClusterException
ClusterException
public ConsoleInfo getConsoleProperties() throws ClusterException
ClusterException
public void stop()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |