|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.sasl.common.pool.AbstractPool.PoolEntry<V>
protected static class AbstractPool.PoolEntry<V>
| Constructor Summary | |
|---|---|
AbstractPool.PoolEntry(V value,
int referenceCounter)
Initializes the pool entry with the given values. |
|
| Method Summary | |
|---|---|
void |
decrementReferenceCounter()
Decrements the reference counter of the pool entry. |
int |
getReferenceCounter()
Returns the current value of the reference counter. |
V |
getValue()
Returns the value that this entry stores. |
void |
incrementReferenceCounter()
Increments the reference counter of the pool entry. |
boolean |
isGarbage()
Returns true, if the reference counter of the entry is zero (=garbage). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractPool.PoolEntry(V value,
int referenceCounter)
value - null or non null.referenceCounter - intial value.| Method Detail |
|---|
public V getValue()
public void incrementReferenceCounter()
public void decrementReferenceCounter()
public int getReferenceCounter()
public boolean isGarbage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||