- All Known Implementing Classes:
AbstractMemoryManager,ByteBufferManager,HeapMemoryManager
public interface ThreadLocalPoolProvider
This interface may be implemented by custom
MemoryManager implementations in order to provide per-thread
memory management.
When Grizzly managed threads are created, if the MemoryManager implements this interface,
createThreadLocalPool() will be invoked and the resulting ThreadLocalPool will be passed to the
Thread.- Since:
- 2.0
-
Method Summary
-
Method Details
-
createThreadLocalPool
ThreadLocalPool createThreadLocalPool()- Returns:
- a new
ThreadLocalPoolimplementation. This method must return a newThreadLocalPoolinstance per invocation.
-