Class SessionExecutor

java.lang.Object
io.datarouter.client.mysql.execution.SessionExecutor

@Singleton
public class SessionExecutor
extends java.lang.Object
  • Field Details

  • Constructor Details

  • Method Details

    • makeCallable

      public <T> SessionExecutorCallable<T> makeCallable​(BaseMysqlOp<T> parallelTxnOp, java.lang.String traceName)
    • runWithoutRetries

      public <T> T runWithoutRetries​(BaseMysqlOp<T> parallelTxnOp)
    • runWithoutRetries

      public <T> T runWithoutRetries​(BaseMysqlOp<T> parallelTxnOp, java.lang.String traceName)
    • run

      public <T> T run​(BaseMysqlOp<T> parallelTxnOp) throws io.datarouter.storage.op.executor.impl.SessionExecutorPleaseRetryException
      Throws:
      io.datarouter.storage.op.executor.impl.SessionExecutorPleaseRetryException
    • run

      public <T> T run​(BaseMysqlOp<T> parallelTxnOp, java.lang.String traceName) throws io.datarouter.storage.op.executor.impl.SessionExecutorPleaseRetryException
      Throws:
      io.datarouter.storage.op.executor.impl.SessionExecutorPleaseRetryException