org.glassfish.grizzly.IOStrategy , which executes org.glassfish.grizzly.Processor s in a current
thread.
| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final SameThreadIOStrategy | |
| private static final SameThreadIOStrategy. | |
| private static final SameThreadIOStrategy. | |
| private static final Logger |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public ThreadPoolConfig | |
| public boolean | executeIoEvent(final Connection<L> connection, final IOEvent ioEvent, final boolean isIoEventEnabled)
Implements org. The |
| public static SameThreadIOStrategy | |
| public Executor | getThreadPoolFor(final Connection<L> connection, final IOEvent ioEvent)
Overrides org. Implements org. Returns an |
| INSTANCE | back to summary |
|---|---|
| private static final SameThreadIOStrategy INSTANCE | |
| LIFECYCLE_LISTENER_WHEN_IO_DISABLED | back to summary |
|---|---|
| private static final SameThreadIOStrategy. | |
| LIFECYCLE_LISTENER_WHEN_IO_ENABLED | back to summary |
|---|---|
| private static final SameThreadIOStrategy. | |
| logger | back to summary |
|---|---|
| private static final Logger logger | |
| SameThreadIOStrategy | back to summary |
|---|---|
| private SameThreadIOStrategy() | |
| createDefaultWorkerPoolConfig | back to summary |
|---|---|
| public ThreadPoolConfig createDefaultWorkerPoolConfig(final Transport transport) Overrides org. Implements org.
| |
| executeIoEvent | back to summary |
|---|---|
| public boolean executeIoEvent(final Connection<L> connection, final IOEvent ioEvent, final boolean isIoEventEnabled) throws IOException Implements org. Doc from org. The
| |
| getInstance | back to summary |
|---|---|
| public static SameThreadIOStrategy getInstance() | |
| getThreadPoolFor | back to summary |
|---|---|
| public Executor getThreadPoolFor(final Connection<L> connection, final IOEvent ioEvent) Overrides org. Implements org. Doc from org. Returns an
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | onComplete(final Context context, final Object data)
Overrides org. Implements org.
|
| public void | onReregister(final Context context)
Overrides org. Implements org. Reregister |
| InterestLifeCycleListenerWhenIoDisabled | back to summary |
|---|---|
| private InterestLifeCycleListenerWhenIoDisabled() | |
| onComplete | back to summary |
|---|---|
| public void onComplete(final Context context, final Object data) throws IOException Overrides org. Implements org. Doc from org.
| |
| onReregister | back to summary |
|---|---|
| public void onReregister(final Context context) throws IOException Overrides org. Implements org. Doc from org. Reregister
| |
| Access | Constructor and Description |
|---|---|
| private |
| InterestLifeCycleListenerWhenIoEnabled | back to summary |
|---|---|
| private InterestLifeCycleListenerWhenIoEnabled() | |
| disableIOEvent | back to summary |
|---|---|
| private static void disableIOEvent(final Context context) throws IOException | |
| onComplete | back to summary |
|---|---|
| public void onComplete(final Context context, final Object data) throws IOException Overrides org. Implements org. Doc from org.
| |
| onContextManualIOEventControl | back to summary |
|---|---|
| public void onContextManualIOEventControl(final Context context) throws IOException Overrides org. Implements org. Doc from org. Processing switched to the manual IOEvent control.
| |
| onContextSuspend | back to summary |
|---|---|
| public void onContextSuspend(final Context context) throws IOException Overrides org. Implements org. Doc from org.
| |
| onReregister | back to summary |
|---|---|
| public void onReregister(final Context context) throws IOException Overrides org. Implements org. Doc from org. Reregister
| |