Package | Description |
---|---|
javolution.context |
Provides real-time
Context to facilitate
separation of concerns and achieve higher level of performance and
code predictability. |
javolution.testing |
Provides classes and interfaces to facilitate all aspects of testing including
unit tests, performance, regression, etc.
|
javolution.util |
Modifier and Type | Class and Description |
---|---|
class |
AllocatorContext
This class represents an allocator context; it defines the
the allocation policy of the objects produced by
ObjectFactory . |
class |
ConcurrentContext
This class represents a context to take advantage of concurrent
algorithms on multi-processors systems.
|
class |
HeapContext
This class represents the default allocator context.
|
class |
ImmortalContext
This class represents an allocator from immortal memory (RTSJ).
|
class |
LocalContext
This class represents a context to define locally scoped environment
settings.
|
class |
LogContext
This class represents a context for object-based/thread-based logging
capabilities.
|
class |
PersistentContext
This class represents a context persistent accross multiple program
executions.
|
class |
PoolContext
This class represents a shared pool context for object
allocation/recycling.
|
class |
SecurityContext
This class represents a high-level security context (low level
security being addressed by the system security manager).
|
class |
StackContext
This class represents a stack
allocator context ;
(using thread-local pools or RTSJ ScopedMemory ). |
Modifier and Type | Field and Description |
---|---|
static Context |
Context.ROOT
Holds the root context.
|
Modifier and Type | Method and Description |
---|---|
static Context |
Context.getCurrentContext()
Returns the current context for the current thread.
|
Context |
Context.getOuter()
Returns the outer context of this context or
null
if ROOT or a default context (not entered). |
Modifier and Type | Method and Description |
---|---|
static void |
Context.enter(Context context)
Enters the specified context.
|
static void |
Context.exit(Context context)
Exits the specified context.
|
Modifier and Type | Method and Description |
---|---|
static void |
Context.enter(Class<? extends Context> contextType)
|
static void |
Context.exit(Class<? extends Context> contextType)
Exits the current context (the
outer context
becomes the current context). |
Modifier and Type | Class and Description |
---|---|
class |
JUnitContext
This class represents a test context forwarding events to the
JUnit framework (e.g.
|
class |
TestContext
This class represents a logging context specialized for testing.
|
class |
TimeContext
This class represents a
test context specialized
for measuring execution time. |
Modifier and Type | Class and Description |
---|---|
class |
StandardLog
This class represents a specialized logging context forwarding events
to a standard logger (
java.util.logging.Logger ). |
Copyright © 2005–2016 Javolution. All rights reserved.