Java API Reference for Oracle? Coherence Community Edition
(14.1.1.0.20)
- Summary:
- Nested |
- Field |
- Constr |
- Method
- Detail:
- Field |
- Constr |
- Method
-
-
Method Summary
All Methods Instance Methods Abstract Methods
Modifier and Type |
Method and Description |
E |
poll()
Removes and returns the next element, or returns null if none is present.
|
E |
poll(long timeout,
TimeUnit unit)
Removes and returns the next element, or returns null upon timeout.
|
-
-
Method Detail
-
poll
E poll(long timeout,
TimeUnit unit)
throws InterruptedException
Removes and returns the next element, or returns null upon timeout.
- Parameters:
timeout
- how long to wait before giving up, in units of
unit
unit
- a TimeUnit determining how to interpret the
timeout parameter
- Returns:
- the next element or null
- Throws:
InterruptedException
- if interrupted while waiting
Java API Reference for Oracle? Coherence Community Edition
(14.1.1.0.20)
- Summary:
- Nested |
- Field |
- Constr |
- Method
- Detail:
- Field |
- Constr |
- Method
Copyright © 2000, 2025, Oracle and/or its affiliates. Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.