|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.sgs.impl.service.data.ReferenceTable
final class ReferenceTable
Stores information about managed references within a particular transaction. This class is logically part of the ManagedReferenceImpl class.
| Constructor Summary | |
|---|---|
ReferenceTable(boolean trackStaleObjects)
Creates an instance of this class. |
|
| Method Summary | |
|---|---|
(package private) void |
add(ManagedReferenceImpl<?> ref)
Adds a new managed reference to this table. |
(package private) void |
checkAllState()
Checks the consistency of this table, throwing an assertion error if a problem is found. |
(package private) ManagedReferenceImpl<?> |
find(long oid)
Finds the managed reference associated with an object ID, returning null if no reference is found. |
(package private) ManagedReferenceImpl<?> |
find(ManagedObject object)
Finds the managed reference associated with a managed object, returning null if no reference is found. |
(package private) FlushInfo |
flushModifiedObjects()
Flushes all references. |
(package private) long |
nextNewObjectId(long oid)
Returns the next object ID in the reference table of a newly created object, or -1 if none is found. |
(package private) void |
registerObject(ManagedReferenceImpl<?> ref)
Updates this table for a reference that has been newly associated with an object. |
(package private) void |
remove(ManagedReferenceImpl<?> ref)
Removes a managed reference from this table. |
(package private) void |
unregisterObject(ManagedObject object)
Updates this table for a reference that is no longer associated with an object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
ReferenceTable(boolean trackStaleObjects)
trackStaleObjects - whether to track stale objects| Method Detail |
|---|
ManagedReferenceImpl<?> find(ManagedObject object)
ManagedReferenceImpl<?> find(long oid)
void add(ManagedReferenceImpl<?> ref)
void registerObject(ManagedReferenceImpl<?> ref)
void unregisterObject(ManagedObject object)
void remove(ManagedReferenceImpl<?> ref)
long nextNewObjectId(long oid)
FlushInfo flushModifiedObjects()
void checkAllState()
|
RedDwarf, Version 0.10.1 2010-03-14 10:56:12 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||