public abstract class AbstractCacheRequest extends KeyBasedClientRequest implements RetryableRequest, CompletionAwareCacheRequest
| Modifier and Type | Field and Description |
|---|---|
protected InMemoryFormat |
inMemoryFormat |
protected String |
name |
callId, clientEngine, endpoint, operationService, serializationService, service| Constructor and Description |
|---|
AbstractCacheRequest() |
AbstractCacheRequest(String name,
InMemoryFormat inMemoryFormat) |
| Modifier and Type | Method and Description |
|---|---|
int |
getFactoryId()
Returns PortableFactory id for this portable class
|
protected CacheOperationProvider |
getOperationProvider() |
Permission |
getRequiredPermission() |
String |
getServiceName() |
void |
read(PortableReader reader) |
void |
setCompletionId(Integer completionId)
Sets the completion id of the cache request.
|
void |
write(PortableWriter writer) |
getKey, getPartitionafterResponse, beforeProcess, beforeResponse, filter, getReplicaIndex, onFailure, onResponse, prepareOperation, processgetCallId, getClassVersion, getClientEngine, getDistributedObjectName, getDistributedObjectType, getEndpoint, getMethodName, getParameters, getService, readPortable, setCallId, setClientEngine, setEndpoint, setOperationService, setSerializationService, setService, writePortableclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetClassIdprotected String name
protected InMemoryFormat inMemoryFormat
public AbstractCacheRequest()
public AbstractCacheRequest(String name, InMemoryFormat inMemoryFormat)
public final int getFactoryId()
PortablegetFactoryId in interface Portablepublic final String getServiceName()
getServiceName in class ClientRequestpublic void setCompletionId(Integer completionId)
CompletionAwareCacheRequestsetCompletionId in interface CompletionAwareCacheRequestcompletionId - the completion id to be setprotected CacheOperationProvider getOperationProvider()
public Permission getRequiredPermission()
getRequiredPermission in interface SecureRequestpublic void write(PortableWriter writer) throws IOException
write in class ClientRequestIOExceptionpublic void read(PortableReader reader) throws IOException
read in class ClientRequestIOExceptionCopyright © 2016 Hazelcast, Inc.. All Rights Reserved.