Pools

Added in 1.1.0

public final class Pools


Helper class for creating pools of objects. An example use looks like this:

public class MyPooledClass {

    private static final SynchronizedPoolsPool =
            new SynchronizedPool

Summary

Nested types

public interface Pools.Pool<T>

Interface for managing a pool of objects.

public class Pools.SimplePool<T> implements Pools.Pool

Simple (non-synchronized) pool of objects.

Synchronized) pool of objects.