public interface BootstrapManagerProvider
限定符和类型 | 方法和说明 |
---|---|
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
|
void setClusterName(java.lang.String clusterName)
void setCachePeer(JGroupsCachePeer cachePeer)
void setCacheManager(com.fr.third.net.sf.ehcache.CacheManager cacheManager)
boolean waitForCompleteBootstrap(long duration)
void setBootstrapThreads(int bootstrapThreads)
#BOOTSTRAP_MAX_THREADS
boolean isPendingBootstrapRequests()
void handleBootstrapRequest(BootstrapRequest bootstrapRequest)
void sendBootstrapResponse(JGroupEventMessage message)
void handleBootstrapComplete(JGroupEventMessage message)
JGroupEventMessage.BOOTSTRAP_COMPLETE
messagevoid handleBootstrapIncomplete(JGroupEventMessage message)
JGroupEventMessage.BOOTSTRAP_INCOMPLETE
messagevoid handleBootstrapResponse(JGroupEventMessage message)
JGroupEventMessage.BOOTSTRAP_RESPONSE
messagevoid dispose()