Package | Description |
---|---|
org.apache.accumulo.core.conf |
Modifier and Type | Field and Description |
---|---|
static EnumSet<Property> |
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 Property |
Property.getPropertyByKey(String key)
Gets a
Property instance with the given key. |
static Property |
Property.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Property[] |
Property.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static <T> T |
Property.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 |
Property.createTableInstanceFromPropertyName(AccumuloConfiguration conf,
Property property,
Class<T> base,
T defaultInstance)
Creates a new instance of a class specified in a configuration property.
|
String |
SiteConfiguration.get(Property property) |
String |
DefaultConfiguration.get(Property property) |
String |
ConfigurationCopy.get(Property property) |
abstract String |
AccumuloConfiguration.get(Property property)
Gets a property value from this configuration.
|
Map<String,String> |
AccumuloConfiguration.getAllPropertiesWithPrefix(Property property)
Gets all properties under the given prefix in this configuration.
|
long |
AccumuloConfiguration.getAsBytes(Property property)
Gets a property of type
PropertyType.BYTES or PropertyType.MEMORY , interpreting
the value properly. |
boolean |
AccumuloConfiguration.getBoolean(Property property)
Gets a property of type
PropertyType.BOOLEAN , interpreting the value properly (using
Boolean.parseBoolean() ). |
int |
AccumuloConfiguration.getCount(Property property)
Gets a property of type
PropertyType.COUNT , interpreting the value properly (as an
integer). |
double |
AccumuloConfiguration.getFraction(Property property)
Gets a property of type
PropertyType.FRACTION , interpreting the value properly. |
String |
AccumuloConfiguration.getPath(Property property)
Gets a property of type
PropertyType.PATH , interpreting the value properly, replacing
supported environment variables. |
int[] |
AccumuloConfiguration.getPort(Property property)
Gets a property of type
PropertyType.PORT , interpreting the value properly (as an
integer within the range of non-privileged ports). |
long |
AccumuloConfiguration.getTimeInMillis(Property property)
Gets a property of type
PropertyType.TIMEDURATION , interpreting the value properly. |
static boolean |
Property.isFixedZooPropertyKey(Property key)
Checks if the given property may be changed via Zookeeper, but not recognized until the restart
of some relevant daemon.
|
boolean |
SiteConfiguration.isPropertySet(Property prop) |
boolean |
DefaultConfiguration.isPropertySet(Property prop) |
boolean |
AccumuloConfiguration.isPropertySet(Property prop) |
void |
SiteConfiguration.set(Property property,
String value)
Sets a property.
|
void |
ConfigurationCopy.set(Property prop,
String value)
Sets a property in this configuration.
|
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.