Class FederatedNoOutputHandler<PAYLOAD extends Operation>
- java.lang.Object
-
- uk.gov.gchq.gaffer.federatedstore.operation.handler.impl.FederatedNoOutputHandler<PAYLOAD>
-
- Type Parameters:
PAYLOAD
- The operation to be federated and executed by delegate graphs.
- All Implemented Interfaces:
OperationHandler<PAYLOAD>
public class FederatedNoOutputHandler<PAYLOAD extends Operation> extends Object implements OperationHandler<PAYLOAD>
Operation handler for the federation of an PAYLOAD operation with an expected return type of Void/Null.The Operation with no output is wrapped in a defaulted FederatedOperation and re-executed.
-
-
Constructor Summary
Constructors Constructor Description FederatedNoOutputHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Void
doOperation(PAYLOAD operation, Context context, Store store)
The Operation with no output is wrapped in a defaulted FederatedOperation and re-executed.
-
-
-
Method Detail
-
doOperation
public Void doOperation(PAYLOAD operation, Context context, Store store) throws OperationException
The Operation with no output is wrapped in a defaulted FederatedOperation and re-executed.- Specified by:
doOperation
in interfaceOperationHandler<PAYLOAD extends Operation>
- Parameters:
operation
- no output operation to be executedcontext
- the operation chain context, containing the user who executed the operationstore
- theFederatedStore
the operation should be run on.- Returns:
- null, no output.
- Throws:
OperationException
- thrown if the operation fails
-
-