GigaSpaces XAP 10.0.1 API

com.sun.jini.collection
Interface WeakSoftTable.RemovableReference

All Known Implementing Classes:
WeakSoftTable.SoftValue, WeakSoftTable.WeakKey
Enclosing class:
WeakSoftTable

public static interface WeakSoftTable.RemovableReference

Implemented by classes to permit copying instances into reference queues when they are added to the table and to remove them from the table when the references are cleared.


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.
 

Method Detail

copy

WeakSoftTable.RemovableReference copy(ReferenceQueue queue)
Returns a copy of this instance registered with the specified queue.

Parameters:
queue - the queue with which this instance should be registered
Returns:
the copy

cleared

void cleared(Map map)
Called with the containing map when this instance's reference is cleared, to remove the associated entry from the map.

Parameters:
map - the map from which this newly cleared instance should be removed

GigaSpaces XAP 10.0.1 API

Copyright © GigaSpaces.