|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openorb.ots.log.LogMonitor
public class LogMonitor
The log monitor is able to get information from logs a transaction. This monitor is useful for transaction managment and transaction recovery.
Constructor Summary | |
---|---|
LogMonitor(org.omg.CORBA.ORB orb,
org.apache.avalon.framework.logger.Logger logger)
Constructor |
Method Summary | |
---|---|
Resource[] |
free_resources(XID xid)
Return all free resources ( not prepared, not committed, not rolledback ) for a transaction. |
boolean |
is_any_rollback(XID xid)
Return true if one resource has rolledback |
Vote |
prepare_vote(XID xid)
Return a vote result after a prepare. |
Resource[] |
prepared_resources(XID xid)
Return all prepared resources ( not committed, not rolledback ) for a transaction. |
Resource[] |
registered_resources(XID xid)
Return all registered resources for a transaction. |
Status |
transaction_status(XID xid)
Return a transaction status |
XID[] |
uncompleted_transactions()
Return all uncompleted transactions XIDs. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LogMonitor(org.omg.CORBA.ORB orb, org.apache.avalon.framework.logger.Logger logger)
Method Detail |
---|
public Status transaction_status(XID xid)
public XID[] uncompleted_transactions()
public Resource[] registered_resources(XID xid)
public Resource[] prepared_resources(XID xid)
public Resource[] free_resources(XID xid)
public Vote prepare_vote(XID xid)
public boolean is_any_rollback(XID xid)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |