
public class OSyncDatabaseTask extends OAbstractSyncDatabaseTask
ORemoteTask.RESULT_STRATEGY| Modifier and Type | Field and Description |
|---|---|
static int |
FACTORYID |
CHUNK_MAX_SIZE, DEPLOYDB, lastOperationTimestamp, randomlastLSNALL, ANY, FAST_NOLOCK, LOCK, nodeSource| Constructor and Description |
|---|
OSyncDatabaseTask() |
OSyncDatabaseTask(OLogSequenceNumber lastLSN,
long lastOperationTimestamp) |
| Modifier and Type | Method and Description |
|---|---|
protected ODistributedDatabase |
checkIfCurrentDatabaseIsNotOlder(ODistributedServerManager iManager,
String databaseName,
ODatabaseDocumentInternal database) |
Object |
execute(ODistributedRequestId requestId,
OServer iServer,
ODistributedServerManager iManager,
ODatabaseDocumentInternal database) |
void |
fromStream(DataInput in,
ORemoteTaskFactory factory) |
int |
getFactoryId() |
String |
getName() |
void |
toStream(DataOutput out) |
databaseIsOld, getDistributedTimeout, getQuorumType, getResultStrategy, isNodeOnlineRequired, onMessage, readOptionalLSN, writeOptionalLSNgetFixTask, getLastLSN, getUndoTaskcheckIsValid, getNodeSource, getPartitionKey, getSynchronousTimeout, getTotalTimeout, hasResponse, isIdempotent, isUsingDatabase, setNodeSource, toStringpublic static final int FACTORYID
public OSyncDatabaseTask()
public OSyncDatabaseTask(OLogSequenceNumber lastLSN, long lastOperationTimestamp)
public Object execute(ODistributedRequestId requestId, OServer iServer, ODistributedServerManager iManager, ODatabaseDocumentInternal database) throws Exception
execute in interface ORemoteTaskexecute in class OAbstractRemoteTaskExceptionprotected ODistributedDatabase checkIfCurrentDatabaseIsNotOlder(ODistributedServerManager iManager, String databaseName, ODatabaseDocumentInternal database)
public String getName()
getName in interface ORemoteTaskgetName in class OAbstractRemoteTaskpublic void toStream(DataOutput out) throws IOException
toStream in interface ORemoteTasktoStream in class OAbstractRemoteTaskIOExceptionpublic void fromStream(DataInput in, ORemoteTaskFactory factory) throws IOException
fromStream in interface ORemoteTaskfromStream in class OAbstractRemoteTaskIOExceptionpublic int getFactoryId()
Copyright © 2009–2025 OrientDB. All rights reserved.