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 | Class and Description |
---|---|
class |
HeapContext
This class represents the default allocator context.
|
class |
ImmortalContext
This class represents an allocator from immortal memory (RTSJ).
|
class |
PoolContext
This class represents a shared pool context for object
allocation/recycling.
|
class |
StackContext
This class represents a stack
allocator context ;
(using thread-local pools or RTSJ ScopedMemory ). |
Modifier and Type | Field and Description |
---|---|
static Configurable<Class<? extends AllocatorContext>> |
AllocatorContext.DEFAULT
Holds the default allocator context shared by all newly created threads
(the default is a
HeapContext instance). |
Modifier and Type | Method and Description |
---|---|
static AllocatorContext |
AllocatorContext.getCurrentAllocatorContext()
Returns the current allocator context.
|
static AllocatorContext |
AllocatorContext.getDefault()
Returns the default instance (
DEFAULT implementation). |
Copyright © 2005–2016 Javolution. All rights reserved.