@Experimental
public interface OperationHandler<Req,Resp,ErrorResp,Serializer>
| Modifier and Type | Method and Description |
|---|---|
Result<Resp,ErrorResp> |
process(Serializer serializationService,
Req request,
MessageExecutionContext messageExecutionContext)
Decode the message, deserialize contained values using the serialization service, do the work
indicated on the provided cache, and return a response.
|
Result<Resp,ErrorResp> process(Serializer serializationService, Req request, MessageExecutionContext messageExecutionContext) throws org.apache.geode.internal.exception.InvalidExecutionContextException, ConnectionStateException
ConnectionStateException - if the connection is in an invalid state for the operation in
question.org.apache.geode.internal.exception.InvalidExecutionContextException