|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openjena.atlas.lib.PoolBase<T>
org.openjena.atlas.lib.PoolSync<T>
public class PoolSync<T>
Synchronization wrapper for a pool
| Constructor Summary | |
|---|---|
PoolSync()
|
|
| Method Summary | |
|---|---|
T |
get()
Get an item from the pool - return null if the pool is empty |
boolean |
isEmpty()
|
void |
put(T item)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PoolSync()
| Method Detail |
|---|
public final void put(T item)
put in interface Pool<T>put in class PoolBase<T>public final T get()
PoolBase
get in interface Pool<T>get in class PoolBase<T>public final boolean isEmpty()
isEmpty in interface Pool<T>isEmpty in class PoolBase<T>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||