public synchronized void store ( long maxTxId ) throws IOException { long currentMaxTxId = get ( ) ; if ( currentMaxTxId < maxTxId ) { if ( LOG . isDebugEnabled ( ) ) { LOG . debug ( "Resetting maxTxId to " + maxTxId ) ; } set ( maxTxId ) ; } }
Store the specified transaction id in the maxTxId ZNode if the specified maxTxId is greater than the existing maxTxId .