Class 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 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
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • serviceName

        private java.lang.String serviceName
      • 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()
      • 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.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 interface java.util.Map<java.lang.Object,​java.lang.Object>
        Overrides:
        remove in class java.util.Properties
        See Also:
        Hashtable.remove(java.lang.Object)
      • saveServiceProperties

        public void saveServiceProperties()
        Saves the service properties to the disk.
      • update

        private void update()