public interface ODistributedDatabase
String getDatabaseName()
ODistributedResponse send2Nodes(ODistributedRequest iRequest, Collection<String> iClusterNames, Collection<String> iNodes, ODistributedRequest.EXECUTION_MODE iExecutionMode, Object localResult, OCallable<Void,ODistributedRequestId> iAfterSentCallback, OCallable<Void,ODistributedResponseManager> endCallback)
void setOnline()
String dump()
void unlockResourcesOfServer(ODatabaseDocumentInternal database, String serverName)
void handleUnreachableNode(String nodeName)
nodeName
- node idODistributedSyncConfiguration getSyncConfiguration()
void waitForOnline()
void reEnqueue(int senderNodeId, long msgSequence, String databaseName, ORemoteTask payload, int retryCount, int autoRetryDelay)
void processRequest(ODistributedRequest request, boolean waitForAcceptingRequests)
Optional<OTransactionId> validate(OTransactionId id)
Optional<OTransactionSequenceStatus> status()
void rollback(OTransactionId id)
OTxMetadataHolder commit(OTransactionId id)
ODistributedTxContext registerTxContext(ODistributedRequestId reqId, ODistributedTxContext ctx)
ODistributedTxContext popTxContext(ODistributedRequestId requestId)
ODistributedTxContext getTxContext(ODistributedRequestId requestId)
ODistributedServerManager getManager()
ODatabaseDocumentInternal getDatabaseInstance()
long getReceivedRequests()
long getProcessedRequests()
void checkNodeInConfiguration(ODistributedConfiguration cfg, String serverName)
void setLSN(String sourceNodeName, OLogSequenceNumber taskLastLSN, boolean writeLastOperation) throws IOException
IOException
Optional<OTransactionId> nextId()
List<OTransactionId> missingTransactions(OTransactionSequenceStatus lastState)
void validateStatus(OTransactionSequenceStatus status)
void checkReverseSync(OTransactionSequenceStatus lastState)
Copyright © 2009–2020 OrientDB. All rights reserved.