org.wildfly.swarm.config.datasources.FlushStrategy Maven / Gradle / Ivy
package org.wildfly.swarm.config.datasources;
public enum FlushStrategy {
FAILINGCONNECTIONONLY("FailingConnectionOnly"), INVALIDIDLECONNECTIONS(
"InvalidIdleConnections"), IDLECONNECTIONS("IdleConnections"), GRACEFULLY(
"Gracefully"), ENTIREPOOL("EntirePool"), ALLINVALIDIDLECONNECTIONS(
"AllInvalidIdleConnections"), ALLIDLECONNECTIONS(
"AllIdleConnections"), ALLGRACEFULLY("AllGracefully"), ALLCONNECTIONS(
"AllConnections");
private final String allowedValue;
/**
* Returns the allowed value for the management model.
*
* @return the allowed model value
*/
public String getAllowedValue() {
return allowedValue;
}
FlushStrategy(java.lang.String allowedValue) {
this.allowedValue = allowedValue;
}
@Override
public String toString() {
return allowedValue;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy