Class Pool.TubePool

java.lang.Object
com.sun.xml.ws.util.Pool<Tube>
com.sun.xml.ws.util.Pool.TubePool
Enclosing class:
Pool<T>

public static final class Pool.TubePool extends Pool<Tube>
Tube pool.
  • Constructor Details

    • TubePool

      public TubePool(Tube master)
  • Method Details

    • create

      protected Tube create()
      Description copied from class: Pool
      Creates a new instance of object.

      This method is used when someone wants to take an object from an empty pool.

      Also note that multiple threads may call this method concurrently.

      Specified by:
      create in class Pool<Tube>
    • takeMaster

      @Deprecated public Tube takeMaster()
      Deprecated.
      Expected to be used in rare cases where access to master tubeline is required and safe, such as Stub.close()."
      Returns:
      master tubeline from pool