public class ReadTakeEntrySpaceOperationRequest extends SpaceOperationRequest<ReadTakeEntrySpaceOperationResult>
Constructor and Description |
---|
ReadTakeEntrySpaceOperationRequest()
Required for Externalizable
|
ReadTakeEntrySpaceOperationRequest(ITemplatePacket templatePacket,
Transaction txn,
boolean isTake,
boolean ifExists,
long timeout,
int modifiers,
boolean returnOnlyUid,
ISpaceProxyTypeManager typeManager,
boolean returnPacket,
Object query) |
ReadTakeEntrySpaceOperationRequest(ITemplatePacket templatePacket,
Transaction txn,
boolean isTake,
boolean ifExists,
long timeout,
int modifiers,
boolean returnOnlyUid,
Object query) |
afterOperationExecution, beforeOperationExecution, clone, getRemoteOperationResult, getSpaceContext, isDedicatedPoolRequired, setRemoteOperationExecutionError, setRemoteOperationResult, setSpaceContext, supportsSecurity, toString
public ReadTakeEntrySpaceOperationRequest()
public ReadTakeEntrySpaceOperationRequest(ITemplatePacket templatePacket, Transaction txn, boolean isTake, boolean ifExists, long timeout, int modifiers, boolean returnOnlyUid, Object query)
public ReadTakeEntrySpaceOperationRequest(ITemplatePacket templatePacket, Transaction txn, boolean isTake, boolean ifExists, long timeout, int modifiers, boolean returnOnlyUid, ISpaceProxyTypeManager typeManager, boolean returnPacket, Object query)
public void toText(Textualizer textualizer)
toText
in interface Textualizable
toText
in class SpaceOperationRequest<ReadTakeEntrySpaceOperationResult>
public int getOperationCode()
public ReadTakeEntrySpaceOperationResult createRemoteOperationResult()
public PartitionedClusterExecutionType getPartitionedClusterExecutionType()
public Object getPartitionedClusterRoutingValue(PartitionedClusterRemoteOperationRouter router)
public ITemplatePacket getTemplatePacket()
public int getModifiers()
public long getTimeout()
public Transaction getTransaction()
getTransaction
in class SpaceOperationRequest<ReadTakeEntrySpaceOperationResult>
public boolean isBlockingOperation()
isBlockingOperation
in interface RemoteOperationRequest<ReadTakeEntrySpaceOperationResult>
isBlockingOperation
in class SpaceOperationRequest<ReadTakeEntrySpaceOperationResult>
public boolean isTake()
public boolean isIfExists()
public boolean isReturnOnlyUid()
public boolean processUnknownTypeException(List<Integer> positions)
processUnknownTypeException
in interface RemoteOperationRequest<ReadTakeEntrySpaceOperationResult>
processUnknownTypeException
in class SpaceOperationRequest<ReadTakeEntrySpaceOperationResult>
public boolean processPartitionResult(ReadTakeEntrySpaceOperationResult partitionResult, List<ReadTakeEntrySpaceOperationResult> previousResults, int numOfPartitions)
processPartitionResult
in interface RemoteOperationRequest<ReadTakeEntrySpaceOperationResult>
processPartitionResult
in class SpaceOperationRequest<ReadTakeEntrySpaceOperationResult>
public IEntryPacket getFinalResult() throws RemoteException, TransactionException, InterruptedException, UnusableEntryException
public Object getAsyncFinalResult() throws Exception
getAsyncFinalResult
in interface RemoteOperationRequest<ReadTakeEntrySpaceOperationResult>
getAsyncFinalResult
in class SpaceOperationRequest<ReadTakeEntrySpaceOperationResult>
Exception
public String getLRMIMethodTrackingId()
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class SpaceOperationRequest<ReadTakeEntrySpaceOperationResult>
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class SpaceOperationRequest<ReadTakeEntrySpaceOperationResult>
IOException
ClassNotFoundException
public RemoteOperationRequest<ReadTakeEntrySpaceOperationResult> createCopy(int targetPartitionId)
createCopy
in interface RemoteOperationRequest<ReadTakeEntrySpaceOperationResult>
createCopy
in class SpaceOperationRequest<ReadTakeEntrySpaceOperationResult>
public boolean hasLockedResources()
hasLockedResources
in class SpaceOperationRequest<ReadTakeEntrySpaceOperationResult>
public boolean requiresPartitionedPreciseDistribution()
requiresPartitionedPreciseDistribution
in interface RemoteOperationRequest<ReadTakeEntrySpaceOperationResult>
requiresPartitionedPreciseDistribution
in class SpaceOperationRequest<ReadTakeEntrySpaceOperationResult>
public int getPreciseDistributionGroupingCode()
getPreciseDistributionGroupingCode
in interface RemoteOperationRequest<ReadTakeEntrySpaceOperationResult>
getPreciseDistributionGroupingCode
in class SpaceOperationRequest<ReadTakeEntrySpaceOperationResult>
Copyright © GigaSpaces.