Ejemplo n.º 1
0
 @Override
 public void fireEvent(final Event event) {
   if (event instanceof ClockTick) {
     for (final TransactionState tx : TransactionState.outstanding.values()) {
       if (tx.isExpired()) {
         tx.cleanup();
         LOG.error("Found expired TxHandle: " + tx);
         LOG.error(tx.owner);
       }
     }
   }
 }