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, getPartition
afterResponse, beforeProcess, beforeResponse, filter, getReplicaIndex, onFailure, onResponse, prepareOperation, process
getCallId, getClassVersion, getClientEngine, getDistributedObjectName, getDistributedObjectType, getEndpoint, getMethodName, getParameters, getService, readPortable, setCallId, setClientEngine, setEndpoint, setOperationService, setSerializationService, setService, writePortable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getClassId
protected String name
protected InMemoryFormat inMemoryFormat
public AbstractCacheRequest()
public AbstractCacheRequest(String name, InMemoryFormat inMemoryFormat)
public final int getFactoryId()
Portable
getFactoryId
in interface Portable
public final String getServiceName()
getServiceName
in class ClientRequest
public void setCompletionId(Integer completionId)
CompletionAwareCacheRequest
setCompletionId
in interface CompletionAwareCacheRequest
completionId
- the completion id to be setprotected CacheOperationProvider getOperationProvider()
public Permission getRequiredPermission()
getRequiredPermission
in interface SecureRequest
public void write(PortableWriter writer) throws IOException
write
in class ClientRequest
IOException
public void read(PortableReader reader) throws IOException
read
in class ClientRequest
IOException
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.