|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openorb.ots.log.Writer
public class Writer
This class is a log writer to save information about transaction processing.
Method Summary | |
---|---|
void |
begin_transaction_sub(Control control)
Add a log for transaction beginning for a sub coordinator Log is : TR_BEGIN : int xid : string |
void |
begin_transaction(Control control)
Add a log for transaction beginning 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(org.omg.CORBA.ORB orb,
boolean recovery,
org.apache.avalon.framework.logger.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(java.lang.String previous_log_name)
Add a log for a previous log. |
void |
recovery_completed()
|
void |
recovery()
Add a log for a recovery. |
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 |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Writer getOut()
public void recovery_completed()
public void begin_transaction(Control control)
public void begin_transaction_sub(Control control)
public void rollback_only(XID xid)
public void register_resource(XID xid, Resource resource)
public void commit_resource(XID xid, Resource resource)
public void commit_end(XID xid, Status status)
public void commit_begin(XID xid)
public void commit_one_phase_begin(XID xid, Resource resource)
public void rollback_end(XID xid, Status status)
public void rollback_begin(XID xid)
public void rollback_resource(XID xid, Resource resource)
public void prepare_resource(XID xid, Resource resource, Vote vote)
public void prepare_begin(XID xid)
public void prepare_end(XID xid, Status status, Vote vote)
public void completed(XID xid)
public void uncompleted(XID xid)
public void recovery()
public void previous_log(java.lang.String previous_log_name)
public void changeLog()
public static void newWriter(org.omg.CORBA.ORB orb, boolean recovery, org.apache.avalon.framework.logger.Logger logger)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |