| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final ByteBuffer | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected synchronized void | |
| public synchronized void | |
| public synchronized boolean | Returns: true if the event fitted into the queue, false otherwisePut an event into the queue. |
| event_size | back to summary |
|---|---|
| private final int event_size | |
| queue | back to summary |
|---|---|
| private final ByteBuffer queue | |
| QUEUE_SIZE | back to summary |
|---|---|
| private static final int QUEUE_SIZE | |
| EventQueue | back to summary |
|---|---|
| protected EventQueue(int event_size) | |
| clearEvents | back to summary |
|---|---|
| protected synchronized void clearEvents() | |
| copyEvents | back to summary |
|---|---|
| public synchronized void copyEvents(ByteBuffer dest) Copy available events into the specified buffer. | |
| putEvent | back to summary |
|---|---|
| public synchronized boolean putEvent(ByteBuffer event) Put an event into the queue.
| |