|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.ref.Reference<T>
java.lang.ref.WeakReference<PublicObject>
object.LookupReference
public class LookupReference
A class which allows us to keep HLA information about objects which have been garbage collected by the local JVM. A weak reference holds information on an object but does not prevent that object from being finalized by the JVM garbage collector. A LookupReference adds RTI handle information to this. This is used by HLA_RePast to issue deleteObjectInstance events when an object dissapears from the local model.
Constructor Summary | |
---|---|
LookupReference(PublicObject ob)
|
Method Summary | |
---|---|
int |
getID()
|
boolean |
isGCd()
|
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.ref.Reference |
---|
clear, enqueue, get, isEnqueued |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LookupReference(PublicObject ob)
Method Detail |
---|
public boolean isGCd()
public int getID()
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |