Top Description Fields Methods
org.glassfish.grizzly.memory

public Interface DefaultMemoryManagerFactory


Allows creation/customization of MemoryManager implementation to be used as the MemoryManager#DEFAULT_MEMORY_MANAGER. Specify a custom DefaultMemoryManagerFactory implementation using a JVM system property org.glassfish.grizzly.MEMORY_MANAGER_FACTORY. Implementations of this interface will be created by invoking its no-arg constructor.
Since
3.0

Field Summary

Modifier and TypeField and Description
public static final String

Method Summary

Modifier and TypeMethod and Description
public MemoryManager<E extends Buffer>
createMemoryManager()

Returns: the MemoryManager that should be used as the value of MemoryManager#DEFAULT_MEMORY_MANAGER.

Field Detail

DMMF_PROP_NAMEback to summary
public static final String DMMF_PROP_NAME

Method Detail

createMemoryManagerback to summary
public MemoryManager<E extends Buffer> createMemoryManager()
Returns:MemoryManager<E extends Buffer>

the MemoryManager that should be used as the value of MemoryManager#DEFAULT_MEMORY_MANAGER. This method should return null if the MemoryManager could not be created.