コード例 #1
0
ファイル: EntityWrapper.java プロジェクト: sjones4/eucalyptus
 @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);
       }
     }
   }
 }
コード例 #2
0
 @Override
 public void onWebSocketClose(int statusCode, String reason) {
   LOG.debug("onWebSocketClose({}, {})", statusCode, reason);
   this.closeStatusCode = statusCode;
   this.closeReason = reason;
   closeLatch.countDown();
 }