|
GigaSpaces XAP 10.0.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.ref.Reference<T> java.lang.ref.SoftReference com.sun.jini.collection.WeakSoftTable.SoftValue
public static class WeakSoftTable.SoftValue
A value that maintains a soft reference to an object.
Field Summary | |
---|---|
protected WeakSoftTable.WeakKey |
key
The associated key. |
Constructor Summary | |
---|---|
protected |
WeakSoftTable.SoftValue(WeakSoftTable.SoftValue softValue,
ReferenceQueue queue)
Creates a copy of the value registered with the queue. |
|
WeakSoftTable.SoftValue(WeakSoftTable.WeakKey key,
Object value)
Creates a value for the associated key that retains a soft reference to value. |
Method Summary | |
---|---|
void |
cleared(Map map)
Called with the containing map when this instance's reference is cleared, to remove the associated entry from the map. |
WeakSoftTable.RemovableReference |
copy(ReferenceQueue queue)
Returns a copy of this instance registered with the specified queue. |
Methods inherited from class java.lang.ref.SoftReference |
---|
get |
Methods inherited from class java.lang.ref.Reference |
---|
clear, enqueue, isEnqueued |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final WeakSoftTable.WeakKey key
Constructor Detail |
---|
public WeakSoftTable.SoftValue(WeakSoftTable.WeakKey key, Object value)
protected WeakSoftTable.SoftValue(WeakSoftTable.SoftValue softValue, ReferenceQueue queue)
Method Detail |
---|
public WeakSoftTable.RemovableReference copy(ReferenceQueue queue)
WeakSoftTable.RemovableReference
copy
in interface WeakSoftTable.RemovableReference
queue
- the queue with which this instance should be registered
public void cleared(Map map)
WeakSoftTable.RemovableReference
cleared
in interface WeakSoftTable.RemovableReference
map
- the map from which this newly cleared instance should be
removed
|
GigaSpaces XAP 10.0.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |