Home | History | Annotate | Download | only in concurrent

Lines Matching refs:sync

68   private final Sync<V> sync = new Sync<V>();
96 return sync.get(unit.toNanos(timeout));
116 return sync.get();
121 return sync.isDone();
126 return sync.isCancelled();
131 if (!sync.cancel(mayInterruptIfRunning)) {
160 return sync.wasInterrupted();
176 * {@link AbstractFuture.Sync#COMPLETED} and invoke the listeners if the
183 boolean result = sync.set(value);
193 * {@link AbstractFuture.Sync#COMPLETED} and invoke the listeners if the
200 boolean result = sync.setException(checkNotNull(throwable));
212 * Sync state, and the lock is released whenever the state changes to
224 static final class Sync<V> extends AbstractQueuedSynchronizer {