com.hazelcast.cache.impl.client
public class CachePutIfAbsentRequest extends AbstractCacheRequest
CachePutIfAbsentOperation
on the server side.CachePutIfAbsentOperation
inMemoryFormat, name
callId, clientEngine, endpoint, operationService, serializationService, service
BEGIN_AND_END_FLAGS, BEGIN_FLAG, END_FLAG, HEADER_SIZE, LISTENER_EVENT_FLAG, VERSION
buffer
Constructor and Description |
---|
CachePutIfAbsentRequest() |
CachePutIfAbsentRequest(String name,
Data key,
Data value,
javax.cache.expiry.ExpiryPolicy expiryPolicy,
InMemoryFormat inMemoryFormat) |
Modifier and Type | Method and Description |
---|---|
int |
getClassId()
Returns class identifier for this portable class.
|
protected Object |
getKey() |
protected Operation |
prepareOperation() |
void |
read(PortableReader reader) |
void |
setCompletionId(Integer completionId) |
void |
write(PortableWriter writer) |
getFactoryId, getOperationProvider, getRequiredPermission, getServiceName
getPartition
afterResponse, beforeProcess, beforeResponse, filter, getReplicaIndex, onFailure, onResponse, process
getCallId, getClassVersion, getClientEngine, getDistributedObjectName, getDistributedObjectType, getEndpoint, getMethodName, getParameters, getService, readPortable, setCallId, setClientEngine, setEndpoint, setOperationService, setSerializationService, setService, writePortable
addFlag, create, createForDecode, createForEncode, createForEncode, getCorrelationId, getDataOffset, getFlags, getFrameLength, getMessageType, getPartitionId, getVersion, isComplete, isFlagSet, isRetryable, isUrgent, readFrom, setCorrelationId, setDataOffset, setFrameLength, setMessageType, setPartitionId, setRetryable, setVersion, toString, updateFrameLength, wrapForDecode, wrapForEncode, writeTo
buffer, getBoolean, getByteArray, getData, getDataList, getDataSet, getInt, getLong, getStringUtf8, index, index, int32Get, int32Set, set, set, set, set, set, set, set, uint16Get, uint16Put, uint32Get, uint32Put, uint8Get, uint8Put, wrap
public CachePutIfAbsentRequest()
public CachePutIfAbsentRequest(String name, Data key, Data value, javax.cache.expiry.ExpiryPolicy expiryPolicy, InMemoryFormat inMemoryFormat)
public int getClassId()
Portable
protected Object getKey()
getKey
in class KeyBasedClientRequest
protected Operation prepareOperation()
prepareOperation
in class PartitionClientRequest
public void write(PortableWriter writer) throws IOException
write
in class AbstractCacheRequest
IOException
public void read(PortableReader reader) throws IOException
read
in class AbstractCacheRequest
IOException
public void setCompletionId(Integer completionId)
setCompletionId
in class AbstractCacheRequest
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.