Package oracle.pgx.config
Enum DataMemoryLimitsConfig.Field
- java.lang.Object
-
- java.lang.Enum<DataMemoryLimitsConfig.Field>
-
- oracle.pgx.config.DataMemoryLimitsConfig.Field
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<DataMemoryLimitsConfig.Field>,ConfigField
- Enclosing class:
- DataMemoryLimitsConfig
public static enum DataMemoryLimitsConfig.Field extends java.lang.Enum<DataMemoryLimitsConfig.Field> implements ConfigField
Fields of PGX Engine Memory Limits Config
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MAX_PER_SESSION_DATA_MEMORY_RATIOmemory limit for any one session of the PGX engine relative to the user data memory limitMAX_PER_SESSION_DATA_MEMORY_SIZEabsolute memory limit for any one session of the PGX engine, default memory unit is byte, can use (k, m, g, t, p) as suffix for (kilobyte, megabyte, gigabyte, terabyte, petabyte) unitsMAX_PER_USER_DATA_MEMORY_RATIOmemory limit for any one user of the PGX engine relative to the private data memory limitMAX_PER_USER_DATA_MEMORY_SIZEabsolute memory limit for any one user of the PGX engine, default memory unit is byte, can use (k, m, g, t, p) as suffix for (kilobyte, megabyte, gigabyte, terabyte, petabyte) unitsMAX_TOTAL_DATA_MEMORY_RATIOmemory limit across entire PGX engine relative to available system memoryMAX_TOTAL_DATA_MEMORY_SIZEabsolute memory limit across entire PGX engine, default memory unit is byte, can use (k, m, g, t, p) as suffix for (kilobyte, megabyte, gigabyte, terabyte, petabyte) unitsMAX_TOTAL_PRIVATE_DATA_MEMORY_RATIOmemory limit of private data (includes non-published graphs and PGQL results) relative to total PGX engine memory limitMAX_TOTAL_PRIVATE_DATA_MEMORY_SIZEabsolute memory limit of private data (includes non-published graphs and PGQL results), default memory unit is byte, can use (k, m, g, t, p) as suffix for (kilobyte, megabyte, gigabyte, terabyte, petabyte) unitsMAX_TOTAL_SHARED_DATA_MEMORY_RATIOmemory limit of shared data (includes published graphs and pinned non-referenced graphs) relative to total PGX engine memory limitMAX_TOTAL_SHARED_DATA_MEMORY_SIZEabsolute memory limit of shared data (includes published graphs and pinned non-referenced graphs), default memory unit is byte, can use (k, m, g, t, p) as suffix for (kilobyte, megabyte, gigabyte, terabyte, petabyte) units
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetDefaultVal()Gets the default value of this field.java.util.List<java.lang.String>getKeyAliases()Gets the key aliases of this field which are also recognized during parsing.java.util.List<java.lang.String>getSingletonListKeyAliases()Gets the key aliases of this field which contain single values for lists and are also recognized during parsing.java.lang.Class<?>getType()Gets the type of this field.booleanisArray()Checks if this field is an array.booleanisHidden()Checks if this field should be hidden.booleanisPath()Checks if this field is a path.booleanisRequired()Checks if this field is required.booleanisSensitive()Checks if this field holds a sensitive data.java.lang.StringtoKey()Get the key of this field, which is how this field is represented in serialized form.java.lang.StringtoString()static DataMemoryLimitsConfig.FieldvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static DataMemoryLimitsConfig.Field[]values()Returns an array containing the constants of this enum type, in the order they are declared.-
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
-
Methods inherited from interface oracle.pgx.config.ConfigField
isEnum, isPrimitive
-
-
-
-
Enum Constant Detail
-
MAX_TOTAL_DATA_MEMORY_SIZE
public static final DataMemoryLimitsConfig.Field MAX_TOTAL_DATA_MEMORY_SIZE
absolute memory limit across entire PGX engine, default memory unit is byte, can use (k, m, g, t, p) as suffix for (kilobyte, megabyte, gigabyte, terabyte, petabyte) units
-
MAX_TOTAL_DATA_MEMORY_RATIO
public static final DataMemoryLimitsConfig.Field MAX_TOTAL_DATA_MEMORY_RATIO
memory limit across entire PGX engine relative to available system memory
-
MAX_TOTAL_PRIVATE_DATA_MEMORY_SIZE
public static final DataMemoryLimitsConfig.Field MAX_TOTAL_PRIVATE_DATA_MEMORY_SIZE
absolute memory limit of private data (includes non-published graphs and PGQL results), default memory unit is byte, can use (k, m, g, t, p) as suffix for (kilobyte, megabyte, gigabyte, terabyte, petabyte) units
-
MAX_TOTAL_PRIVATE_DATA_MEMORY_RATIO
public static final DataMemoryLimitsConfig.Field MAX_TOTAL_PRIVATE_DATA_MEMORY_RATIO
memory limit of private data (includes non-published graphs and PGQL results) relative to total PGX engine memory limit
-
MAX_TOTAL_SHARED_DATA_MEMORY_SIZE
public static final DataMemoryLimitsConfig.Field MAX_TOTAL_SHARED_DATA_MEMORY_SIZE
absolute memory limit of shared data (includes published graphs and pinned non-referenced graphs), default memory unit is byte, can use (k, m, g, t, p) as suffix for (kilobyte, megabyte, gigabyte, terabyte, petabyte) units
-
MAX_TOTAL_SHARED_DATA_MEMORY_RATIO
public static final DataMemoryLimitsConfig.Field MAX_TOTAL_SHARED_DATA_MEMORY_RATIO
memory limit of shared data (includes published graphs and pinned non-referenced graphs) relative to total PGX engine memory limit
-
MAX_PER_USER_DATA_MEMORY_SIZE
public static final DataMemoryLimitsConfig.Field MAX_PER_USER_DATA_MEMORY_SIZE
absolute memory limit for any one user of the PGX engine, default memory unit is byte, can use (k, m, g, t, p) as suffix for (kilobyte, megabyte, gigabyte, terabyte, petabyte) units
-
MAX_PER_USER_DATA_MEMORY_RATIO
public static final DataMemoryLimitsConfig.Field MAX_PER_USER_DATA_MEMORY_RATIO
memory limit for any one user of the PGX engine relative to the private data memory limit
-
MAX_PER_SESSION_DATA_MEMORY_SIZE
public static final DataMemoryLimitsConfig.Field MAX_PER_SESSION_DATA_MEMORY_SIZE
absolute memory limit for any one session of the PGX engine, default memory unit is byte, can use (k, m, g, t, p) as suffix for (kilobyte, megabyte, gigabyte, terabyte, petabyte) units
-
MAX_PER_SESSION_DATA_MEMORY_RATIO
public static final DataMemoryLimitsConfig.Field MAX_PER_SESSION_DATA_MEMORY_RATIO
memory limit for any one session of the PGX engine relative to the user data memory limit
-
-
Method Detail
-
values
public static DataMemoryLimitsConfig.Field[] 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 (DataMemoryLimitsConfig.Field c : DataMemoryLimitsConfig.Field.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DataMemoryLimitsConfig.Field 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
-
getKeyAliases
public java.util.List<java.lang.String> getKeyAliases()
Description copied from interface:ConfigFieldGets the key aliases of this field which are also recognized during parsing.- Specified by:
getKeyAliasesin interfaceConfigField- Returns:
- the key aliases
-
getSingletonListKeyAliases
public java.util.List<java.lang.String> getSingletonListKeyAliases()
Description copied from interface:ConfigFieldGets the key aliases of this field which contain single values for lists and are also recognized during parsing.- Specified by:
getSingletonListKeyAliasesin interfaceConfigField- Returns:
- the singleton list key aliases
-
getType
public java.lang.Class<?> getType()
Description copied from interface:ConfigFieldGets the type of this field.- Specified by:
getTypein interfaceConfigField- Returns:
- the type
-
isRequired
public boolean isRequired()
Description copied from interface:ConfigFieldChecks if this field is required.- Specified by:
isRequiredin interfaceConfigField- Returns:
- true, if required
-
isArray
public boolean isArray()
Description copied from interface:ConfigFieldChecks if this field is an array.- Specified by:
isArrayin interfaceConfigField- Returns:
- true, if array
-
isPath
public boolean isPath()
Description copied from interface:ConfigFieldChecks if this field is a path.- Specified by:
isPathin interfaceConfigField- Returns:
- true, if path
-
getDefaultVal
public java.lang.Object getDefaultVal()
Description copied from interface:ConfigFieldGets the default value of this field.- Specified by:
getDefaultValin interfaceConfigField- Returns:
- the default value
-
toKey
public java.lang.String toKey()
Description copied from interface:ConfigFieldGet the key of this field, which is how this field is represented in serialized form.- Specified by:
toKeyin interfaceConfigField- Returns:
- the key.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Enum<DataMemoryLimitsConfig.Field>
-
isSensitive
public boolean isSensitive()
Description copied from interface:ConfigFieldChecks if this field holds a sensitive data.- Specified by:
isSensitivein interfaceConfigField- Returns:
- true, if use for sensitive data
-
isHidden
public boolean isHidden()
Description copied from interface:ConfigFieldChecks if this field should be hidden. Hidden fields are used to hid desired field from the user and only allow it for internal usage.- Specified by:
isHiddenin interfaceConfigField- Returns:
- true if field should be hidden, false otherwise
-
-