|
J avolution v3.7 (J2SE 1.5+) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavolution.realtime.Realtime.ObjectSpace
public static class Realtime.ObjectSpace
This class represents an object space which determinates when object recycling occurs.
HEAP: Associated memory recycled through garbage collection
when the object is not reachable (default).STACK: Recycled when the current thread exits the scope of
the PoolContext where the object has been
"factory produced".HOLD: Not recycled, moved back to its original space when
internal preserve count drops to zero.
| Field Summary | |
|---|---|
static Realtime.ObjectSpace |
HEAP
Identifies the heap space;
objects are accessible by all; they are indirectly recycled
through garbage collection (default space). |
static Realtime.ObjectSpace |
HOLD
Identifies the hold space; objects are accessible by all; they are moved back to their original space when not held anymore (internal counter). |
static Realtime.ObjectSpace |
OUTER
Identifies the current outer object space;
it is the object space after exiting
the current PoolContext (typically the HEAP
or another STACK space). |
static Realtime.ObjectSpace |
STACK
Identifies the stack space;
objects are accessible by the current thread only;
they are recycled when the current thread
exits the PoolContext scope
where the object has been factory produced. |
| Constructor Summary | |
|---|---|
Realtime.ObjectSpace()
Default constructor (allows extension). |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Realtime.ObjectSpace HEAP
heap space;
objects are accessible by all; they are indirectly recycled
through garbage collection (default space).
public static final Realtime.ObjectSpace STACK
stack space;
objects are accessible by the current thread only;
they are recycled when the current thread
exits the PoolContext scope
where the object has been factory produced.
public static final Realtime.ObjectSpace OUTER
outer object space;
it is the object space after exiting
the current PoolContext (typically the HEAP
or another STACK space).
public static final Realtime.ObjectSpace HOLD
| Constructor Detail |
|---|
public Realtime.ObjectSpace()
|
J avolution v3.7 (J2SE 1.5+) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||