Top Fields Constructors Methods
org.apache.derby.impl.services.monitor

public Class UpdateServiceProperties

extends Properties
Class Inheritance
Imports
org.apache.derby.iapi.services.monitor.PersistentService, org.apache.derby.shared.common.sanity.SanityManager, java.util.Properties, .Hashtable, org.apache.derby.io.WritableStorageFactory, org.apache.derby.shared.common.error.StandardException, .PassThroughException, org.apache.derby.shared.common.reference.Property

Field Summary

Modifier and TypeField and Description
private boolean
private String
private PersistentService
private volatile WritableStorageFactory
Inherited from java.util.Properties:
defaults

Constructor Summary

AccessConstructor and Description
public
UpdateServiceProperties(PersistentService serviceType, String serviceName, Properties actualSet, boolean serviceBooted)

Method Summary

Modifier and TypeMethod and Description
public WritableStorageFactory
public Object
put(Object
the hashtable key
key
,
Object
the value
value
)

Overrides java.util.Properties.put.

Implements java.util.Map.put.

Put the key-value pair in the Properties set and mark this set as modified.

public Object
remove(Object
the key that needs to be removed
key
)

Overrides java.util.Properties.remove.

Implements java.util.Map.remove.

Remove the key-value pair from the Properties set and mark this set as modified.

public void
saveServiceProperties()

Saves the service properties to the disk.

public void
public void
private void
Inherited from java.util.Properties:
clearclonecomputecomputeIfAbsentcomputeIfPresentcontainscontainsKeycontainsValueelementsentrySetequalsforEachgetgetOrDefaultgetPropertygetPropertyhashCodeisEmptykeyskeySetlistlistloadloadloadFromXMLmergepropertyNamesputAllputIfAbsentrehashremovereplacereplacereplaceAllsavesetPropertysizestorestorestoreToXMLstoreToXMLstoreToXMLstringPropertyNamestoStringvalues

Field Detail

serviceBootedback to summary
private boolean serviceBooted
serviceNameback to summary
private String serviceName
serviceTypeback to summary
private PersistentService serviceType
storageFactoryback to summary
private volatile WritableStorageFactory storageFactory

Constructor Detail

UpdateServicePropertiesback to summary
public UpdateServiceProperties(PersistentService serviceType, String serviceName, Properties actualSet, boolean serviceBooted)

Method Detail

getStorageFactoryback to summary
public WritableStorageFactory getStorageFactory()
putback to summary
public Object put(Object key, Object value)

Overrides java.util.Properties.put.

Implements java.util.Map.put.

Put the key-value pair in the Properties set and mark this set as modified.

Parameters
key:Object

Doc from java.util.Hashtable.put.

the hashtable key

value:Object

Doc from java.util.Hashtable.put.

the value

Returns:Object

Doc from java.util.Hashtable.put.

the previous value of the specified key in this hashtable, or null if it did not have one

See Also
Hashtable#put
removeback to summary
public Object remove(Object key)

Overrides java.util.Properties.remove.

Implements java.util.Map.remove.

Remove the key-value pair from the Properties set and mark this set as modified.

Parameters
key:Object

Doc from java.util.Hashtable.remove.

the key that needs to be removed

Returns:Object

Doc from java.util.Hashtable.remove.

the value to which the key had been mapped in this hashtable, or null if the key did not have a mapping

See Also
Hashtable#remove
saveServicePropertiesback to summary
public void saveServiceProperties()

Saves the service properties to the disk.

setServiceBootedback to summary
public void setServiceBooted()
setStorageFactoryback to summary
public void setStorageFactory(WritableStorageFactory storageFactory)
updateback to summary
private void update()