ExceptionMonitor.getInstance().exceptionCaught(e); } finally { disposalFuture.setValue(true);
new ServiceOperationFuture(); private volatile boolean selectable;
ExceptionMonitor.getInstance().exceptionCaught(e); } finally { disposalFuture.setValue(true);
public final void setDone() { setValue(Boolean.TRUE); }
public final boolean isDone() { return getValue() == Boolean.TRUE; }
public final void setDone() { setValue(Boolean.TRUE); }
/** * {@inheritDoc} */ @Override protected final IoFuture dispose0() throws Exception { if (!disposalFuture.isDone()) { startupWorker(); wakeup(); } return disposalFuture; }
/** * {@inheritDoc} */ @Override public final boolean isDone() { return getValue() == Boolean.TRUE; }
public final void setException(Exception exception) { if (exception == null) { throw new IllegalArgumentException("exception"); } setValue(exception); } }
public final void setDone() { setValue(Boolean.TRUE); }
public final void setException(Exception exception) { if (exception == null) { throw new NullPointerException("exception"); } setValue(exception); } }
/** * {@inheritDoc} */ @Override protected IoFuture dispose0() throws Exception { unbind(); if (!disposalFuture.isDone()) { startupAcceptor(); wakeup(); } return disposalFuture; }
/** * {@inheritDoc} */ @Override public final boolean isDone() { return getValue() == Boolean.TRUE; }
public final void setException(Exception exception) { if (exception == null) { throw new IllegalArgumentException("exception"); } setValue(exception); } }
/** * {@inheritDoc} */ @Override protected IoFuture dispose0() throws Exception { unbind(); if (!disposalFuture.isDone()) { startupAcceptor(); wakeup(); } return disposalFuture; }