#include <src/main/decaf/internal/util/concurrent/TransferStack.h>
Performs a put.
- Parameters
-
| e | the item to be handed to a consumer; |
| timed | if this operation should timeout |
| nanos | the timeout, in nanoseconds |
- Exceptions
-
| TimeoutException | if the operation timed out waiting for the consumer to accept the item offered. |
| InterruptedException | if the thread was interrupted while waiting for the consumer to accept the item offered. |
Implements decaf::internal::util::concurrent::Transferer< E >.
Performs a take.
- Parameters
-
| timed | if this operation should timeout |
| nanos | the timeout, in nanoseconds |
- Returns
- the item provided or received;
- Exceptions
-
| TimeoutException | if the operation timed out waiting for the producer to offer an item. |
| InterruptedException | if the thread was interrupted while waiting for the producer to offer an item. |
Implements decaf::internal::util::concurrent::Transferer< E >.
References NULL.
The documentation for this class was generated from the following file: