public enum PoolConcurrencyPolicy extends Enum<PoolConcurrencyPolicy>
| Enum Constant and Description | 
|---|
| LAXHigher concurrency but with lax connection max limit guarantees. | 
| STRICTStrict connection max limit guarantees. | 
| Modifier and Type | Method and Description | 
|---|---|
| static PoolConcurrencyPolicy | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static PoolConcurrencyPolicy[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final PoolConcurrencyPolicy LAX
public static final PoolConcurrencyPolicy STRICT
public static PoolConcurrencyPolicy[] values()
for (PoolConcurrencyPolicy c : PoolConcurrencyPolicy.values()) System.out.println(c);
public static PoolConcurrencyPolicy valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2005–2022 The Apache Software Foundation. All rights reserved.