Deprecated
push back logic is deprecated.
org.glassfish.grizzly.Writer refuses to accept passed WritableMessage due
to I/O or memory limitations. User may perform one of the actions proposed by the context: 1) cancel() to
cancel message writing 2) retryWhenPossible() to ask Grizzly to write the message once it's possible 3)
retryNow() to ask Grizzly to try to write message again (not suggested)
| Modifier and Type | Field and Description |
|---|---|
| protected final AsyncWriteQueueRecord |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public abstract void | |
| public PushBackHandler | Returns: PushBackHandler passed along with write(...) call.
References Deprecated
PushBackHandler is deprecated or references (maybe indirectly) at least one deprecated element.
The |
| public abstract void | |
| public abstract void | |
| public final long |
| queueRecord | back to summary |
|---|---|
| protected final AsyncWriteQueueRecord queueRecord | |
| PushBackContext | back to summary |
|---|---|
| public PushBackContext(final AsyncWriteQueueRecord queueRecord) | |
| cancel | back to summary |
|---|---|
| public abstract void cancel() Instructs Grizzly to cancel this message write and release message associated resources. | |
| getPushBackHandler | back to summary |
|---|---|
| public PushBackHandler getPushBackHandler()
References Deprecated
See corresponding docs for further information. The
| |
| retryNow | back to summary |
|---|---|
| public abstract void retryNow() Instructs Grizzly to try to resend the message right now. | |
| retryWhenPossible | back to summary |
|---|---|
| public abstract void retryWhenPossible() Instructs Grizzly to send this message once some resources get released. | |
| size | back to summary |
|---|---|
| public final long size() Returns the message size.
| |