public class Slot<T>
extends java.lang.Object
Constructor | Description |
---|---|
Slot() |
Modifier and Type | Method | Description |
---|---|---|
boolean |
offer(T o) |
|
boolean |
offer(T o,
long timeoutMilis) |
|
boolean |
offer(T o,
long timeout,
java.util.concurrent.TimeUnit unit) |
|
T |
peek() |
|
T |
poll(long timeoutMillis) |
|
T |
poll(long timeout,
java.util.concurrent.TimeUnit unit) |
|
void |
put(T o) |
|
T |
take() |
public boolean offer(T o)
public boolean offer(T o, long timeoutMilis) throws java.lang.InterruptedException
java.lang.InterruptedException
public boolean offer(T o, long timeout, java.util.concurrent.TimeUnit unit) throws java.lang.InterruptedException
java.lang.InterruptedException
public T poll(long timeoutMillis) throws java.lang.InterruptedException
java.lang.InterruptedException
public T poll(long timeout, java.util.concurrent.TimeUnit unit) throws java.lang.InterruptedException
java.lang.InterruptedException
public T take() throws java.lang.InterruptedException
java.lang.InterruptedException
public void put(T o) throws java.lang.InterruptedException
java.lang.InterruptedException
public T peek()
Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 9.0.006.00
Copyright © 2006–2019 Genesys Telecommunications Laboratories, Inc. All rights reserved.