Package 

Class Pools


  • 
    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
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public interface Pools.Pool

      Interface for managing a pool of objects.

      public class Pools.SimplePool

      Simple (non-synchronized) pool of objects.

      public class Pools.SynchronizedPool

      Synchronized) pool of objects.