@Override public void handleCancelled(AsyncFuture<? extends T> asyncFuture, Object attachment) { handler.removeActiveOperation(operationId); callback.cancelled(); ProtocolLogger.ROOT_LOGGER.debugf("cancelled operation (%d) attachment: (%s) handler: %s.", getOperationId(), getAttachment(), handler); } }, null);
@Override public void handleCancelled(AsyncFuture<? extends T> asyncFuture, Object attachment) { handler.removeActiveOperation(operationId); callback.cancelled(); ProtocolLogger.ROOT_LOGGER.debugf("cancelled operation (%d) attachment: (%s) handler: %s.", getOperationId(), getAttachment(), handler); } }, null);
@Override public void handleComplete(AsyncFuture<? extends T> asyncFuture, Object attachment) { try { callback.completed(asyncFuture.get()); } catch (Exception e) { // } }
@Override public void handleComplete(AsyncFuture<? extends T> asyncFuture, Object attachment) { try { callback.completed(asyncFuture.get()); } catch (Exception e) { // } }
@Override public void handleCancelled(AsyncFuture<? extends T> asyncFuture, Object attachment) { removeActiveOperation(operationId); callback.cancelled(); ProtocolLogger.ROOT_LOGGER.debugf("cancelled operation (%d) attachment: (%s) this: %s.", getOperationId(), getAttachment(), ActiveOperationSupport.this); } }, null);
@Override public void handleComplete(AsyncFuture<? extends T> asyncFuture, Object attachment) { try { callback.completed(asyncFuture.get()); } catch (Exception e) { // } }