Searched defs:poll (Results 1 - 25 of 38) sorted by relevance

12

/openjdk7/jdk/src/share/classes/java/nio/file/
H A DWatchService.java43 * {@link #poll() poll} or {@link #take() take} methods to retrieve keys
93 * may not be detected by primitive implementations that periodically poll the
114 * #poll(long,TimeUnit) poll} methods waiting for a key to be queued then
139 WatchKey poll(); method in interface:WatchService
159 WatchKey poll(long timeout, TimeUnit unit) method in interface:WatchService
/openjdk7/jdk/src/share/classes/java/util/
H A DQueue.java65 * <td>{@link #poll poll()}</td>
81 * {@link #poll()}. In a FIFO queue, all new elements are inserted at
94 * <p>The {@link #remove()} and {@link #poll()} methods remove and
99 * <tt>poll()</tt> methods differ only in their behavior when the
101 * while the <tt>poll()</tt> method returns <tt>null</tt>.
117 * used as a special return value by the <tt>poll</tt> method to
185 * from {@link #poll poll} only in that it throws an exception if this
199 E poll(); method in interface:Queue
[all...]
H A DDeque.java121 * <td>{@link java.util.Queue#poll poll()}</td>
434 * This method differs from {@link #poll poll} only in that it throws an
454 E poll(); method in interface:Deque
H A DArrayDeque.java428 * This method differs from {@link #poll poll} only in that it throws an
450 public E poll() { method in class:ArrayDeque
H A DPriorityQueue.java41 * broken arbitrarily. The queue retrieval operations {@code poll},
67 * ({@code offer}, {@code poll}, {@code remove()} and {@code add});
524 lastRetElt = forgetMeNot.poll();
569 public E poll() { method in class:PriorityQueue
/openjdk7/jdk/src/share/classes/java/util/concurrent/
H A DCompletionService.java109 Future<V> poll(); method in interface:CompletionService
125 Future<V> poll(long timeout, TimeUnit unit) throws InterruptedException; method in interface:CompletionService
H A DBlockingQueue.java75 * <td>{@link #poll poll()}</td>
77 * <td>{@link #poll(long, TimeUnit) poll(time, unit)}</td>
92 * <tt>poll</tt> operations.
277 E poll(long timeout, TimeUnit unit) method in interface:BlockingQueue
H A DExecutorCompletionService.java196 public Future<V> poll() { method in class:ExecutorCompletionService
197 return completionQueue.poll();
200 public Future<V> poll(long timeout, TimeUnit unit) method in class:ExecutorCompletionService
202 return completionQueue.poll(timeout, unit);
H A DBlockingDeque.java161 * <td>{@link #poll() poll()}</td>
169 * <td>{@link #poll(long, TimeUnit) poll(time, unit)}</td>
512 * This method differs from {@link #poll poll} only in that it
531 E poll(); method in interface:BlockingDeque
557 E poll(long timeout, TimeUnit unit) method in interface:BlockingDeque
H A DDelayQueue.java46 * past. If no delay has expired there is no head and <tt>poll</tt>
50 * removed using <tt>take</tt> or <tt>poll</tt>, they are otherwise
82 * poll(...), unless some other thread becomes leader in the
181 public E poll() { method in class:DelayQueue
189 return q.poll();
213 return q.poll();
245 public E poll(long timeout, TimeUnit unit) throws InterruptedException { method in class:DelayQueue
260 return q.poll();
288 * <tt>poll</tt>, if no expired elements are available in the queue,
334 c.add(q.poll());
[all...]
H A DArrayBlockingQueue.java89 /** items index for next take, poll, peek or remove */
359 public E poll() { method in class:ArrayBlockingQueue
381 public E poll(long timeout, TimeUnit unit) throws InterruptedException { method in class:ArrayBlockingQueue
H A DConcurrentLinkedQueue.java133 * poll() that has lost its time slice.
160 * poll() and remove(Object) where the same element would appear
355 public E poll() { method in class:ConcurrentLinkedQueue
399 * This is yet another variant of poll/peek; here returning the
403 * of losing a race to a concurrent poll().
H A DLinkedBlockingQueue.java152 /** Lock held by take, poll, etc */
179 * Signals a waiting put. Called only from take/poll.
456 public E poll(long timeout, TimeUnit unit) throws InterruptedException { method in class:LinkedBlockingQueue
481 public E poll() { method in class:LinkedBlockingQueue
H A DPriorityBlockingQueue.java309 * Mechanics for poll(). Call only while holding lock.
523 public E poll() { method in class:PriorityBlockingQueue
546 public E poll(long timeout, TimeUnit unit) throws InterruptedException { method in class:PriorityBlockingQueue
/openjdk7/jdk/src/share/classes/java/lang/ref/
H A DReferenceQueue.java97 public Reference<? extends T> poll() { method in class:ReferenceQueue
/openjdk7/jdk/src/solaris/demo/jni/Poller/
H A DLinkedQueue.java122 /** Main mechanics for take/poll **/
192 public Object poll(long msecs) throws InterruptedException { method in class:LinkedQueue
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/comp/
H A DTodo.java86 public Env<AttrContext> poll() { method in class:Todo
158 public Env<AttrContext> poll() { method in class:Todo.FileQueue
/openjdk7/jdk/src/share/classes/sun/nio/fs/
H A DAbstractWatchService.java89 // re-queue in case there are other threads blocked in take/poll
96 public final WatchKey poll() { method in class:AbstractWatchService
98 WatchKey key = pendingKeys.poll();
104 public final WatchKey poll(long timeout, TimeUnit unit) method in class:AbstractWatchService
108 WatchKey key = pendingKeys.poll(timeout, unit);
156 // threads blocked in take/poll wakeup
H A DPollingWatchService.java40 * Simple WatchService implementation that uses periodic tasks to poll
52 // used to execute the periodic tasks that poll for changes
290 Runnable thunk = new Runnable() { public void run() { poll(); }};
317 synchronized void poll() { method in class:PollingWatchService.PollingWatchKey
346 // next poll
380 // entry in cache so update poll time
386 // then the key will be cancelled on the next poll
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/
H A DSessionManager.java122 Session session = objSessions.poll();
126 session = opSessions.poll();
135 Session session = opSessions.poll();
146 session = objSessions.poll();
241 Session poll() { method in class:SessionManager.Pool
/openjdk7/jdk/src/solaris/classes/sun/nio/ch/
H A DEPollPort.java42 // maximum number of events to poll at a time
60 // address of the poll array passed to epoll_wait
103 // allocate the poll array
187 * event is used to signal one consumer to re-poll when all events have
191 private Event poll() throws IOException { method in class:EPollPort.EventHandlerTask
242 // to ensure that some thread will poll when all events have
265 // poll for more.
268 ev = poll();
H A DEventPortWrapper.java60 // the poll array (populated by port_getn)
80 // descriptor is registered with /dev/poll.
147 int poll(long timeout) throws IOException { method in class:EventPortWrapper
148 // update registrations prior to poll
177 // poll for events
181 // are candidates to register for the next poll.
188 // the default is to re-associate for the next poll
H A DKQueuePort.java42 // maximum number of events to poll at a time
57 // address of the poll array passed to kqueue_wait
101 // allocate the poll array
189 * event is used to signal one consumer to re-poll when all events have
193 private Event poll() throws IOException { method in class:KQueuePort.EventHandlerTask
250 // to ensure that some thread will poll when all events have
273 // poll for more.
276 ev = poll();
H A DPollArrayWrapper.java116 int poll(int numfds, int offset, long timeout) { method in class:PollArrayWrapper
/openjdk7/jdk/src/share/classes/sun/awt/util/
H A DIdentityLinkedList.java49 * <tt>poll</tt>, along with other stack and deque operations.<p>
458 public E poll() { method in class:IdentityLinkedList

Completed in 5243 milliseconds

12