public ReaperThread (TransactionReaper arg) { reaperObject = arg; sleepPeriod = reaperObject.checkingPeriod(); _shutdown = false; }
public ReaperThread (TransactionReaper arg) { super("Transaction Reaper"); reaperObject = arg; sleepPeriod = reaperObject.checkingPeriod(); _shutdown = false; }
public ReaperThread (TransactionReaper arg) { super("Transaction Reaper"); reaperObject = arg; sleepPeriod = reaperObject.checkingPeriod(); _shutdown = false; }
public ReaperThread (TransactionReaper arg) { super("Transaction Reaper"); reaperObject = arg; sleepPeriod = reaperObject.checkingPeriod(); _shutdown = false; }
public ReaperThread (TransactionReaper arg) { super("Transaction Reaper"); reaperObject = arg; sleepPeriod = reaperObject.checkingPeriod(); _shutdown = false; }
public ReaperThread (TransactionReaper arg) { super("Transaction Reaper"); reaperObject = arg; sleepPeriod = reaperObject.checkingPeriod(); _shutdown = false; }
public ReaperThread (TransactionReaper arg) { super("Transaction Reaper"); reaperObject = arg; sleepPeriod = reaperObject.checkingPeriod(); _shutdown = false; }
public ReaperThread (TransactionReaper arg) { super("Transaction Reaper"); reaperObject = arg; sleepPeriod = reaperObject.checkingPeriod(); _shutdown = false; }
public ReaperThread (TransactionReaper arg) { super("Transaction Reaper"); reaperObject = arg; sleepPeriod = reaperObject.checkingPeriod(); _shutdown = false; }
public ReaperThread (TransactionReaper arg) { super("Transaction Reaper"); reaperObject = arg; sleepPeriod = reaperObject.checkingPeriod(); _shutdown = false; }
public ReaperThread (TransactionReaper arg) { super("Transaction Reaper"); reaperObject = arg; sleepPeriod = reaperObject.checkingPeriod(); _shutdown = false; }
sleepPeriod = reaperObject.checkingPeriod();
sleepPeriod = reaperObject.checkingPeriod();
sleepPeriod = reaperObject.checkingPeriod();
sleepPeriod = reaperObject.checkingPeriod();
sleepPeriod = reaperObject.checkingPeriod();
sleepPeriod = reaperObject.checkingPeriod();
sleepPeriod = reaperObject.checkingPeriod();
public GlobalTransactionInfo getGlobalInfo () throws SystemException { GlobalTransactionInfo info = new GlobalTransactionInfo(); info.totalNumberOfTransactions = (int)com.arjuna.ats.arjuna.coordinator.TxStats.getInstance().getNumberOfTransactions(); info.numberOfCommittedTransactions = (int)com.arjuna.ats.arjuna.coordinator.TxStats.getInstance().getNumberOfCommittedTransactions(); info.numberOfAbortedTransactions = (int)com.arjuna.ats.arjuna.coordinator.TxStats.getInstance().getNumberOfAbortedTransactions(); if (info.totalNumberOfTransactions > 0) info.averageLifetime = (float) (TransactionReaper.transactionLifetime() / info.totalNumberOfTransactions); else info.averageLifetime = (float) 0.0; info.numberOfHeuristics = (int)com.arjuna.ats.arjuna.coordinator.TxStats.getInstance().getNumberOfHeuristics(); TransactionReaper reaper = TransactionReaper.transactionReaper(); if (reaper.checkingPeriod() == Long.MAX_VALUE) info.reaperTimeout = 0; else info.reaperTimeout = (int) reaper.checkingPeriod(); info.defaultTimeout = TxControl.getDefaultTimeout(); return info; }
public GlobalTransactionInfo getGlobalInfo () throws SystemException { GlobalTransactionInfo info = new GlobalTransactionInfo(); info.totalNumberOfTransactions = (int)com.arjuna.ats.arjuna.coordinator.TxStats.getInstance().getNumberOfTransactions(); info.numberOfCommittedTransactions = (int)com.arjuna.ats.arjuna.coordinator.TxStats.getInstance().getNumberOfCommittedTransactions(); info.numberOfAbortedTransactions = (int)com.arjuna.ats.arjuna.coordinator.TxStats.getInstance().getNumberOfAbortedTransactions(); if (info.totalNumberOfTransactions > 0) info.averageLifetime = (float) (TransactionReaper.transactionLifetime() / info.totalNumberOfTransactions); else info.averageLifetime = (float) 0.0; info.numberOfHeuristics = (int)com.arjuna.ats.arjuna.coordinator.TxStats.getInstance().getNumberOfHeuristics(); TransactionReaper reaper = TransactionReaper.transactionReaper(); if (reaper.checkingPeriod() == Long.MAX_VALUE) info.reaperTimeout = 0; else info.reaperTimeout = (int) reaper.checkingPeriod(); info.defaultTimeout = TxControl.getDefaultTimeout(); return info; }