public class OCopyDatabaseChunkTask extends OAbstractReplicatedTask
ORemoteTask.RESULT_STRATEGY
Modifier and Type | Field and Description |
---|---|
static int |
FACTORYID |
lastLSN
ALL, ANY, FAST_NOLOCK, LOCK, nodeSource
Constructor and Description |
---|
OCopyDatabaseChunkTask() |
OCopyDatabaseChunkTask(String iFileName,
int iChunkNum,
long iOffset,
boolean iCompressed) |
Modifier and Type | Method and Description |
---|---|
Object |
execute(ODistributedRequestId requestId,
OServer iServer,
ODistributedServerManager iManager,
ODatabaseDocumentInternal database) |
void |
fromStream(DataInput in,
ORemoteTaskFactory factory) |
int |
getChunkNum() |
long |
getDistributedTimeout() |
int |
getFactoryId() |
String |
getFileName() |
String |
getName() |
long |
getOffset() |
OCommandDistributedReplicateRequest.QUORUM_TYPE |
getQuorumType() |
ORemoteTask.RESULT_STRATEGY |
getResultStrategy() |
boolean |
isCompressed() |
boolean |
isNodeOnlineRequired() |
void |
toStream(DataOutput out) |
getFixTask, getLastLSN, getUndoTask
checkIsValid, getNodeSource, getPartitionKey, getSynchronousTimeout, getTotalTimeout, hasResponse, isIdempotent, isUsingDatabase, setNodeSource, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
finished, received
public static final int FACTORYID
public OCopyDatabaseChunkTask()
public OCopyDatabaseChunkTask(String iFileName, int iChunkNum, long iOffset, boolean iCompressed)
public Object execute(ODistributedRequestId requestId, OServer iServer, ODistributedServerManager iManager, ODatabaseDocumentInternal database) throws Exception
execute
in interface ORemoteTask
execute
in class OAbstractRemoteTask
Exception
public ORemoteTask.RESULT_STRATEGY getResultStrategy()
getResultStrategy
in interface ORemoteTask
getResultStrategy
in class OAbstractRemoteTask
public long getDistributedTimeout()
getDistributedTimeout
in interface ORemoteTask
getDistributedTimeout
in class OAbstractRemoteTask
public OCommandDistributedReplicateRequest.QUORUM_TYPE getQuorumType()
getQuorumType
in interface ORemoteTask
getQuorumType
in class OAbstractRemoteTask
public String getName()
getName
in interface ORemoteTask
getName
in class OAbstractRemoteTask
public void toStream(DataOutput out) throws IOException
toStream
in interface ORemoteTask
toStream
in class OAbstractRemoteTask
IOException
public void fromStream(DataInput in, ORemoteTaskFactory factory) throws IOException
fromStream
in interface ORemoteTask
fromStream
in class OAbstractRemoteTask
IOException
public boolean isNodeOnlineRequired()
isNodeOnlineRequired
in interface ORemoteTask
isNodeOnlineRequired
in class OAbstractRemoteTask
public int getFactoryId()
public String getFileName()
public int getChunkNum()
public long getOffset()
public boolean isCompressed()
Copyright © 2009–2020 OrientDB. All rights reserved.