|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensaml.xml.util.IndexingObjectStore.StoredObjectWrapper
private class IndexingObjectStore.StoredObjectWrapper
Wrapper class that keeps track of the reference count for a stored object.
| Field Summary | |
|---|---|
private T |
object
The stored object. |
private int |
referenceCount
The object reference count. |
| Constructor Summary | |
|---|---|
IndexingObjectStore.StoredObjectWrapper(T wrappedObject)
Constructor. |
|
| Method Summary | |
|---|---|
void |
decremementReferenceCount()
Decrements the current reference count by one. |
T |
getObject()
Gets the wrapped object. |
int |
getReferenceCount()
Gets the current reference count. |
void |
incremementReferenceCount()
Increments the current reference count by one. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private T object
private int referenceCount
| Constructor Detail |
|---|
public IndexingObjectStore.StoredObjectWrapper(T wrappedObject)
wrappedObject - the object being wrapped| Method Detail |
|---|
public T getObject()
public int getReferenceCount()
public void incremementReferenceCount()
public void decremementReferenceCount()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||