public class EtcdPropertySource
extends org.apache.tamaya.mutableconfig.propertysources.AbstractMutablePropertySource
etcd.prefix as system property maps the etcd based onfiguration
to this prefix namespace. Etcd servers are configured as etcd.server.urls system or environment property.
ETcd can be disabled by setting tamaya.etcdprops.disable either as env or system property.| Constructor and Description |
|---|
EtcdPropertySource() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
commitInternal(org.apache.tamaya.mutableconfig.propertysources.ConfigChangeContext context) |
org.apache.tamaya.spi.PropertyValue |
get(String key) |
int |
getDefaultOrdinal()
Returns the default ordinal used, when no ordinal is set, or the ordinal was not parseable to an int value.
|
String |
getName() |
int |
getOrdinal() |
Map<String,String> |
getProperties() |
boolean |
isScannable() |
public int getOrdinal()
getOrdinal in interface org.apache.tamaya.spi.PropertySourcegetOrdinal in class org.apache.tamaya.spisupport.BasePropertySourcepublic int getDefaultOrdinal()
getDefaultOrdinal in class org.apache.tamaya.spisupport.BasePropertySourcepublic String getName()
public org.apache.tamaya.spi.PropertyValue get(String key)
get in interface org.apache.tamaya.spi.PropertySourceget in class org.apache.tamaya.spisupport.BasePropertySourcepublic boolean isScannable()
isScannable in interface org.apache.tamaya.spi.PropertySourceisScannable in class org.apache.tamaya.spisupport.BasePropertySourceprotected void commitInternal(org.apache.tamaya.mutableconfig.propertysources.ConfigChangeContext context)
commitInternal in class org.apache.tamaya.mutableconfig.propertysources.AbstractMutablePropertySourceCopyright © 2014–2016 Apache Software Foundation. All rights reserved.