public class MapRemoveRequest extends MapKeyBasedClientRequest implements Portable, SecureRequest
Modifier and Type | Field and Description |
---|---|
protected boolean |
async |
protected Data |
key |
protected long |
startTime |
protected long |
threadId |
name
callId, clientEngine, endpoint, operationService, serializationService, service
Constructor and Description |
---|
MapRemoveRequest() |
MapRemoveRequest(String name,
Data key,
long threadId) |
Modifier and Type | Method and Description |
---|---|
protected void |
beforeProcess()
Called on node side, before starting any operation.
|
protected void |
beforeResponse()
Called on node side, after process is run and right before sending the response to the client.
|
int |
getClassId()
Returns class identifier for this portable class.
|
String |
getDistributedObjectName()
Used for
SecurityInterceptor |
int |
getFactoryId()
Returns PortableFactory id for this portable class
|
Object |
getKey() |
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. |
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() |
protected Operation |
prepareOperation() |
void |
read(PortableReader reader) |
void |
setAsAsync() |
void |
write(PortableWriter writer) |
getPartition
getOperationProvider
afterResponse, filter, getReplicaIndex, onFailure, onResponse, process
getCallId, getClassVersion, getClientEngine, getDistributedObjectType, getEndpoint, getService, readPortable, setCallId, setClientEngine, setEndpoint, setOperationService, setSerializationService, setService, writePortable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
readPortable, writePortable
getDistributedObjectType
protected Data key
protected long threadId
protected boolean async
protected transient long startTime
public int getFactoryId()
Portable
getFactoryId
in interface Portable
public int getClassId()
Portable
getClassId
in interface Portable
public Object getKey()
getKey
in class MapKeyBasedClientRequest
protected void beforeProcess()
PartitionClientRequest
beforeProcess
in class PartitionClientRequest
protected void beforeResponse()
PartitionClientRequest
beforeResponse
in class PartitionClientRequest
protected Operation prepareOperation()
prepareOperation
in class PartitionClientRequest
public void setAsAsync()
public String getServiceName()
getServiceName
in class ClientRequest
public void write(PortableWriter writer) throws IOException
write
in class ClientRequest
IOException
public void read(PortableReader reader) throws IOException
read
in class ClientRequest
IOException
public Permission getRequiredPermission()
getRequiredPermission
in interface SecureRequest
public String getDistributedObjectName()
SecureRequest
SecurityInterceptor
getDistributedObjectName
in interface SecureRequest
getDistributedObjectName
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 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
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.