Class ManagerOperationsFactory
java.lang.Object
org.infinispan.client.hotrod.impl.operations.ManagerOperationsFactory
-
Method Summary
Modifier and TypeMethodDescriptionexecuteOperation(String taskName, Map<String, byte[]> marshalledParams) static ManagerOperationsFactorynewCompleteTransactionOperation(Xid xid, boolean commit) newPingOperation(String cacheName) A ping operation for a specific cache to ensure it is running and receive its configuration details.newPrepareTransaction(String cacheName, Xid xid, boolean onePhaseCommit, List<Modification> modifications, boolean recoverable, long timeoutMs)
-
Method Details
-
getInstance
-
newPingOperation
A ping operation for a specific cache to ensure it is running and receive its configuration details. This command will be retried on another server if it encounters connectivity issues.- Parameters:
cacheName-- Returns:
-
executeOperation
public HotRodOperation<String> executeOperation(String taskName, Map<String, byte[]> marshalledParams) -
newCompleteTransactionOperation
-
newForgetTransactionOperation
-
newRecoveryOperation
-
newPrepareTransaction
public HotRodOperation<Integer> newPrepareTransaction(String cacheName, Xid xid, boolean onePhaseCommit, List<Modification> modifications, boolean recoverable, long timeoutMs)
-