com.hazelcast.cache.impl.client
Class AbstractCacheRequest
java.lang.Object
com.hazelcast.client.impl.client.ClientRequest
com.hazelcast.client.impl.client.PartitionClientRequest
com.hazelcast.client.impl.client.KeyBasedClientRequest
com.hazelcast.cache.impl.client.AbstractCacheRequest
- All Implemented Interfaces:
- RetryableRequest, SecureRequest, Portable, VersionedPortable
- Direct Known Subclasses:
- CacheContainsKeyRequest, CacheEntryProcessorRequest, CacheGetAndRemoveRequest, CacheGetAndReplaceRequest, CacheGetConfigRequest, CacheGetRequest, CachePutIfAbsentRequest, CachePutRequest, CacheRemoveRequest, CacheReplaceRequest
public abstract class AbstractCacheRequest
- extends KeyBasedClientRequest
- implements RetryableRequest
Abstract cache request to handle a completion id registration.
Methods inherited from class com.hazelcast.client.impl.client.ClientRequest |
getCallId, getClassVersion, getClientEngine, getDistributedObjectName, getDistributedObjectType, getEndpoint, getMethodName, getParameters, getService, isSingleConnection, readPortable, setCallId, setClientEngine, setEndpoint, setOperationService, setSerializationService, setService, setSingleConnection, writePortable |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
protected String name
inMemoryFormat
protected InMemoryFormat inMemoryFormat
AbstractCacheRequest
public AbstractCacheRequest()
AbstractCacheRequest
public AbstractCacheRequest(String name,
InMemoryFormat inMemoryFormat)
getFactoryId
public final int getFactoryId()
- Description copied from interface:
Portable
- Returns PortableFactory id for this portable class
- Specified by:
getFactoryId
in interface Portable
- Returns:
- factory id
getServiceName
public final String getServiceName()
- Specified by:
getServiceName
in class ClientRequest
setCompletionId
public void setCompletionId(Integer completionId)
getOperationProvider
protected CacheOperationProvider getOperationProvider()
getRequiredPermission
public Permission getRequiredPermission()
- Specified by:
getRequiredPermission
in interface SecureRequest
write
public void write(PortableWriter writer)
throws IOException
- Overrides:
write
in class ClientRequest
- Throws:
IOException
read
public void read(PortableReader reader)
throws IOException
- Overrides:
read
in class ClientRequest
- Throws:
IOException
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.