public abstract class SpaceOperationRequest<TResult extends SpaceOperationResult> extends Object implements RemoteOperationRequest<TResult>, Cloneable, Externalizable, Textualizable
Constructor and Description |
---|
SpaceOperationRequest() |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
createRemoteOperationResult, getOperationCode, getPartitionedClusterExecutionType, getPartitionedClusterRoutingValue
getLRMIMethodTrackingId
public void toText(Textualizer textualizer)
toText
in interface Textualizable
public TResult getRemoteOperationResult()
getRemoteOperationResult
in interface RemoteOperationRequest<TResult extends SpaceOperationResult>
public void setRemoteOperationResult(TResult remoteOperationResult)
setRemoteOperationResult
in interface RemoteOperationRequest<TResult extends SpaceOperationResult>
public void setRemoteOperationExecutionError(Exception error)
setRemoteOperationExecutionError
in interface RemoteOperationRequest<TResult extends SpaceOperationResult>
public boolean processPartitionResult(TResult remoteOperationResult, List<TResult> previousResults, int numOfPartitions)
processPartitionResult
in interface RemoteOperationRequest<TResult extends SpaceOperationResult>
public Object getAsyncFinalResult() throws Exception
getAsyncFinalResult
in interface RemoteOperationRequest<TResult extends SpaceOperationResult>
Exception
public Transaction getTransaction()
public boolean isBlockingOperation()
isBlockingOperation
in interface RemoteOperationRequest<TResult extends SpaceOperationResult>
public boolean isDedicatedPoolRequired()
isDedicatedPoolRequired
in interface RemoteOperationRequest<TResult extends SpaceOperationResult>
public boolean processUnknownTypeException(List<Integer> positions)
processUnknownTypeException
in interface RemoteOperationRequest<TResult extends SpaceOperationResult>
public void setSpaceContext(SpaceContext spaceContext)
public SpaceContext getSpaceContext()
public RemoteOperationRequest<TResult> createCopy(int targetPartitionId)
createCopy
in interface RemoteOperationRequest<TResult extends SpaceOperationResult>
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public boolean beforeOperationExecution(boolean isEmbedded)
public void afterOperationExecution(int partitionId)
public boolean hasLockedResources()
public boolean requiresPartitionedPreciseDistribution()
requiresPartitionedPreciseDistribution
in interface RemoteOperationRequest<TResult extends SpaceOperationResult>
public int getPreciseDistributionGroupingCode()
getPreciseDistributionGroupingCode
in interface RemoteOperationRequest<TResult extends SpaceOperationResult>
public boolean supportsSecurity()
Copyright © GigaSpaces.