AsyncQueue processors.
| Modifier and Type | Class and Description |
|---|---|
| public static enum |
| Modifier and Type | Field and Description |
|---|---|
| public static final String |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public boolean | Returns: true, if there is ready data, or false otherwise.Checks whether there is ready data in |
| public void | onClose(Connection<L> connection)
Callback method, which is called, when |
| public AsyncQueue. | Returns: AsyncResult, depending on async queue status.Callback method, which is called async. |
| EXPECTING_MORE_OPTION | back to summary |
|---|---|
| public static final String EXPECTING_MORE_OPTION | |
| close | back to summary |
|---|---|
| public void close() Close AsyncQueueProcessor and release associated resources | |
| isReady | back to summary |
|---|---|
| public boolean isReady(Connection<L> connection) Checks whether there is ready data in
| |
| onClose | back to summary |
|---|---|
| public void onClose(Connection<L> connection) Callback method, which is called, when
| |
| processAsync | back to summary |
|---|---|
| public AsyncQueue. Callback method, which is called async. to process ready
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final AsyncQueue. | |
| public static final AsyncQueue. | |
| public static final AsyncQueue. | |
| private final ProcessorResult | |
| public static final AsyncQueue. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public ProcessorResult | |
| public static AsyncQueue. | |
| public static AsyncQueue. |
| COMPLETE | back to summary |
|---|---|
| public static final AsyncQueue. | |
| EXPECTING_MORE | back to summary |
|---|---|
| public static final AsyncQueue. | |
| INCOMPLETE | back to summary |
|---|---|
| public static final AsyncQueue. | |
| result | back to summary |
|---|---|
| private final ProcessorResult result | |
| TERMINATE | back to summary |
|---|---|
| public static final AsyncQueue. | |
| AsyncResult | back to summary |
|---|---|
| private AsyncResult(final ProcessorResult result) | |
| toProcessorResult | back to summary |
|---|---|
| public ProcessorResult toProcessorResult() | |
| valueOf | back to summary |
|---|---|
| public static AsyncQueue. | |
| values | back to summary |
|---|---|
| public static AsyncQueue. | |