public interface ClusterInterface
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getClusterName()
Return the cluster name
|
ClusterNode |
getLocalNode()
Return the local node details
|
ClusterNodeList |
getNodeList()
Return the list of nodes
|
NotifyChangeHandler |
getNotifyChangeHandler()
Return the change notification handler, if configured for the filesystem
|
OpLockManager |
getOpLockManager()
Return the oplock manager
|
ClusterFileStateCache |
getStateCache()
Return the associated cluster state cache
|
ThreadRequestPool |
getThreadPool()
Return the thread pool
|
boolean |
hasDebug()
Check if debug output is enabled
|
boolean |
hasSendNotExistStates()
Check if none existent file/folder states should be sent to the cluster
|
void |
setLocalNode(ClusterNode localNode)
Set the local cluster node
|
void |
setNodeList(ClusterNodeList nodeList)
Set the cluster node list
|
void |
setNotifyChangeHandler(NotifyChangeHandler notifyHandler)
Set the change notification handler
|
void |
setOpLockManager(OpLockManager oplockMgr)
Set the oplock manager
|
void |
setSendNotExistStates(boolean notExist)
Set the send none existent file/folder states to the cluster
|
void |
shutdownCluster()
Shutdown the cluster
|
void |
startCluster()
Start the cluster
|
void startCluster() throws java.lang.Exception
java.lang.Exception
void shutdownCluster() throws java.lang.Exception
java.lang.Exception
java.lang.String getClusterName()
ClusterNodeList getNodeList()
ClusterNode getLocalNode()
ClusterFileStateCache getStateCache()
ThreadRequestPool getThreadPool()
boolean hasDebug()
boolean hasSendNotExistStates()
OpLockManager getOpLockManager()
NotifyChangeHandler getNotifyChangeHandler()
void setSendNotExistStates(boolean notExist)
notExist
- booleanvoid setOpLockManager(OpLockManager oplockMgr)
oplockMgr
- OpLockManagervoid setNotifyChangeHandler(NotifyChangeHandler notifyHandler)
notifyHandler
- NotifyChangeHandlervoid setNodeList(ClusterNodeList nodeList)
nodeList
- ClusterNodeListvoid setLocalNode(ClusterNode localNode)
localNode
- ClusterNodeCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.