public enum Property extends Enum<Property>
Modifier and Type | Field and Description |
---|---|
static EnumSet<Property> |
HOT_PATH_PROPERTIES
Properties we check the value of within the TabletServer request handling or maintenance
processing loops.
|
Modifier and Type | Method and Description |
---|---|
static <T> T |
createInstanceFromPropertyName(AccumuloConfiguration conf,
Property property,
Class<T> base,
T defaultInstance)
Creates a new instance of a class specified in a configuration property.
|
static <T> T |
createTableInstanceFromPropertyName(AccumuloConfiguration conf,
Property property,
Class<T> base,
T defaultInstance)
Creates a new instance of a class specified in a configuration property.
|
static Map<String,String> |
getCompactionStrategyOptions(AccumuloConfiguration tableConf)
Collects together properties from the given configuration pertaining to compaction strategies.
|
String |
getDefaultValue()
Gets the default value for this property.
|
String |
getDescription()
Gets the description of this property.
|
String |
getKey()
Gets the key (string) for this property.
|
static Property |
getPropertyByKey(String key)
Gets a
Property instance with the given key. |
String |
getRawDefaultValue()
Gets the default value for this property exactly as provided in its definition (i.e., without
interpolation or conversion to absolute paths).
|
PropertyType |
getType()
Gets the type of this property.
|
static boolean |
isClassProperty(String key)
Checks if this property is expected to have a Java class as a value.
|
boolean |
isDeprecated()
Checks if this property is deprecated.
|
boolean |
isExperimental()
Checks if this property is experimental.
|
static boolean |
isFixedZooPropertyKey(Property key)
Checks if the given property may be changed via Zookeeper, but not recognized until the restart
of some relevant daemon.
|
boolean |
isSensitive()
Checks if this property is sensitive.
|
static boolean |
isSensitive(String key)
Checks if a property with the given key is sensitive.
|
static boolean |
isValidPropertyKey(String key)
Checks if the given property key is valid.
|
static boolean |
isValidTablePropertyKey(String key)
Checks if the given property key is for a valid table property.
|
static boolean |
isValidZooPropertyKey(String key)
Checks if the given property key is valid for a property that may be changed via Zookeeper.
|
String |
toString() |
static Property |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Property[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Property RPC_PREFIX
public static final Property RPC_SSL_KEYSTORE_PATH
public static final Property RPC_SSL_KEYSTORE_PASSWORD
public static final Property RPC_SSL_KEYSTORE_TYPE
public static final Property RPC_SSL_TRUSTSTORE_PATH
public static final Property RPC_SSL_TRUSTSTORE_PASSWORD
public static final Property RPC_SSL_TRUSTSTORE_TYPE
public static final Property RPC_USE_JSSE
public static final Property RPC_SSL_CIPHER_SUITES
public static final Property RPC_SSL_ENABLED_PROTOCOLS
public static final Property RPC_SSL_CLIENT_PROTOCOL
public static final Property RPC_SASL_QOP
public static final Property INSTANCE_PREFIX
public static final Property INSTANCE_ZK_HOST
public static final Property INSTANCE_ZK_TIMEOUT
@Deprecated public static final Property INSTANCE_DFS_URI
@Deprecated public static final Property INSTANCE_DFS_DIR
public static final Property INSTANCE_SECRET
public static final Property INSTANCE_VOLUMES
public static final Property INSTANCE_VOLUMES_REPLACEMENTS
public static final Property INSTANCE_SECURITY_AUTHENTICATOR
public static final Property INSTANCE_SECURITY_AUTHORIZOR
public static final Property INSTANCE_SECURITY_PERMISSION_HANDLER
public static final Property INSTANCE_RPC_SSL_ENABLED
public static final Property INSTANCE_RPC_SSL_CLIENT_AUTH
public static final Property INSTANCE_RPC_SASL_ENABLED
public static final Property INSTANCE_RPC_SASL_ALLOWED_USER_IMPERSONATION
public static final Property INSTANCE_RPC_SASL_ALLOWED_HOST_IMPERSONATION
public static final Property INSTANCE_CRYPTO_PREFIX
public static final Property INSTANCE_CRYPTO_SENSITIVE_PREFIX
public static final Property INSTANCE_CRYPTO_SERVICE
public static final Property GENERAL_PREFIX
@Deprecated public static final Property GENERAL_CLASSPATHS
public static final Property GENERAL_DYNAMIC_CLASSPATHS
public static final Property GENERAL_RPC_TIMEOUT
public static final Property GENERAL_RPC_SERVER_TYPE
public static final Property GENERAL_KERBEROS_KEYTAB
public static final Property GENERAL_KERBEROS_PRINCIPAL
public static final Property GENERAL_KERBEROS_RENEWAL_PERIOD
public static final Property GENERAL_MAX_MESSAGE_SIZE
public static final Property GENERAL_SIMPLETIMER_THREADPOOL_SIZE
public static final Property GENERAL_VOLUME_CHOOSER
public static final Property GENERAL_SECURITY_CREDENTIAL_PROVIDER_PATHS
public static final Property GENERAL_LEGACY_METRICS
public static final Property GENERAL_ARBITRARY_PROP_PREFIX
public static final Property GENERAL_DELEGATION_TOKEN_LIFETIME
public static final Property GENERAL_DELEGATION_TOKEN_UPDATE_INTERVAL
public static final Property GENERAL_MAX_SCANNER_RETRY_PERIOD
public static final Property MASTER_PREFIX
public static final Property MASTER_CLIENTPORT
public static final Property MASTER_TABLET_BALANCER
public static final Property MASTER_BULK_RETRIES
public static final Property MASTER_BULK_THREADPOOL_SIZE
public static final Property MASTER_BULK_TIMEOUT
public static final Property MASTER_BULK_RENAME_THREADS
public static final Property MASTER_BULK_TSERVER_REGEX
public static final Property MASTER_MINTHREADS
public static final Property MASTER_THREADCHECK
public static final Property MASTER_RECOVERY_DELAY
public static final Property MASTER_LEASE_RECOVERY_WAITING_PERIOD
public static final Property MASTER_WALOG_CLOSER_IMPLEMETATION
public static final Property MASTER_FATE_THREADPOOL_SIZE
public static final Property MASTER_REPLICATION_SCAN_INTERVAL
public static final Property MASTER_REPLICATION_COORDINATOR_PORT
public static final Property MASTER_REPLICATION_COORDINATOR_MINTHREADS
public static final Property MASTER_REPLICATION_COORDINATOR_THREADCHECK
public static final Property MASTER_STATUS_THREAD_POOL_SIZE
public static final Property MASTER_METADATA_SUSPENDABLE
public static final Property TSERV_PREFIX
public static final Property TSERV_CLIENT_TIMEOUT
public static final Property TSERV_DEFAULT_BLOCKSIZE
public static final Property TSERV_CACHE_MANAGER_IMPL
public static final Property TSERV_DATACACHE_SIZE
public static final Property TSERV_INDEXCACHE_SIZE
public static final Property TSERV_SUMMARYCACHE_SIZE
public static final Property TSERV_PORTSEARCH
public static final Property TSERV_CLIENTPORT
public static final Property TSERV_TOTAL_MUTATION_QUEUE_MAX
public static final Property TSERV_TABLET_SPLIT_FINDMIDPOINT_MAXOPEN
public static final Property TSERV_WALOG_MAX_SIZE
public static final Property TSERV_WALOG_MAX_AGE
public static final Property TSERV_WALOG_TOLERATED_CREATION_FAILURES
public static final Property TSERV_WALOG_TOLERATED_WAIT_INCREMENT
public static final Property TSERV_WALOG_TOLERATED_MAXIMUM_WAIT_DURATION
public static final Property TSERV_MAJC_DELAY
public static final Property TSERV_MAJC_THREAD_MAXOPEN
public static final Property TSERV_SCAN_MAX_OPENFILES
public static final Property TSERV_MAX_IDLE
public static final Property TSERV_NATIVEMAP_ENABLED
public static final Property TSERV_MAXMEM
public static final Property TSERV_MEM_MGMT
public static final Property TSERV_SESSION_MAXIDLE
public static final Property TSERV_UPDATE_SESSION_MAXIDLE
@Deprecated public static final Property TSERV_READ_AHEAD_MAXCONCURRENT
@Deprecated public static final Property TSERV_METADATA_READ_AHEAD_MAXCONCURRENT
public static final Property TSERV_SCAN_EXECUTORS_PREFIX
public static final Property TSERV_SCAN_EXECUTORS_DEFAULT_THREADS
public static final Property TSERV_SCAN_EXECUTORS_DEFAULT_PRIORITIZER
public static final Property TSERV_SCAN_EXECUTORS_META_THREADS
public static final Property TSERV_MIGRATE_MAXCONCURRENT
public static final Property TSERV_MAJC_MAXCONCURRENT
public static final Property TSERV_MAJC_THROUGHPUT
public static final Property TSERV_MINC_MAXCONCURRENT
public static final Property TSERV_MAJC_TRACE_PERCENT
public static final Property TSERV_MINC_TRACE_PERCENT
public static final Property TSERV_COMPACTION_WARN_TIME
public static final Property TSERV_BLOOM_LOAD_MAXCONCURRENT
public static final Property TSERV_MONITOR_FS
public static final Property TSERV_MEMDUMP_DIR
public static final Property TSERV_BULK_PROCESS_THREADS
public static final Property TSERV_BULK_ASSIGNMENT_THREADS
public static final Property TSERV_BULK_RETRY
public static final Property TSERV_BULK_TIMEOUT
public static final Property TSERV_MINTHREADS
public static final Property TSERV_THREADCHECK
public static final Property TSERV_MAX_MESSAGE_SIZE
public static final Property TSERV_HOLD_TIME_SUICIDE
public static final Property TSERV_WAL_BLOCKSIZE
public static final Property TSERV_WAL_REPLICATION
public static final Property TSERV_RECOVERY_MAX_CONCURRENT
public static final Property TSERV_SORT_BUFFER_SIZE
public static final Property TSERV_WORKQ_THREADS
public static final Property TSERV_WAL_SYNC
@Deprecated public static final Property TSERV_WAL_SYNC_METHOD
public static final Property TSERV_ASSIGNMENT_DURATION_WARNING
public static final Property TSERV_REPLICATION_REPLAYERS
public static final Property TSERV_REPLICATION_DEFAULT_HANDLER
public static final Property TSERV_REPLICATION_BW_REPLAYER_MEMORY
public static final Property TSERV_ASSIGNMENT_MAXCONCURRENT
public static final Property TSERV_SLOW_FLUSH_MILLIS
public static final Property TSERV_SUMMARY_PARTITION_THREADS
public static final Property TSERV_SUMMARY_REMOTE_THREADS
public static final Property TSERV_SUMMARY_RETRIEVAL_THREADS
public static final Property GC_PREFIX
public static final Property GC_CYCLE_START
public static final Property GC_CYCLE_DELAY
public static final Property GC_PORT
public static final Property GC_DELETE_THREADS
public static final Property GC_TRASH_IGNORE
public static final Property GC_TRACE_PERCENT
public static final Property MONITOR_PREFIX
public static final Property MONITOR_PORT
public static final Property MONITOR_LOG4J_PORT
public static final Property MONITOR_SSL_KEYSTORE
public static final Property MONITOR_SSL_KEYSTOREPASS
public static final Property MONITOR_SSL_KEYSTORETYPE
public static final Property MONITOR_SSL_KEYPASS
public static final Property MONITOR_SSL_TRUSTSTORE
public static final Property MONITOR_SSL_TRUSTSTOREPASS
public static final Property MONITOR_SSL_TRUSTSTORETYPE
public static final Property MONITOR_SSL_INCLUDE_CIPHERS
public static final Property MONITOR_SSL_EXCLUDE_CIPHERS
public static final Property MONITOR_SSL_INCLUDE_PROTOCOLS
public static final Property MONITOR_LOCK_CHECK_INTERVAL
public static final Property MONITOR_RESOURCES_EXTERNAL
public static final Property TRACE_PREFIX
public static final Property TRACE_SPAN_RECEIVERS
public static final Property TRACE_SPAN_RECEIVER_PREFIX
public static final Property TRACE_ZK_PATH
public static final Property TRACE_PORT
public static final Property TRACE_TABLE
public static final Property TRACE_USER
public static final Property TRACE_PASSWORD
public static final Property TRACE_TOKEN_PROPERTY_PREFIX
public static final Property TRACE_TOKEN_TYPE
public static final Property TABLE_PREFIX
public static final Property TABLE_ARBITRARY_PROP_PREFIX
public static final Property TABLE_MAJC_RATIO
public static final Property TABLE_MAJC_COMPACTALL_IDLETIME
public static final Property TABLE_SPLIT_THRESHOLD
public static final Property TABLE_MAX_END_ROW_SIZE
public static final Property TABLE_MINC_LOGS_MAX
public static final Property TABLE_MINC_COMPACT_IDLETIME
public static final Property TABLE_MINC_MAX_MERGE_FILE_SIZE
public static final Property TABLE_SCAN_DISPATCHER
public static final Property TABLE_SCAN_DISPATCHER_OPTS
public static final Property TABLE_SCAN_MAXMEM
public static final Property TABLE_FILE_TYPE
public static final Property TABLE_LOAD_BALANCER
public static final Property TABLE_FILE_COMPRESSION_TYPE
public static final Property TABLE_FILE_COMPRESSED_BLOCK_SIZE
public static final Property TABLE_FILE_COMPRESSED_BLOCK_SIZE_INDEX
public static final Property TABLE_FILE_BLOCK_SIZE
public static final Property TABLE_FILE_REPLICATION
public static final Property TABLE_FILE_MAX
public static final Property TABLE_FILE_SUMMARY_MAX_SIZE
@Deprecated public static final Property TABLE_WALOG_ENABLED
public static final Property TABLE_BLOOM_ENABLED
public static final Property TABLE_BLOOM_LOAD_THRESHOLD
public static final Property TABLE_BLOOM_SIZE
public static final Property TABLE_BLOOM_ERRORRATE
public static final Property TABLE_BLOOM_KEY_FUNCTOR
public static final Property TABLE_BLOOM_HASHTYPE
public static final Property TABLE_DURABILITY
public static final Property TABLE_FAILURES_IGNORE
public static final Property TABLE_DEFAULT_SCANTIME_VISIBILITY
public static final Property TABLE_LOCALITY_GROUPS
public static final Property TABLE_CONSTRAINT_PREFIX
public static final Property TABLE_INDEXCACHE_ENABLED
public static final Property TABLE_BLOCKCACHE_ENABLED
public static final Property TABLE_ITERATOR_PREFIX
public static final Property TABLE_ITERATOR_SCAN_PREFIX
public static final Property TABLE_ITERATOR_MINC_PREFIX
public static final Property TABLE_ITERATOR_MAJC_PREFIX
public static final Property TABLE_LOCALITY_GROUP_PREFIX
public static final Property TABLE_FORMATTER_CLASS
public static final Property TABLE_INTERPRETER_CLASS
public static final Property TABLE_CLASSPATH
public static final Property TABLE_COMPACTION_STRATEGY
public static final Property TABLE_COMPACTION_STRATEGY_PREFIX
public static final Property TABLE_REPLICATION
public static final Property TABLE_REPLICATION_TARGET
public static final Property TABLE_SAMPLER
public static final Property TABLE_SAMPLER_OPTS
public static final Property TABLE_SUSPEND_DURATION
public static final Property TABLE_SUMMARIZER_PREFIX
public static final Property TABLE_DELETE_BEHAVIOR
public static final Property VFS_CLASSLOADER_SYSTEM_CLASSPATH_PROPERTY
public static final Property VFS_CONTEXT_CLASSPATH_PROPERTY
public static final Property VFS_CLASSLOADER_CACHE_DIR
public static final Property REPLICATION_PREFIX
public static final Property REPLICATION_PEERS
public static final Property REPLICATION_PEER_USER
public static final Property REPLICATION_PEER_PASSWORD
public static final Property REPLICATION_PEER_KEYTAB
public static final Property REPLICATION_NAME
public static final Property REPLICATION_MAX_WORK_QUEUE
public static final Property REPLICATION_WORK_ASSIGNMENT_SLEEP
public static final Property REPLICATION_WORKER_THREADS
public static final Property REPLICATION_RECEIPT_SERVICE_PORT
public static final Property REPLICATION_WORK_ATTEMPTS
public static final Property REPLICATION_MIN_THREADS
public static final Property REPLICATION_THREADCHECK
public static final Property REPLICATION_MAX_UNIT_SIZE
public static final Property REPLICATION_WORK_ASSIGNER
public static final Property REPLICATION_DRIVER_DELAY
public static final Property REPLICATION_WORK_PROCESSOR_DELAY
public static final Property REPLICATION_WORK_PROCESSOR_PERIOD
public static final Property REPLICATION_TRACE_PERCENT
public static final Property REPLICATION_RPC_TIMEOUT
public static Property[] values()
for (Property c : Property.values()) System.out.println(c);
public static Property valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getKey()
public String getRawDefaultValue()
public String getDefaultValue()
public PropertyType getType()
public String getDescription()
public boolean isExperimental()
public boolean isDeprecated()
public boolean isSensitive()
public static boolean isSensitive(String key)
key
- property keypublic static boolean isValidPropertyKey(String key)
key
- property keypublic static boolean isValidTablePropertyKey(String key)
TABLE_PREFIX
) or has a prefix matching TABLE_CONSTRAINT_PREFIX
,
TABLE_ITERATOR_PREFIX
, or TABLE_LOCALITY_GROUP_PREFIX
.key
- property keypublic static boolean isFixedZooPropertyKey(Property key)
key
- property keypublic static boolean isValidZooPropertyKey(String key)
key
- property keypublic static Property getPropertyByKey(String key)
Property
instance with the given key.key
- property keypublic static boolean isClassProperty(String key)
public static <T> T createTableInstanceFromPropertyName(AccumuloConfiguration conf, Property property, Class<T> base, T defaultInstance)
conf
- configuration containing propertyproperty
- property specifying class namebase
- base class of typedefaultInstance
- instance to use if creation failsAccumuloVFSClassLoader
public static <T> T createInstanceFromPropertyName(AccumuloConfiguration conf, Property property, Class<T> base, T defaultInstance)
conf
- configuration containing propertyproperty
- property specifying class namebase
- base class of typedefaultInstance
- instance to use if creation failsAccumuloVFSClassLoader
public static Map<String,String> getCompactionStrategyOptions(AccumuloConfiguration tableConf)
TABLE_COMPACTION_STRATEGY_PREFIX
.
In the returned map, the prefix is removed from each property's key.tableConf
- configurationCopyright © 2011–2018 The Apache Software Foundation. All rights reserved.