Class Job

java.lang.Object
bitronix.tm.twopc.executor.Job
All Implemented Interfaces:
Runnable

public abstract class Job extends Object implements Runnable
Abstract job definition executable by the 2PC thread pools.
Author:
lorban
  • Field Details

  • Constructor Details

  • Method Details

    • getResource

      public XAResourceHolderState getResource()
    • getXAException

      public XAException getXAException()
    • getRuntimeException

      public RuntimeException getRuntimeException()
    • setFuture

      public void setFuture(Object future)
    • getFuture

      public Object getFuture()
    • run

      public final void run()
      Specified by:
      run in interface Runnable
    • execute

      protected abstract void execute()