Search in sources :

Example 1 with ScnTxnPos

use of com.linkedin.databus.core.ScnTxnPos in project databus by linkedin.

the class GGXMLTrailTransactionFinder method reset.

@Override
public void reset() {
    _txnPos = new ScnTxnPos();
    _prevTxnPos = new ScnTxnPos();
    _currFile = null;
    _currFileByteOffset = 0;
    _currLineNumber = 0;
    _numTxnsSeen = 0;
    _numInvalidTxnsSeen = 0;
    _txnEndSeen = false;
    _beginTxnSeen = false;
    _firstTxnSeen = false;
    _currTxnStr.setLength(0);
    _queryRateMonitor = new RateMonitor("XPath_GGTransactionFinder");
    _queryRateMonitor.start();
    _queryRateMonitor.suspend();
    _rateMonitor = new RateMonitor("GGTransactionFinder");
    _rateMonitor.start();
    _rateMonitor.suspend();
}
Also used : RateMonitor(com.linkedin.databus.core.util.RateMonitor) ScnTxnPos(com.linkedin.databus.core.ScnTxnPos)

Aggregations

ScnTxnPos (com.linkedin.databus.core.ScnTxnPos)1 RateMonitor (com.linkedin.databus.core.util.RateMonitor)1