Class Pool

java.lang.Object
com.thoughtworks.xstream.core.util.Pool

public class Pool extends Object
A simple pool implementation.
Author:
Jörg Schaible, Joe Walnes
  • Constructor Details

    • Pool

      public Pool(int initialPoolSize, int maxPoolSize, Pool.Factory factory)
  • Method Details

    • fetchFromPool

      public Object fetchFromPool()
    • putInPool

      protected void putInPool(Object object)