OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:tryTransfer
(Results
1 - 5
of
5
) sorted by null
/libcore/luni/src/main/java/java/util/concurrent/
TransferQueue.java
21
* {@linkplain #
tryTransfer
(Object) Non-blocking} and
22
* {@linkplain #
tryTransfer
(Object,long,TimeUnit) time-out} versions of
23
* {@code
tryTransfer
} are also available.
57
boolean
tryTransfer
(E e);
105
boolean
tryTransfer
(E e, long timeout, TimeUnit unit)
LinkedTransferQueue.java
554
private static final int NOW = 0; // for untimed poll,
tryTransfer
557
private static final int TIMED = 3; // for timed poll,
tryTransfer
[
all
...]
/libcore/jsr166-tests/src/test/java/jsr166/
LinkedTransferQueueTest.java
840
*
tryTransfer
(null) throws NullPointerException
845
q.
tryTransfer
(null);
851
*
tryTransfer
returns false and does not enqueue if there are no
856
assertFalse(q.
tryTransfer
(new Object()));
862
* If there is a consumer waiting in timed poll,
tryTransfer
875
assertTrue(q.
tryTransfer
(hotPotato));
884
* If there is a consumer waiting in take,
tryTransfer
returns
897
assertTrue(q.
tryTransfer
(hotPotato));
906
*
tryTransfer
blocks interruptibly if no takers
917
q.
tryTransfer
(new Object(), LONG_DELAY_MS, MILLISECONDS)
[
all
...]
/prebuilts/sdk/current/
android.jar
/prebuilts/sdk/system_current/
android.jar
Completed in 740 milliseconds