|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Pool | |
|---|---|
| jfun.yan | Basic component combinators and containers. |
| jfun.yan.factory | This package provides interfaces and classes for factory and pool functionality. |
| Uses of Pool in jfun.yan |
|---|
| Methods in jfun.yan with parameters of type Pool | ||
|---|---|---|
static
|
Components.singleton(Component<T> cc,
Pool<T> scope)
Create a new Component object that utilizes singleton pattern within the scope of the provided Pool object. |
|
Component |
DecoratingComponent.singleton(Pool scope)
|
|
Component<T> |
Component.singleton(Pool scope)
Create a new Component that utilizes singleton pattern within a scope specified by the provided Pool object when creating instance. |
|
| Uses of Pool in jfun.yan.factory |
|---|
| Classes in jfun.yan.factory that implement Pool | |
|---|---|
class |
CachingPool<T>
A thread-unsafe implementation of Pool that does simple caching. |
class |
GlobalScope<T>
Represents a pooling strategy that pools the data in a variable that's global to all threads. |
class |
SimplePool<T>
A simple implementation of Pool that uses null to indicate non-existent pool entry. |
class |
ThreadLocalScope<T>
Represents a pooling strategy that pools the data into a ThreadLocal object. |
| Constructors in jfun.yan.factory with parameters of type Pool | |
|---|---|
PooledFactory(Factory<T> factory,
Pool<T> pool)
|
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||