|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Context | |
---|---|
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 | Provides high-performance collection classes and miscellaneous utilities; although
this package provides very few collection classes, they are substitutes for
most of java.util.* classes (for example, java.util.IdentityHashMap would be
a FastMap with an identity key comparator). |
Uses of Context in javolution.context |
---|
Subclasses of Context in javolution.context | |
---|---|
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 ). |
Fields in javolution.context declared as Context | |
---|---|
static Context |
Context.ROOT
Holds the root context. |
Methods in javolution.context that return Context | |
---|---|
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). |
Methods in javolution.context with parameters of type Context | |
---|---|
static void |
Context.enter(Context context)
Enters the specified context. |
static void |
Context.exit(Context context)
Exits the specified context. |
Method parameters in javolution.context with type arguments of type Context | |
---|---|
static void |
Context.enter(Class<? extends Context> contextType)
Enters a context of specified type, this context is factory produced and automatically recycled
upon exit . |
static void |
Context.exit(Class<? extends Context> contextType)
Exits the current context (the outer context
becomes the current context). |
Uses of Context in javolution.testing |
---|
Subclasses of Context in javolution.testing | |
---|---|
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. |
Uses of Context in javolution.util |
---|
Subclasses of Context in javolution.util | |
---|---|
class |
StandardLog
This class represents a specialized logging context forwarding events to a standard logger ( java.util.logging.Logger ). |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |