Package jfun.yan.factory

This package provides interfaces and classes for factory and pool functionality.

See:
          Description

Interface Summary
Factory<T> Represents an object factory.
Pool<T> Represents a pooling strategy for certain object instance.
 

Class Summary
CachingPool<T> A thread-unsafe implementation of Pool that does simple caching.
GlobalScope<T> Represents a pooling strategy that pools the data in a variable that's global to all threads.
PooledFactory<T> This class decorates a Factory object that uses a Pool strategy to cache the factory result;
SimplePool<T> A simple implementation of Pool that uses null to indicate non-existent pool entry.
ThreadLocalScope<T> Represents a pooling strategy that pools the data into a ThreadLocal object.
 

Package jfun.yan.factory Description

This package provides interfaces and classes for factory and pool functionality.

Package Specification

The code is developed and tested under Java 1.4.

Related Documentation

For overviews, tutorials, examples, guides, and tool documentation, please see README.txt: