
public abstract class OAbstractSyncDatabaseTask extends OAbstractReplicatedTask implements com.orientechnologies.orient.core.command.OCommandOutputListener
ORemoteTask.RESULT_STRATEGY| Modifier and Type | Field and Description |
|---|---|
static int |
CHUNK_MAX_SIZE |
static String |
DEPLOYDB |
static int |
FACTORYID |
protected long |
lastOperationTimestamp |
protected long |
random |
lastLSNALL, ANY, nodeSource| Modifier | Constructor and Description |
|---|---|
|
OAbstractSyncDatabaseTask() |
protected |
OAbstractSyncDatabaseTask(long lastOperationTimestamp) |
| Modifier and Type | Method and Description |
|---|---|
protected ODistributedDatabase |
checkIfCurrentDatabaseIsNotOlder(ODistributedServerManager iManager,
String databaseName,
com.orientechnologies.orient.core.storage.impl.local.paginated.wal.OLogSequenceNumber startLSN) |
long |
getDistributedTimeout() |
com.orientechnologies.orient.core.command.OCommandDistributedReplicateRequest.QUORUM_TYPE |
getQuorumType() |
ORemoteTask.RESULT_STRATEGY |
getResultStrategy() |
boolean |
isNodeOnlineRequired() |
void |
onMessage(String iText) |
protected void |
readOptionalLSN(DataInput in) |
protected void |
writeOptionalLSN(DataOutput out) |
getFixTask, getLastLSN, getUndoTaskexecute, fromStream, getName, getNodeSource, getPartitionKey, getSynchronousTimeout, getTotalTimeout, isIdempotent, isUsingDatabase, setNodeSource, toStream, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetFactoryIdpublic static final int CHUNK_MAX_SIZE
public static final String DEPLOYDB
public static final int FACTORYID
protected long lastOperationTimestamp
protected long random
public OAbstractSyncDatabaseTask()
protected OAbstractSyncDatabaseTask(long lastOperationTimestamp)
public ORemoteTask.RESULT_STRATEGY getResultStrategy()
getResultStrategy in interface ORemoteTaskgetResultStrategy in class OAbstractRemoteTaskpublic com.orientechnologies.orient.core.command.OCommandDistributedReplicateRequest.QUORUM_TYPE getQuorumType()
getQuorumType in interface ORemoteTaskgetQuorumType in class OAbstractRemoteTaskpublic long getDistributedTimeout()
getDistributedTimeout in interface ORemoteTaskgetDistributedTimeout in class OAbstractRemoteTaskpublic void onMessage(String iText)
onMessage in interface com.orientechnologies.orient.core.command.OCommandOutputListenerpublic boolean isNodeOnlineRequired()
isNodeOnlineRequired in interface ORemoteTaskisNodeOnlineRequired in class OAbstractRemoteTaskprotected ODistributedDatabase checkIfCurrentDatabaseIsNotOlder(ODistributedServerManager iManager, String databaseName, com.orientechnologies.orient.core.storage.impl.local.paginated.wal.OLogSequenceNumber startLSN)
protected void readOptionalLSN(DataInput in) throws IOException
IOExceptionprotected void writeOptionalLSN(DataOutput out) throws IOException
IOExceptionCopyright © 2009–2017 OrientDB. All rights reserved.