org.jpos.transaction.participant
Class Join.Runner

java.lang.Object
  extended by org.jpos.transaction.participant.Join.Runner
All Implemented Interfaces:
Runnable
Enclosing class:
Join

public static class Join.Runner
extends Object
implements Runnable


Field Summary
static int ABORT
           
static int COMMIT
           
static String[] MODES
           
static int PREPARE
           
static int PREPARE_FOR_ABORT
           
 int rc
           
 
Constructor Summary
Join.Runner(TransactionParticipant p, long id, Serializable ctx)
           
 
Method Summary
 void abort()
           
 void commit()
           
 void join()
           
 void prepare()
           
 void prepareForAbort()
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rc

public int rc

PREPARE

public static final int PREPARE
See Also:
Constant Field Values

PREPARE_FOR_ABORT

public static final int PREPARE_FOR_ABORT
See Also:
Constant Field Values

COMMIT

public static final int COMMIT
See Also:
Constant Field Values

ABORT

public static final int ABORT
See Also:
Constant Field Values

MODES

public static final String[] MODES
Constructor Detail

Join.Runner

public Join.Runner(TransactionParticipant p,
                   long id,
                   Serializable ctx)
Method Detail

prepare

public void prepare()

prepareForAbort

public void prepareForAbort()

commit

public void commit()

abort

public void abort()

run

public void run()
Specified by:
run in interface Runnable

join

public void join()


Copyright © 1998-2012 jPOS.org. All Rights Reserved.