Package com.sun.xml.ws.util
Class Pool.TubePool
- java.lang.Object
-
- com.sun.xml.ws.util.Pool<Tube>
-
- com.sun.xml.ws.util.Pool.TubePool
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.sun.xml.ws.util.Pool
Pool.Marshaller, Pool.TubePool, Pool.Unmarshaller
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected Tubecreate()Creates a new instance of object.TubetakeMaster()Deprecated.Expected to be used in rare cases where access to master tubeline is required and safe, such as Stub.close()."
-
-
-
Constructor Detail
-
TubePool
public TubePool(Tube master)
-
-
Method Detail
-
create
protected Tube create()
Description copied from class:PoolCreates a new instance of object.This method is used when someone wants to
takean object from an empty pool.Also note that multiple threads may call this method concurrently.
-
takeMaster
@Deprecated public final 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
-
-