All Methods Instance Methods Abstract Methods
| Modifier and Type |
Method and Description |
boolean |
checkNodeStatus(ODistributedServerManager.NODE_STATUS string) |
Throwable |
convertException(Throwable original) |
Serializable |
executeOnLocalNode(ODistributedRequestId reqId,
ORemoteTask task,
ODatabaseDocumentTx database) |
Set<String> |
getAvailableNodeNames(String databaseName) |
int |
getAvailableNodes(Collection<String> iNodes,
String databaseName) |
int |
getAvailableNodes(String iDatabaseName) |
ODocument |
getClusterConfiguration() |
Map<String,Object> |
getConfigurationMap() |
ODistributedConfiguration |
getDatabaseConfiguration(String iDatabaseName) |
ODistributedServerManager.DB_STATUS |
getDatabaseStatus(String iNode,
String iDatabaseName) |
long |
getLastClusterChangeOn() |
ODocument |
getLocalNodeConfiguration() |
int |
getLocalNodeId() |
String |
getLocalNodeName() |
Lock |
getLock(String iLockName)
Gets a distributed lock
|
ODistributedMessageService |
getMessageService() |
long |
getNextMessageIdCounter() |
ODocument |
getNodeConfigurationByUuid(String iNode) |
int |
getNodeIdByName(String node) |
String |
getNodeNameById(int id) |
ODistributedServerManager.NODE_STATUS |
getNodeStatus() |
ORemoteServerController |
getRemoteServer(String nodeName) |
OServer |
getServerInstance() |
ODocument |
getStats() |
ORemoteTaskFactory |
getTaskFactory() |
boolean |
isEnabled() |
boolean |
isNodeAvailable(String iNodeName) |
boolean |
isNodeAvailable(String iNodeName,
String databaseName)
Available means not OFFLINE, so ONLINE or SYNCHRONIZING.
|
boolean |
isNodeOnline(String iNodeName,
String databaseName)
Returns true if the node status is ONLINE.
|
boolean |
isOffline() |
void |
propagateSchemaChanges(ODatabaseInternal iStorage) |
ODistributedServerManager |
registerLifecycleListener(ODistributedLifecycleListener iListener) |
ODistributedResponse |
sendRequest(String iDatabaseName,
Collection<String> iClusterNames,
Collection<String> iTargetNodeNames,
ORemoteTask iTask,
long messageId,
ODistributedRequest.EXECUTION_MODE iExecutionMode,
Object localResult,
OCallable<Void,ODistributedRequestId> iAfterSentCallback)
Sends a distributed request against multiple servers.
|
void |
setDatabaseStatus(String iNode,
String iDatabaseName,
ODistributedServerManager.DB_STATUS iStatus) |
void |
setNodeStatus(ODistributedServerManager.NODE_STATUS iStatus) |
ODistributedServerManager |
unregisterLifecycleListener(ODistributedLifecycleListener iListener) |
void |
updateCachedDatabaseConfiguration(String iDatabaseName,
ODocument cfg,
boolean iSaveToDisk,
boolean iDeployToCluster) |
void |
updateLastClusterChange() |
void |
waitUntilNodeOnline() |
void |
waitUntilNodeOnline(String nodeName,
String databaseName) |