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
- Enclosing class:
- Pool<T>
public static final class Pool.TubePool
- extends Pool<Tube>
Tube pool.
|
Method Summary |
protected Tube |
create()
Creates a new instance of object. |
Tube |
takeMaster()
Deprecated. Expected to be used in rare cases where access to master
tubeline is required and safe, such as Stub.close()." |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Pool.TubePool
public Pool.TubePool(Tube master)
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 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
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.