public static enum RuntimeConfig.Field extends java.lang.Enum<RuntimeConfig.Field> implements ConfigField
Enum Constant and Description |
---|
BFS_ITERATE_QUE_TASK_SIZE
task size for BFS iterate QUE phase
|
BFS_THRESHOLD_READ_BASED
threshold of BFS traversal level items to switch to read-based visiting strategy
|
BFS_THRESHOLD_SINGLE_THREADED
until what number of BFS traversal level items vertices are visited single-threaded
|
CHARACTER_SET
standard charset to use throughout PGX, UTF-8 will be used as default.
|
CNI_DIFF_FACTOR_DEFAULT
default diff factor value used in the common neighbor iterator implementations.
|
CNI_SMALL_DEFAULT
default value used in the common neighbor iterator implementations, to indicate below which threshold a subarray is considered small.
|
CNI_STOP_RECURSION_DEFAULT
default value used in the common neighbor iterator implementations, to indicate the minimum size where the binary search approach is applied.
|
DFS_THRESHOLD_LARGE
value that determines at which number of visited vertices the DFS implementation will switch to data-structures that are more optimized for larger numbers of vertices.
|
ENABLE_SOLARIS_STUDIO_LABELING
[relevant when profiling with solaris studio] when enabled, label experiments using the 'er_label' command
|
ENTERPRISE_SCHEDULER_FLAGS
[relevant for enterprise_scheduler] enterprise scheduler specific settings.
|
EXPLICIT_SPIN_LOCKS
true means spin explicitly in a loop until lock becomes available. |
LARGE_ARRAY_THRESHOLD
threshold when the size of an array is too big to use a normal Java array.
|
MAX_OFF_HEAP_SIZE
maximum amount of off-heap memory PGX is allowed to allocate in megabytes, before an OutOfMemoryError will be thrown.
|
MEMORY_ALLOCATOR
which memory allocator to use
|
MS_BFS_FRONTIER_TYPE_STRATEGY
the type strategy to use for MS-BFS frontiers
|
NUM_SPIN_LOCKS
how many spin locks each generated app will create at instantiation.
|
PARALLELISM
number of worker threads to be used in thread pool.
|
PATTERN_MATCHING_SUPERNODE_CACHE_THRESHOLD
minimum number of a node's neighbor to be a supernode.
|
RANDOM_GENERATOR_STRATEGY
method of generating random numbers in pgx
|
RANDOM_SEED
[relevant for deterministic random number generator only] seed for the deterministic random number generator used in pgx.
|
REVISIT_THRESHOLD
maximum number of matched results from a node to be cached
|
SCHEDULER
which scheduler to use.
|
SMALL_TASK_LENGTH
task length if total amount of work is small than default task length (only relevant for task-stealing strategies)
|
TASK_LENGTH
default task length (only relevant for task-stealing strategies).
|
USE_STRING_POOL
If
true , PGX will store string properties in a pool in order to consume less memory on string properties |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getDefaultVal()
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.
|
boolean |
isArray()
Checks if this field is an array.
|
boolean |
isPath()
Checks if this field is a path.
|
boolean |
isRequired()
Checks if this field is required.
|
java.lang.String |
toKey()
Get the key of this field, which is how this field is represented in serialized form.
|
java.lang.String |
toString() |
static RuntimeConfig.Field |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RuntimeConfig.Field[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
isEnum, isPrimitive
public static final RuntimeConfig.Field BFS_ITERATE_QUE_TASK_SIZE
public static final RuntimeConfig.Field BFS_THRESHOLD_READ_BASED
public static final RuntimeConfig.Field BFS_THRESHOLD_SINGLE_THREADED
public static final RuntimeConfig.Field CHARACTER_SET
public static final RuntimeConfig.Field CNI_DIFF_FACTOR_DEFAULT
public static final RuntimeConfig.Field CNI_SMALL_DEFAULT
public static final RuntimeConfig.Field CNI_STOP_RECURSION_DEFAULT
public static final RuntimeConfig.Field DFS_THRESHOLD_LARGE
public static final RuntimeConfig.Field ENABLE_SOLARIS_STUDIO_LABELING
public static final RuntimeConfig.Field ENTERPRISE_SCHEDULER_FLAGS
public static final RuntimeConfig.Field EXPLICIT_SPIN_LOCKS
true
means spin explicitly in a loop until lock becomes available. false
means using JDK locks which rely on the JVM to decide whether to context switch or spin. Our experiments showed that setting this value to true
results in better performance.public static final RuntimeConfig.Field LARGE_ARRAY_THRESHOLD
Integer.MAX_VALUE - 3
)public static final RuntimeConfig.Field MAX_OFF_HEAP_SIZE
public static final RuntimeConfig.Field MEMORY_ALLOCATOR
public static final RuntimeConfig.Field MS_BFS_FRONTIER_TYPE_STRATEGY
public static final RuntimeConfig.Field NUM_SPIN_LOCKS
public static final RuntimeConfig.Field PARALLELISM
public static final RuntimeConfig.Field PATTERN_MATCHING_SUPERNODE_CACHE_THRESHOLD
public static final RuntimeConfig.Field RANDOM_GENERATOR_STRATEGY
public static final RuntimeConfig.Field RANDOM_SEED
public static final RuntimeConfig.Field REVISIT_THRESHOLD
public static final RuntimeConfig.Field SCHEDULER
public static final RuntimeConfig.Field SMALL_TASK_LENGTH
public static final RuntimeConfig.Field TASK_LENGTH
public static final RuntimeConfig.Field USE_STRING_POOL
true
, PGX will store string properties in a pool in order to consume less memory on string propertiespublic java.lang.Object getDefaultVal()
ConfigField
getDefaultVal
in interface ConfigField
public java.util.List<java.lang.String> getKeyAliases()
ConfigField
getKeyAliases
in interface ConfigField
public java.util.List<java.lang.String> getSingletonListKeyAliases()
ConfigField
getSingletonListKeyAliases
in interface ConfigField
public java.lang.Class<?> getType()
ConfigField
getType
in interface ConfigField
public boolean isArray()
ConfigField
isArray
in interface ConfigField
public boolean isPath()
ConfigField
isPath
in interface ConfigField
public boolean isRequired()
ConfigField
isRequired
in interface ConfigField
public java.lang.String toKey()
ConfigField
toKey
in interface ConfigField
public java.lang.String toString()
toString
in class java.lang.Enum<RuntimeConfig.Field>
public static RuntimeConfig.Field valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static RuntimeConfig.Field[] values()
for (RuntimeConfig.Field c : RuntimeConfig.Field.values()) System.out.println(c);
Copyright © 2017 Oracle Corp. All Rights Reserved.