com.hazelcast.cache.impl.client
public abstract class AbstractCacheRequest extends KeyBasedClientRequest implements RetryableRequest
Modifier and Type | Field and Description |
---|---|
protected InMemoryFormat |
inMemoryFormat |
protected String |
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 |
---|
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) |
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
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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)
protected 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 © 2015 Hazelcast, Inc.. All Rights Reserved.