public class RealtimeRefreshingProperties extends ReadonlyProperties implements Executable
| 限定符和类型 | 字段和说明 |
|---|---|
private RefreshingProperties |
delegate |
private int |
interval |
private static long |
serialVersionUID |
private Timer |
timer |
defaults| 构造器和说明 |
|---|
RealtimeRefreshingProperties(RefreshingProperties delegate,
int interval) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
boolean |
execute() |
Object |
get(Object key) |
String |
getProperty(String key) |
String |
getProperty(String key,
String defaultValue) |
void |
list(PrintStream out) |
void |
list(PrintWriter out) |
Enumeration<?> |
propertyNames() |
int |
size() |
void |
start() |
void |
store(OutputStream out,
String comments) |
void |
store(Writer writer,
String comments) |
void |
storeToXML(OutputStream os,
String comment) |
void |
storeToXML(OutputStream os,
String comment,
String encoding) |
Set<String> |
stringPropertyNames() |
String |
toString() |
load, load, loadFromXML, put, putIfAbsent, save, setPropertyclear, clone, compute, computeIfAbsent, computeIfPresent, contains, elements, entrySet, equals, forEach, getOrDefault, hashCode, isEmpty, keys, keySet, merge, putAll, rehash, remove, remove, replace, replace, replaceAll, valuesonCancellation, onErrorprivate static final long serialVersionUID
private final RefreshingProperties delegate
private final int interval
private Timer timer
RealtimeRefreshingProperties(RefreshingProperties delegate, int interval)
public void start()
public void close()
public boolean execute()
execute 在接口中 Executablepublic boolean containsValue(Object value)
containsValue 在接口中 Map<Object,Object>containsValue 在类中 Hashtable<Object,Object>public boolean containsKey(Object key)
containsKey 在接口中 Map<Object,Object>containsKey 在类中 Hashtable<Object,Object>public void store(Writer writer, String comments) throws IOException
store 在类中 PropertiesIOExceptionpublic void store(OutputStream out, String comments) throws IOException
store 在类中 PropertiesIOExceptionpublic void storeToXML(OutputStream os, String comment) throws IOException
storeToXML 在类中 PropertiesIOExceptionpublic void storeToXML(OutputStream os, String comment, String encoding) throws IOException
storeToXML 在类中 PropertiesIOExceptionpublic String getProperty(String key)
getProperty 在类中 Propertiespublic String getProperty(String key, String defaultValue)
getProperty 在类中 Propertiespublic Enumeration<?> propertyNames()
propertyNames 在类中 Propertiespublic Set<String> stringPropertyNames()
stringPropertyNames 在类中 Propertiespublic void list(PrintStream out)
list 在类中 Propertiespublic void list(PrintWriter out)
list 在类中 PropertiesCopyright © 2020. All rights reserved.