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
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
|
String |
getMethodName()
Used for
SecurityInterceptor
Method name which called via a distributedObject
for map.put, methodName will be 'put'
For requests which do not produced via a distributedObject should return null, for example internal client. |
protected CacheOperationProvider |
getOperationProvider() |
Object[] |
getParameters()
Used for
SecurityInterceptor
Parameters passed to the method by a distributedObject
for map.put(key, value) parameters should be 'key' and 'value'
parameters can be in binary or object form, underlying implementation will de-serialize lazily |
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, getService, readPortable, setCallId, setClientEngine, setEndpoint, setOperationService, setSerializationService, setService, writePortable
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
public Object[] getParameters()
SecureRequest
SecurityInterceptor
Parameters passed to the method by a distributedObject
for map.put(key, value) parameters should be 'key' and 'value'
parameters can be in binary or object form, underlying implementation will de-serialize lazilygetParameters
in interface SecureRequest
getParameters
in class ClientRequest
public String getMethodName()
SecureRequest
SecurityInterceptor
Method name which called via a distributedObject
for map.put, methodName will be 'put'
For requests which do not produced via a distributedObject should return null, for example internal client.getMethodName
in interface SecureRequest
getMethodName
in class ClientRequest
public String getDistributedObjectName()
SecureRequest
SecurityInterceptor
getDistributedObjectName
in interface SecureRequest
protected CacheOperationProvider getOperationProvider()
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.