Package io.github.mfvanek.pg.settings
Enum ImportantParam
- java.lang.Object
-
- java.lang.Enum<ImportantParam>
-
- io.github.mfvanek.pg.settings.ImportantParam
-
- All Implemented Interfaces:
ParamNameAware
,java.io.Serializable
,java.lang.Comparable<ImportantParam>
public enum ImportantParam extends java.lang.Enum<ImportantParam> implements ParamNameAware
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EFFECTIVE_CACHE_SIZE
IDLE_IN_TRANSACTION_SESSION_TIMEOUT
LOCK_TIMEOUT
LOG_MIN_DURATION_STATEMENT
MAINTENANCE_WORK_MEM
RANDOM_PAGE_COST
SHARED_BUFFERS
STATEMENT_TIMEOUT
TEMP_FILE_LIMIT
WORK_MEM
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDefaultValue()
java.lang.String
getName()
java.lang.String
toString()
static ImportantParam
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ImportantParam[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SHARED_BUFFERS
public static final ImportantParam SHARED_BUFFERS
-
WORK_MEM
public static final ImportantParam WORK_MEM
-
MAINTENANCE_WORK_MEM
public static final ImportantParam MAINTENANCE_WORK_MEM
-
RANDOM_PAGE_COST
public static final ImportantParam RANDOM_PAGE_COST
-
LOG_MIN_DURATION_STATEMENT
public static final ImportantParam LOG_MIN_DURATION_STATEMENT
-
IDLE_IN_TRANSACTION_SESSION_TIMEOUT
public static final ImportantParam IDLE_IN_TRANSACTION_SESSION_TIMEOUT
-
STATEMENT_TIMEOUT
public static final ImportantParam STATEMENT_TIMEOUT
-
LOCK_TIMEOUT
public static final ImportantParam LOCK_TIMEOUT
-
EFFECTIVE_CACHE_SIZE
public static final ImportantParam EFFECTIVE_CACHE_SIZE
-
TEMP_FILE_LIMIT
public static final ImportantParam TEMP_FILE_LIMIT
-
-
Method Detail
-
values
public static ImportantParam[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ImportantParam c : ImportantParam.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ImportantParam valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getDefaultValue
@Nonnull public java.lang.String getDefaultValue()
-
getName
@Nonnull public java.lang.String getName()
- Specified by:
getName
in interfaceParamNameAware
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<ImportantParam>
-
-