public class CachePutRequest extends AbstractCacheRequest
CachePutOperation on the server side.CachePutOperationinMemoryFormat, namecallId, clientEngine, endpoint, operationService, serializationService, service| Constructor and Description |
|---|
CachePutRequest() |
CachePutRequest(String name,
Data key,
Data value,
javax.cache.expiry.ExpiryPolicy expiryPolicy,
boolean get,
InMemoryFormat inMemoryFormat) |
CachePutRequest(String name,
Data key,
Data value,
javax.cache.expiry.ExpiryPolicy expiryPolicy,
InMemoryFormat inMemoryFormat) |
CachePutRequest(String name,
Data key,
Data value,
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, getServiceNamegetPartitionafterResponse, beforeProcess, beforeResponse, filter, getReplicaIndex, onFailure, onResponse, processgetCallId, getClassVersion, getClientEngine, getDistributedObjectName, getDistributedObjectType, getEndpoint, getMethodName, getParameters, getService, readPortable, setCallId, setClientEngine, setEndpoint, setOperationService, setSerializationService, setService, writePortablepublic CachePutRequest()
public CachePutRequest(String name, Data key, Data value, InMemoryFormat inMemoryFormat)
public CachePutRequest(String name, Data key, Data value, javax.cache.expiry.ExpiryPolicy expiryPolicy, InMemoryFormat inMemoryFormat)
public CachePutRequest(String name, Data key, Data value, javax.cache.expiry.ExpiryPolicy expiryPolicy, boolean get, InMemoryFormat inMemoryFormat)
public int getClassId()
Portableprotected Object getKey()
getKey in class KeyBasedClientRequestprotected Operation prepareOperation()
prepareOperation in class PartitionClientRequestpublic void write(PortableWriter writer) throws IOException
write in class AbstractCacheRequestIOExceptionpublic void read(PortableReader reader) throws IOException
read in class AbstractCacheRequestIOExceptionpublic void setCompletionId(Integer completionId)
setCompletionId in class AbstractCacheRequestCopyright © 2015 Hazelcast, Inc.. All Rights Reserved.