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
IOException
public Executor getThreadPoolFor(org.glassfish.grizzly.Connection connection, org.glassfish.grizzly.IOEvent ioEvent)
getThreadPoolFor
in interface org.glassfish.grizzly.IOStrategy
getThreadPoolFor
in class org.glassfish.grizzly.strategies.AbstractIOStrategy
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.