EndPoint#fillInterested(Callback)
by keeping state and calling the context and callback objects.
| Modifier and Type | Field and Description |
|---|---|
| private final AtomicReference | |
| private static final Logger |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: whether the callback was notified that a read is now possibleCall to signal that a read is now possible. |
| public Invocable. | |
| public boolean | |
| protected abstract void | needsFillInterest()
Register the read interest
Abstract method to be implemented by the Specific ReadInterest to
schedule a future call to |
| public void | |
| public boolean | |
| public void | |
| public String | |
| public String | |
| public boolean | Returns: true if the register succeededthe callback to register callback)Call to register interest in a callback when a read is possible. |
| _interested | back to summary |
|---|---|
| private final AtomicReference<Callback> _interested | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| FillInterest | back to summary |
|---|---|
| protected FillInterest() | |
| fillable | back to summary |
|---|---|
| public boolean fillable() Call to signal that a read is now possible.
| |
| getCallbackInvocationType | back to summary |
|---|---|
| public Invocable. | |
| isInterested | back to summary |
|---|---|
public boolean isInterested()
| |
| needsFillInterest | back to summary |
|---|---|
| protected abstract void needsFillInterest() throws IOException Register the read interest
Abstract method to be implemented by the Specific ReadInterest to
schedule a future call to
| |
| onClose | back to summary |
|---|---|
| public void onClose() | |
| onFail | back to summary |
|---|---|
| public boolean onFail(Throwable cause) Call to signal a failure to a registered interest | |
| register | back to summary |
|---|---|
| public void register(Callback callback) throws ReadPendingException Call to register interest in a callback when a read is possible.
The callback will be called either immediately if
| |
| toStateString | back to summary |
|---|---|
| public String toStateString() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| tryRegister | back to summary |
|---|---|
| public boolean tryRegister(Callback callback) Call to register interest in a callback when a read is possible.
The callback will be called either immediately if
| |