T
- the return type of the projection. It is equal to the journal
event type if the projection is null
or it is the
identity projectionpublic class MapEventJournalReadTask<K,V,T> extends AbstractPartitionMessageTask<P>
null
in which case
all elements are returned and no projection is applied.MapEventJournalReadOperation
clientEngine, clientMessage, connection, endpoint, logger, nodeEngine, parameters, serializationService
Constructor and Description |
---|
MapEventJournalReadTask(ClientMessage clientMessage,
Node node,
Connection connection) |
Modifier and Type | Method and Description |
---|---|
protected MapEventJournalReadCodec.RequestParameters |
decodeClientMessage(ClientMessage clientMessage) |
protected ClientMessage |
encodeResponse(Object response) |
String |
getDistributedObjectName()
Used for
SecurityInterceptor |
protected MapOperationProvider |
getMapOperationProvider(String mapName) |
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() |
accept, afterResponse, beforeProcess, beforeResponse, execute, getPartitionId, processMessage
getDistributedObjectType, getMemberBuildInfo, getService, handleProcessingFailure, isAdvancedNetworkEnabled, peelIfNeeded, requiresAuthentication, run, sendClientMessage, sendClientMessage, sendResponse
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
andThen
public MapEventJournalReadTask(ClientMessage clientMessage, Node node, Connection connection)
protected Operation prepareOperation()
prepareOperation
in class AbstractPartitionMessageTask<MapEventJournalReadCodec.RequestParameters>
protected MapEventJournalReadCodec.RequestParameters decodeClientMessage(ClientMessage clientMessage)
decodeClientMessage
in class AbstractMessageTask<MapEventJournalReadCodec.RequestParameters>
protected ClientMessage encodeResponse(Object response)
encodeResponse
in class AbstractMessageTask<MapEventJournalReadCodec.RequestParameters>
public final String getServiceName()
getServiceName
in class AbstractMessageTask<MapEventJournalReadCodec.RequestParameters>
public Permission getRequiredPermission()
public String getDistributedObjectName()
SecureRequest
SecurityInterceptor
getDistributedObjectName
in interface SecureRequest
getDistributedObjectName
in class AbstractMessageTask<MapEventJournalReadCodec.RequestParameters>
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 AbstractMessageTask<MapEventJournalReadCodec.RequestParameters>
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 AbstractMessageTask<MapEventJournalReadCodec.RequestParameters>
protected final MapOperationProvider getMapOperationProvider(String mapName)
Copyright © 2019 Hazelcast, Inc.. All rights reserved.