org.apache.derby.impl.services.monitor
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
-
-
Constructor Summary
Constructors Constructor and 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 and 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)-
Methods inherited from class java.util.Properties
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames
-
Methods inherited from class java.util.Hashtable
clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keys, keySet, merge, putAll, putIfAbsent, remove, replace, replace, replaceAll, size, toString, values
-
-
-
-
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.Hashtable<java.lang.Object,java.lang.Object>- 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.Hashtable<java.lang.Object,java.lang.Object>- See Also:
Hashtable.remove(java.lang.Object)
-
saveServiceProperties
public void saveServiceProperties()
Saves the service properties to the disk.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG