public class ExecutorPerServerAddressIOStrategy
extends org.glassfish.grizzly.strategies.AbstractIOStrategy
Executor
based on the ServerAddress of a Connection.
There's logic from WorkerThreadIOStrategy that need to be reused but unfortunately
that class cannot be override.| Constructor and Description |
|---|
ExecutorPerServerAddressIOStrategy(ExecutorProvider executorProvider) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
executeIoEvent(org.glassfish.grizzly.Connection connection,
org.glassfish.grizzly.IOEvent ioEvent,
boolean isIoEventEnabled) |
Executor |
getThreadPoolFor(org.glassfish.grizzly.Connection connection,
org.glassfish.grizzly.IOEvent ioEvent) |
public ExecutorPerServerAddressIOStrategy(ExecutorProvider executorProvider)
public boolean executeIoEvent(org.glassfish.grizzly.Connection connection,
org.glassfish.grizzly.IOEvent ioEvent,
boolean isIoEventEnabled)
throws IOException
IOExceptionpublic Executor getThreadPoolFor(org.glassfish.grizzly.Connection connection, org.glassfish.grizzly.IOEvent ioEvent)
getThreadPoolFor in interface org.glassfish.grizzly.IOStrategygetThreadPoolFor in class org.glassfish.grizzly.strategies.AbstractIOStrategyCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.