public class JGroupsBootstrapManager extends java.lang.Object implements BootstrapManagerProvider
构造器和说明 |
---|
JGroupsBootstrapManager() |
JGroupsBootstrapManager(java.lang.String clusterName,
JGroupsCachePeer cachePeer,
com.fr.third.net.sf.ehcache.CacheManager cacheManager)
Create a new bootstrap manager
|
限定符和类型 | 方法和说明 |
---|---|
void |
dispose()
Shutdown resources uses by the bootstrap managed.
|
void |
handleBootstrapComplete(JGroupEventMessage message)
Handle a
JGroupEventMessage.BOOTSTRAP_COMPLETE message |
void |
handleBootstrapIncomplete(JGroupEventMessage message)
Handle a
JGroupEventMessage.BOOTSTRAP_INCOMPLETE message |
void |
handleBootstrapRequest(BootstrapRequest bootstrapRequest)
Handle a bootstrap request for a cache
|
void |
handleBootstrapResponse(JGroupEventMessage message)
Handle a
JGroupEventMessage.BOOTSTRAP_RESPONSE message |
boolean |
isPendingBootstrapRequests() |
void |
sendBootstrapResponse(JGroupEventMessage message)
Handles responding to a bootstrap request
|
void |
setBootstrapThreads(int bootstrapThreads)
Set the maximum number of threads to use in the bootstrap pool.
|
void |
setCacheManager(com.fr.third.net.sf.ehcache.CacheManager cacheManager) |
void |
setCachePeer(JGroupsCachePeer cachePeer) |
void |
setClusterName(java.lang.String clusterName) |
boolean |
waitForCompleteBootstrap(long duration)
Wait until the bootstrap process is complete
|
public JGroupsBootstrapManager(java.lang.String clusterName, JGroupsCachePeer cachePeer, com.fr.third.net.sf.ehcache.CacheManager cacheManager)
public JGroupsBootstrapManager()
public void setClusterName(java.lang.String clusterName)
setClusterName
在接口中 BootstrapManagerProvider
public void setCachePeer(JGroupsCachePeer cachePeer)
setCachePeer
在接口中 BootstrapManagerProvider
public void setCacheManager(com.fr.third.net.sf.ehcache.CacheManager cacheManager)
setCacheManager
在接口中 BootstrapManagerProvider
public boolean waitForCompleteBootstrap(long duration)
public void dispose()
dispose
在接口中 BootstrapManagerProvider
public void setBootstrapThreads(int bootstrapThreads)
BOOTSTRAP_MAX_THREADS
setBootstrapThreads
在接口中 BootstrapManagerProvider
public boolean isPendingBootstrapRequests()
isPendingBootstrapRequests
在接口中 BootstrapManagerProvider
public void handleBootstrapRequest(BootstrapRequest bootstrapRequest)
public void sendBootstrapResponse(JGroupEventMessage message)
public void handleBootstrapComplete(JGroupEventMessage message)
JGroupEventMessage.BOOTSTRAP_COMPLETE
messagepublic void handleBootstrapIncomplete(JGroupEventMessage message)
JGroupEventMessage.BOOTSTRAP_INCOMPLETE
messagepublic void handleBootstrapResponse(JGroupEventMessage message)
JGroupEventMessage.BOOTSTRAP_RESPONSE
message