Top Description Methods
org.glassfish.grizzly.memory

public Interface ThreadLocalPoolProvider

Known Direct Implementers
org.glassfish.grizzly.memory.AbstractMemoryManager

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

Modifier and TypeMethod and Description
public ThreadLocalPool<E>
createThreadLocalPool()

Returns: a new ThreadLocalPool implementation.

Method Detail

createThreadLocalPoolback to summary
public ThreadLocalPool<E> createThreadLocalPool()
Returns:ThreadLocalPool<E>

a new ThreadLocalPool implementation. This method must return a new ThreadLocalPool instance per invocation.