|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.wiley.posa3.evictor.NetworkElement
NetworkElement is a resource that can be evicted and therefore implements the EvictionInterface.
| Constructor Summary | |
NetworkElement()
|
|
| Method Summary | |
void |
beforeEviction()
The beforeEviction() method serves as a hook method that can be called by the Evictor before it evicts an object. |
java.lang.Object |
info()
The info() method is used by the Evictor to extract strategy-specific information from the object, to determine whether or not to evict it. |
boolean |
isEvictable()
The method isEvictable() is used to determine whether this network element is evictable. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public NetworkElement()
| Method Detail |
public boolean isEvictable()
isEvictable in interface EvictionInterfacepublic java.lang.Object info()
info in interface EvictionInterfacepublic void beforeEviction()
beforeEviction in interface EvictionInterface
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||