Package | Description |
---|---|
javolution.context |
Provides real-time
Context to facilitate
separation of concerns and achieve higher level of performance and
code predictability. |
Modifier and Type | Method and Description |
---|---|
static <T> ObjectFactory<T> |
ObjectFactory.getInstance(Class<T> forClass)
Returns a factory implementation producing instances of the specified
class.
|
Modifier and Type | Method and Description |
---|---|
protected Allocator |
PoolContext.getAllocator(ObjectFactory factory) |
protected Allocator |
HeapContext.getAllocator(ObjectFactory factory) |
protected abstract Allocator |
AllocatorContext.getAllocator(ObjectFactory factory)
Returns the allocator for the specified factory in this context.
|
protected Allocator |
ImmortalContext.getAllocator(ObjectFactory factory) |
static <T> void |
ObjectFactory.setInstance(ObjectFactory<T> factory,
Class<T> forClass)
Sets explicitely the factory to be used for the specified class
(see
getInstance(java.lang.Class<T>) ). |
Copyright © 2005–2015 Javolution. All rights reserved.