public class MapPutIfAbsentRequest extends MapPutRequest
async, key, startTime, threadId, ttl, value
name
callId, clientEngine, endpoint, operationService, serializationService, service
Constructor and Description |
---|
MapPutIfAbsentRequest() |
MapPutIfAbsentRequest(String name,
Data key,
Data value,
long threadId) |
MapPutIfAbsentRequest(String name,
Data key,
Data value,
long threadId,
long ttl) |
Modifier and Type | Method and Description |
---|---|
int |
getClassId()
Returns class identifier 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. |
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 |
protected Operation |
prepareOperation() |
beforeProcess, beforeResponse, getDistributedObjectName, getFactoryId, getKey, getRequiredPermission, getServiceName, read, setAsAsync, write
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
public MapPutIfAbsentRequest()
public MapPutIfAbsentRequest(String name, Data key, Data value, long threadId)
public int getClassId()
Portable
getClassId
in interface Portable
getClassId
in class MapPutRequest
protected Operation prepareOperation()
prepareOperation
in class MapPutRequest
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 MapPutRequest
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 MapPutRequest
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.