com.hazelcast.cache.impl.client
public class CacheClearRequest extends AllPartitionsClientRequest implements RetryableRequest
CacheClearOperationFactory
on the server side.CacheClearOperationFactory
Modifier and Type | Field and Description |
---|---|
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 |
---|
CacheClearRequest() |
CacheClearRequest(String name,
Set<Data> keys,
boolean isRemoveAll,
int completionId) |
Modifier and Type | Method and Description |
---|---|
protected OperationFactory |
createOperationFactory() |
int |
getClassId()
Returns class identifier for this portable class.
|
String |
getDistributedObjectName()
Used for
SecurityInterceptor |
int |
getFactoryId()
Returns PortableFactory id for this portable class
|
protected CacheOperationProvider |
getOperationProvider() |
Permission |
getRequiredPermission() |
String |
getServiceName() |
void |
read(PortableReader reader) |
protected Object |
reduce(Map<Integer,Object> map) |
void |
write(PortableWriter writer) |
process
getCallId, getClassVersion, getClientEngine, 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
protected String name
public String getServiceName()
public int getFactoryId()
Portable
getFactoryId
in interface Portable
public int getClassId()
Portable
getClassId
in interface Portable
public void write(PortableWriter writer) throws IOException
IOException
public void read(PortableReader reader) throws IOException
IOException
protected OperationFactory createOperationFactory()
createOperationFactory
in class AllPartitionsClientRequest
protected Object reduce(Map<Integer,Object> map)
reduce
in class AllPartitionsClientRequest
public Permission getRequiredPermission()
getRequiredPermission
in interface SecureRequest
protected CacheOperationProvider getOperationProvider()
public String getDistributedObjectName()
SecureRequest
SecurityInterceptor
getDistributedObjectName
in interface SecureRequest
getDistributedObjectName
in class ClientRequest
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.