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 boolean
serviceBooted
private java.lang.String
serviceName
private PersistentService
serviceType
private WritableStorageFactory
storageFactory
-
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 WritableStorageFactory
getStorageFactory()
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.java.lang.Object
remove(java.lang.Object key)
Remove the key-value pair from the Properties set and mark this set as modified.void
saveServiceProperties()
Saves the service properties to the disk.void
setServiceBooted()
void
setStorageFactory(WritableStorageFactory storageFactory)
private void
update()
-
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:
put
in interfacejava.util.Map<java.lang.Object,java.lang.Object>
- Overrides:
put
in 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:
remove
in interfacejava.util.Map<java.lang.Object,java.lang.Object>
- Overrides:
remove
in 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()
-
-