org.infinispan.client.hotrod.configuration.ExhaustedAction Maven / Gradle / Ivy
The newest version!
package org.infinispan.client.hotrod.configuration;
/**
* Enumeration for whenExhaustedAction. Order is important, as the underlying commons-pool uses a byte to represent values
* ExhaustedAction.
*
* @author Tristan Tarrant
* @since 5.3
*/
public enum ExhaustedAction {
EXCEPTION, // GenericKeyedObjectPool.WHEN_EXHAUSTED_FAIL
WAIT, // GenericKeyedObjectPool.WHEN_EXHAUSTED_BLOCK
CREATE_NEW // GenericKeyedObjectPool.WHEN_EXHAUSTED_GROW
}