public interface Pool
Modifier and Type | Method and Description |
---|---|
boolean |
exists(Object key)
checks if Object exists in Pool
|
PoolHandler |
get(Object key)
gets a Object from the pool
|
boolean |
remove(Object key)
remove a Object from the pool
|
void |
set(Object key,
PoolHandler handler)
adds a new object to the pool, if object is already in the Pool, it will be overwritten
|
void set(Object key, PoolHandler handler)
key
- key for the Objectshandler
- pool handler objectPoolHandler get(Object key)
key
- key for the Objectsboolean exists(Object key)
key
- key for the ObjectsCopyright © 2015 Lucee