public boolean existsPool ( String poolId , Iterable < BatchClientBehavior > additionalBehaviors ) throws BatchErrorException , IOException { PoolExistsOptions options = new PoolExistsOptions ( ) ; BehaviorManager bhMgr = new BehaviorManager ( this . customBehaviors ( ) , additionalBehaviors ) ; bhMgr . applyRequestBehaviors ( options ) ; return this . parentBatchClient . protocolLayer ( ) . pools ( ) . exists ( poolId , options ) ; }
Checks whether the specified pool exists .