org.glassfish.grizzly
Interface ProcessorExecutor
- All Superinterfaces:
- Executor
- All Known Implementing Classes:
- CurrentThreadExecutor, WorkerThreadExecutor
public interface ProcessorExecutor
- extends Executor
Executor, which is reponsible for running ProcessorRunnable.
Executors should be aware whether they spawn new Thread(s) or use
the current one.
- Author:
- Alexey Stashok
isCurrentThreadExecutor
boolean isCurrentThreadExecutor()
- Returns true if
ProcessorExecutor uses current
Thread to run I/O event processing, or false otherwise.
- Returns:
- true if
ProcessorExecutor uses current
Thread to run I/O event processing, or false otherwise.
Copyright © 2009 SUN Microsystems. All Rights Reserved.