Class UpdateServiceProperties
- java.lang.Object
-
- java.util.Dictionary<K,V>
-
- java.util.Hashtable<java.lang.Object,java.lang.Object>
-
- java.util.Properties
-
- org.apache.derby.impl.services.monitor.UpdateServiceProperties
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,java.util.Map<java.lang.Object,java.lang.Object>
public class UpdateServiceProperties extends java.util.Properties- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private booleanserviceBootedprivate java.lang.StringserviceNameprivate PersistentServiceserviceTypeprivate WritableStorageFactorystorageFactory
-
Constructor Summary
Constructors Constructor Description UpdateServiceProperties(PersistentService serviceType, java.lang.String serviceName, java.util.Properties actualSet, boolean serviceBooted)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WritableStorageFactorygetStorageFactory()java.lang.Objectput(java.lang.Object key, java.lang.Object value)Put the key-value pair in the Properties set and mark this set as modified.java.lang.Objectremove(java.lang.Object key)Remove the key-value pair from the Properties set and mark this set as modified.voidsaveServiceProperties()Saves the service properties to the disk.voidsetServiceBooted()voidsetStorageFactory(WritableStorageFactory storageFactory)private voidupdate()-
Methods inherited from class java.util.Properties
clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, getProperty, getProperty, hashCode, isEmpty, keys, keySet, list, list, load, load, loadFromXML, merge, propertyNames, putAll, putIfAbsent, rehash, remove, replace, replace, replaceAll, save, setProperty, size, store, store, storeToXML, storeToXML, storeToXML, stringPropertyNames, toString, values
-
-
-
-
Field Detail
-
serviceType
private PersistentService serviceType
-
serviceName
private java.lang.String serviceName
-
storageFactory
private volatile WritableStorageFactory storageFactory
-
serviceBooted
private boolean serviceBooted
-
-
Constructor Detail
-
UpdateServiceProperties
public UpdateServiceProperties(PersistentService serviceType, java.lang.String serviceName, java.util.Properties actualSet, boolean serviceBooted)
-
-
Method Detail
-
setServiceBooted
public void setServiceBooted()
-
setStorageFactory
public void setStorageFactory(WritableStorageFactory storageFactory)
-
getStorageFactory
public WritableStorageFactory getStorageFactory()
-
put
public java.lang.Object put(java.lang.Object key, java.lang.Object value)Put the key-value pair in the Properties set and mark this set as modified.- Specified by:
putin interfacejava.util.Map<java.lang.Object,java.lang.Object>- Overrides:
putin classjava.util.Properties- See Also:
Hashtable.put(K, V)
-
remove
public java.lang.Object remove(java.lang.Object key)
Remove the key-value pair from the Properties set and mark this set as modified.- Specified by:
removein interfacejava.util.Map<java.lang.Object,java.lang.Object>- Overrides:
removein classjava.util.Properties- See Also:
Hashtable.remove(java.lang.Object)
-
saveServiceProperties
public void saveServiceProperties()
Saves the service properties to the disk.
-
update
private void update()
-
-