| Modifier and Type | Class and Description |
|---|---|
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private final ContextInternal | |
| private final Map |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | close(Promise<Void>
the promise to signal when close has completed completion)Implements io. Close this resource, the |
| public static Serializer | |
| public <T> void |
| ctx | back to summary |
|---|---|
| private final ContextInternal ctx | |
| queues | back to summary |
|---|---|
| private final Map<String, Serializer. | |
| Serializer | back to summary |
|---|---|
| private Serializer(ContextInternal context) | |
| close | back to summary |
|---|---|
| public void close(Promise<Void> completion) Implements io. Doc from io. Close this resource, the | |
| get | back to summary |
|---|---|
| public static Serializer get(ContextInternal context) | |
| queue | back to summary |
|---|---|
| public <T> void queue(Message<?> message, BiConsumer<Message<?>, Promise<T>> selectHandler, Promise<T> promise) | |
| Modifier and Type | Class and Description |
|---|---|
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private boolean | |
| private boolean | |
| private final Queue |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv <U> void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void |
| address | back to summary |
|---|---|
| private final String address | |
| closed | back to summary |
|---|---|
| private boolean closed | |
| running | back to summary |
|---|---|
| private boolean running | |
| tasks | back to summary |
|---|---|
| private final Queue<Serializer. | |
| SerializerQueue | back to summary |
|---|---|
| pack-priv SerializerQueue(String address) | |
| add | back to summary |
|---|---|
| pack-priv <U> void add(Message<?> msg, BiConsumer<Message<?>, Promise<U>> selectHandler, Promise<U> promise) | |
| checkPending | back to summary |
|---|---|
| pack-priv void checkPending() | |
| close | back to summary |
|---|---|
| pack-priv void close() | |
| processed | back to summary |
|---|---|
| pack-priv void processed() | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Promise | |
| pack-priv final Message | |
| pack-priv final BiConsumer |
| Access | Constructor and Description |
|---|---|
| pack-priv | SerializedTask(ContextInternal context, Message<?> msg, BiConsumer<Message<?>, Promise<U>> selectHandler)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | handle(AsyncResult<U>
the event to handle ar)Implements io. Something has happened, so handle it. |
| pack-priv void |
| internalPromise | back to summary |
|---|---|
| pack-priv final Promise<U> internalPromise | |
| msg | back to summary |
|---|---|
| pack-priv final Message<?> msg | |
| selectHandler | back to summary |
|---|---|
| pack-priv final BiConsumer<Message<?>, Promise<U>> selectHandler | |
| SerializedTask | back to summary |
|---|---|
| pack-priv SerializedTask(ContextInternal context, Message<?> msg, BiConsumer<Message<?>, Promise<U>> selectHandler) | |
| handle | back to summary |
|---|---|
| public void handle(AsyncResult<U> ar) Implements io. Doc from io. Something has happened, so handle it.
| |
| process | back to summary |
|---|---|
| pack-priv void process() | |