public class ReadTakeEntriesSpaceOperationRequest extends SpaceOperationRequest<ReadTakeEntriesSpaceOperationResult>
Constructor and Description |
---|
ReadTakeEntriesSpaceOperationRequest()
Required for Externalizable.
|
ReadTakeEntriesSpaceOperationRequest(ITemplatePacket templatePacket,
Transaction transaction,
boolean isTake,
int modifiers,
int maxResults,
int minResultsToWaitFor,
long timeout,
boolean ifExist,
Object query) |
clone, getAsyncFinalResult, getRemoteOperationResult, getSpaceContext, isBlockingOperation, isDedicatedPoolRequired, setRemoteOperationExecutionError, setRemoteOperationResult, setSpaceContext, supportsSecurity, toString
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
enabledSmartExternalizableWithReference
public ReadTakeEntriesSpaceOperationRequest()
public ReadTakeEntriesSpaceOperationRequest(ITemplatePacket templatePacket, Transaction transaction, boolean isTake, int modifiers, int maxResults, int minResultsToWaitFor, long timeout, boolean ifExist, Object query)
public void toText(Textualizer textualizer)
toText
in interface Textualizable
toText
in class SpaceOperationRequest<ReadTakeEntriesSpaceOperationResult>
public int getOperationCode()
public ReadTakeEntriesSpaceOperationResult createRemoteOperationResult()
public PartitionedClusterExecutionType getPartitionedClusterExecutionType()
public boolean processPartitionResult(ReadTakeEntriesSpaceOperationResult remoteOperationResult, List<ReadTakeEntriesSpaceOperationResult> previousResults, int numberOfPartitions)
processPartitionResult
in interface RemoteOperationRequest<ReadTakeEntriesSpaceOperationResult>
processPartitionResult
in class SpaceOperationRequest<ReadTakeEntriesSpaceOperationResult>
public IEntryPacket[] getFinalResult() throws RemoteException, TransactionException, UnusableEntryException
public Object getPartitionedClusterRoutingValue(PartitionedClusterRemoteOperationRouter router)
public boolean processUnknownTypeException(List<Integer> positions)
processUnknownTypeException
in interface RemoteOperationRequest<ReadTakeEntriesSpaceOperationResult>
processUnknownTypeException
in class SpaceOperationRequest<ReadTakeEntriesSpaceOperationResult>
public Transaction getTransaction()
getTransaction
in class SpaceOperationRequest<ReadTakeEntriesSpaceOperationResult>
public ITemplatePacket getTemplatePacket()
public boolean isTake()
public int getMaxResults()
public int getModifiers()
public boolean isDirectExecutionEnabled()
isDirectExecutionEnabled
in interface RemoteOperationRequest<ReadTakeEntriesSpaceOperationResult>
isDirectExecutionEnabled
in class SpaceOperationRequest<ReadTakeEntriesSpaceOperationResult>
public int getMinResultsToWaitFor()
public long getTimeOut()
public boolean isIfExist()
public String getLRMIMethodTrackingId()
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class SpaceOperationRequest<ReadTakeEntriesSpaceOperationResult>
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class SpaceOperationRequest<ReadTakeEntriesSpaceOperationResult>
IOException
ClassNotFoundException
public RemoteOperationRequest<ReadTakeEntriesSpaceOperationResult> createCopy(int targetPartitionId)
createCopy
in interface RemoteOperationRequest<ReadTakeEntriesSpaceOperationResult>
createCopy
in class SpaceOperationRequest<ReadTakeEntriesSpaceOperationResult>
public boolean hasLockedResources()
hasLockedResources
in class SpaceOperationRequest<ReadTakeEntriesSpaceOperationResult>
public boolean requiresPartitionedPreciseDistribution()
requiresPartitionedPreciseDistribution
in interface RemoteOperationRequest<ReadTakeEntriesSpaceOperationResult>
requiresPartitionedPreciseDistribution
in class SpaceOperationRequest<ReadTakeEntriesSpaceOperationResult>
public int getPreciseDistributionGroupingCode()
getPreciseDistributionGroupingCode
in interface RemoteOperationRequest<ReadTakeEntriesSpaceOperationResult>
getPreciseDistributionGroupingCode
in class SpaceOperationRequest<ReadTakeEntriesSpaceOperationResult>
public List<ReplicationLevel> getLevels()
public void afterOperationExecution(int partitionId)
afterOperationExecution
in class SpaceOperationRequest<ReadTakeEntriesSpaceOperationResult>
public boolean beforeOperationExecution(boolean isEmbedded)
beforeOperationExecution
in class SpaceOperationRequest<ReadTakeEntriesSpaceOperationResult>
Copyright © GigaSpaces.