public interface IThreadPoolStrategy
Modifier and Type | Method and Description |
---|---|
int |
getThreadCount()
Get the threadcnt.
|
long |
getThreadTimeout()
Get the thread timeout.
|
boolean |
taskAdded()
Called when a new task was added to the pool.
|
boolean |
taskFinished()
Called when a task is finished.
|
boolean |
threadTimeoutOccurred()
Notify the strategy that a timeout for a thread has occurred,
i.e. it was not needed for serving some task.
|
boolean taskAdded()
boolean taskFinished()
long getThreadTimeout()
boolean threadTimeoutOccurred()
int getThreadCount()
Copyright © 2012. All Rights Reserved.