org.openorb.ots.log
public class Writer extends Object
Method Summary | |
---|---|
void | begin_transaction(Control control)
Add a log for transaction beginning
Log is :
TR_BEGIN : int
xid : string |
void | begin_transaction_sub(Control control)
Add a log for transaction beginning for a sub coordinator
Log is :
TR_BEGIN : int
xid : string |
void | changeLog()
At 0:0, the log must be changed. |
void | commit_begin(XID xid)
Add a log for transaction commit beginning
Log is :
TR_COMMIT_BEGIN : int
xid : string |
void | commit_end(XID xid, Status status)
Add a log for transaction commit ending
Log is :
TR_COMMIT_END : int
xid : string
status : int |
void | commit_one_phase_begin(XID xid, Resource resource)
Add a log for transaction one phase commit begin
Log is :
TR_COMMIT_ONE : int
xid : string
resource : ior |
void | commit_resource(XID xid, Resource resource)
Add a log for transaction commit resource
Log is :
TR_COMMIT_RESOURCE : int
xid : string
resource : ior |
void | completed(XID xid)
Add a log for transaction completion ( abort or commit )
Log is :
TR_COMPLETED : int
xid : string |
static Writer | getOut() |
static void | newWriter(ORB orb, boolean recovery, Logger logger) |
void | prepare_begin(XID xid)
Add a log for transaction prepare beginning
Log is :
TR_PREPARE_BEGIN : int
xid : string |
void | prepare_end(XID xid, Status status, Vote vote)
Add a log for transaction prepare ending
Log is :
TR_PREPARE_END : int
xid : string
status : int
vote : int |
void | prepare_resource(XID xid, Resource resource, Vote vote)
Add a log for transaction resource prepare
Log is :
TR_PREPARE_RESOURCE : int
xid : string
resource : ior
vote : int |
void | previous_log(String previous_log_name)
Add a log for a previous log.
|
void | recovery()
Add a log for a recovery. |
void | recovery_completed() |
void | register_resource(XID xid, Resource resource)
Add a log for transaction resource registration
Log is :
TR_REGISTER : int
xid : string
resource : ior |
void | rollback_begin(XID xid)
Add a log for transaction rollback beginning
Log is :
TR_ROLLBACK_BEGIN : int
xid : string |
void | rollback_end(XID xid, Status status)
Add a log for transaction rollback ending
Log is :
TR_ROLLBACK_END : int
xid : string
status : int |
void | rollback_only(XID xid)
Add a log for a rollback only invocation
Log is :
TR_ROLLBACK_ONLY : int
xid : string |
void | rollback_resource(XID xid, Resource resource)
Add a log for transaction rollback
Log is :
TR_ROLLBACK_RESOURCE : int
xid : string
resource : ior |
void | uncompleted(XID xid)
Add a log for transaction uncompletion ( when we change log )
Log is :
TR_UNCOMPLETED : int
xid : string |