public class CacheEntryProcessorRequest extends AbstractCacheRequest
CacheEntryProcessorOperation
on the server side.CacheEntryProcessorOperation
inMemoryFormat, name
callId, clientEngine, endpoint, operationService, serializationService, service
Constructor and Description |
---|
CacheEntryProcessorRequest() |
CacheEntryProcessorRequest(String name,
Data key,
javax.cache.processor.EntryProcessor entryProcessor,
InMemoryFormat inMemoryFormat,
Object... arguments) |
Modifier and Type | Method and Description |
---|---|
int |
getClassId()
Returns class identifier for this portable class.
|
String |
getDistributedObjectName()
Used for
SecurityInterceptor |
protected 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() |
protected Operation |
prepareOperation() |
void |
read(PortableReader reader) |
void |
setCompletionId(Integer completionId)
Sets the completion id of the cache request.
|
void |
write(PortableWriter writer) |
getFactoryId, getOperationProvider, getServiceName
getPartition
afterResponse, beforeProcess, beforeResponse, filter, getReplicaIndex, onFailure, onResponse, process
getCallId, getClassVersion, getClientEngine, getDistributedObjectType, getEndpoint, getService, readPortable, setCallId, setClientEngine, setEndpoint, setOperationService, setSerializationService, setService, writePortable
public CacheEntryProcessorRequest()
public CacheEntryProcessorRequest(String name, Data key, javax.cache.processor.EntryProcessor entryProcessor, InMemoryFormat inMemoryFormat, Object... arguments)
public int getClassId()
Portable
protected Object getKey()
getKey
in class KeyBasedClientRequest
protected Operation prepareOperation()
prepareOperation
in class PartitionClientRequest
public void write(PortableWriter writer) throws IOException
write
in class AbstractCacheRequest
IOException
public void read(PortableReader reader) throws IOException
read
in class AbstractCacheRequest
IOException
public void setCompletionId(Integer completionId)
CompletionAwareCacheRequest
setCompletionId
in interface CompletionAwareCacheRequest
setCompletionId
in class AbstractCacheRequest
completionId
- the completion id to be setpublic Permission getRequiredPermission()
getRequiredPermission
in interface SecureRequest
getRequiredPermission
in class AbstractCacheRequest
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
getDistributedObjectName
in class ClientRequest
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.