public class CacheReplaceRequest extends AbstractCacheRequest
| Modifier and Type | Field and Description |
|---|---|
protected Data |
currentValue |
protected javax.cache.expiry.ExpiryPolicy |
expiryPolicy |
protected Data |
key |
protected Data |
value |
namecallId, clientEngine, endpoint, operationService, serializationService, service| Constructor and Description |
|---|
CacheReplaceRequest() |
CacheReplaceRequest(String name,
Data key,
Data currentValue,
Data value,
javax.cache.expiry.ExpiryPolicy expiryPolicy) |
CacheReplaceRequest(String name,
Data key,
Data value,
javax.cache.expiry.ExpiryPolicy expiryPolicy) |
| 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, getRequiredPermission, getServiceNamegetPartitionafterResponse, beforeProcess, beforeResponse, filter, getReplicaIndex, processgetCallId, getClassVersion, getClientEngine, getDistributedObjectName, getDistributedObjectType, getEndpoint, getMethodName, getParameters, getService, isSingleConnection, readPortable, setCallId, setClientEngine, setEndpoint, setOperationService, setSerializationService, setService, setSingleConnection, writePortableprotected Data key
protected Data value
protected Data currentValue
protected javax.cache.expiry.ExpiryPolicy expiryPolicy
public CacheReplaceRequest()
public CacheReplaceRequest(String name, Data key, Data value, javax.cache.expiry.ExpiryPolicy expiryPolicy)
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 ClientRequestIOExceptionpublic void read(PortableReader reader) throws IOException
read in class ClientRequestIOExceptionpublic void setCompletionId(Integer completionId)
setCompletionId in class AbstractCacheRequestCopyright © 2014 Hazelcast, Inc.. All Rights Reserved.