This module contains simple [[Pool]] for keeping different reusable objects.
Abstract [[PooledResource]] class should be extend by real resource to be kept.
[[ResourceFactory]] interface should be satisfied with object that creates your resources for your pool.
Example to use (also can be found in the package [[com.github.kopilov.abstractpool.example]]:
FactoryExample.ceylon
import com.github.kopilov.abstractpool {
ResourceFactory
}
class FactoryExample() satisfies ...
Newer Version Available
Note: this artifact is located at Ceylon repository (https://modules.ceylon-lang.org/maven/1/)
Licenses
| License | URL |
|---|---|