Enum Class ImportantParam

java.lang.Object
java.lang.Enum<ImportantParam>
io.github.mfvanek.pg.settings.ImportantParam
All Implemented Interfaces:
ParamNameAware, Serializable, Comparable<ImportantParam>, Constable

public enum ImportantParam extends Enum<ImportantParam> implements ParamNameAware
  • Enum Constant Details

    • 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 Details

    • values

      public static ImportantParam[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ImportantParam valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getDefaultValue

      @Nonnull public String getDefaultValue()
    • getName

      @Nonnull public String getName()
      Specified by:
      getName in interface ParamNameAware
    • toString

      public String toString()
      Overrides:
      toString in class Enum<ImportantParam>