org.apache.derby.impl.services.monitor
Class UpdateServiceProperties

java.lang.Object
  extended by java.util.Dictionary<K,V>
      extended by java.util.Hashtable<java.lang.Object,java.lang.Object>
          extended by java.util.Properties
              extended by 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
private  boolean serviceBooted
           
private  java.lang.String serviceName
           
private  PersistentService serviceType
           
private  WritableStorageFactory storageFactory
           
 
Fields inherited from class java.util.Properties
defaults
 
Constructor Summary
UpdateServiceProperties(PersistentService serviceType, java.lang.String serviceName, java.util.Properties actualSet, boolean serviceBooted)
           
 
Method Summary
 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
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, putAll, rehash, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

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 interface java.util.Map<java.lang.Object,java.lang.Object>
Overrides:
put in class java.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:
remove in interface java.util.Map<java.lang.Object,java.lang.Object>
Overrides:
remove in class java.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.


update

private void update()

Built on Thu 2012-03-29 21:53:33+0000, from revision ???

Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.