Class DerbySystemConfigImpl
- java.lang.Object
-
- org.apache.qpid.server.model.AbstractConfiguredObject<X>
-
- org.apache.qpid.server.model.AbstractSystemConfig<DerbySystemConfigImpl>
-
- org.apache.qpid.server.store.derby.DerbySystemConfigImpl
-
- All Implemented Interfaces:
org.apache.qpid.server.logging.EventLoggerProvider,ConfiguredObject<DerbySystemConfigImpl>,ContextProvider,DynamicModel,ModelRoot,PermissionedObject,SystemConfig<DerbySystemConfigImpl>,TaskExecutorProvider,DerbySystemConfig<DerbySystemConfigImpl>,org.apache.qpid.server.store.FileBasedSettings,org.apache.qpid.server.store.preferences.PreferencesRoot,org.apache.qpid.server.store.preferences.PreferenceStoreProvider,org.apache.qpid.server.store.Settings,org.apache.qpid.server.store.SizeMonitoringSettings
public class DerbySystemConfigImpl extends AbstractSystemConfig<DerbySystemConfigImpl> implements DerbySystemConfig<DerbySystemConfigImpl>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.qpid.server.model.AbstractConfiguredObject
AbstractConfiguredObject.CallableWithArgument<V extends Object,A extends Object>, AbstractConfiguredObject.ChainedListenableFuture<V extends Object>, AbstractConfiguredObject.ChainedSettableFuture<V extends Object>, AbstractConfiguredObject.DuplicateIdException, AbstractConfiguredObject.DuplicateNameException
-
-
Field Summary
Fields Modifier and Type Field Description static StringSYSTEM_CONFIG_TYPE-
Fields inherited from class org.apache.qpid.server.model.AbstractConfiguredObject
SECURED_STRING_VALUE
-
Fields inherited from interface org.apache.qpid.server.model.ConfiguredObject
AWAIT_ATTAINMENT_TIMEOUT, CONTEXT, CREATED_BY, CREATED_TIME, DEFAULT_AWAIT_ATTAINMENT_TIMEOUT, DESCRIPTION, DESIRED_STATE, DURABLE, ID, LAST_UPDATED_BY, LAST_UPDATED_TIME, LIFETIME_POLICY, NAME, OVER_SIZED_ATTRIBUTE_ALTERNATIVE_TEXT, STATE, TYPE
-
Fields inherited from interface org.apache.qpid.server.model.SystemConfig
DEFAULT_INITIAL_CONFIG_LOCATION, DEFAULT_INITIAL_CONFIG_NAME, DEFAULT_POSIX_FILE_PERMISSIONS, DEFAULT_PREFERENCE_STORE_ATTRIBUTES, DEFAULT_QPID_WORK, DEFAULT_QPID_WORK_DIR, INITIAL_CONFIGURATION_LOCATION, INITIAL_SYSTEM_PROPERTIES_LOCATION, MANAGEMENT_MODE, MANAGEMENT_MODE_HTTP_PORT_OVERRIDE, MANAGEMENT_MODE_PASSWORD, MANAGEMENT_MODE_QUIESCE_VIRTUAL_HOSTS, MANAGEMENT_MODE_USER_NAME, POSIX_FILE_PERMISSIONS, PROPERTY_QPID_WORK, PROPERTY_STATUS_UPDATES, QPID_WORK_DIR, STARTUP_LOGGED_TO_SYSTEM_OUT
-
-
Constructor Summary
Constructors Constructor Description DerbySystemConfigImpl(org.apache.qpid.server.configuration.updater.TaskExecutor taskExecutor, org.apache.qpid.server.logging.EventLogger eventLogger, Principal systemPrincipal, Map<String,Object> attributes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.qpid.server.store.DurableConfigurationStorecreateStoreObject()org.apache.qpid.server.store.preferences.PreferenceStoregetPreferenceStore()LonggetStoreOverfullSize()StringgetStorePath()LonggetStoreUnderfullSize()-
Methods inherited from class org.apache.qpid.server.model.AbstractSystemConfig
activate, createPreferenceStore, doStop, getConfigurationStore, getContainer, getContainer, getDefaultContainerType, getDefaultValue, getEventLogger, getInitialConfigurationLocation, getInitialSystemPropertiesLocation, getManagementModeHttpPortOverride, getManagementModePassword, getOnContainerCloseTask, getOnContainerResolveTask, getPreferenceStoreAttributes, getSystemPrincipal, isManagementMode, isManagementModeQuiesceVirtualHosts, isStartupLoggedToSystemOut, logOperation, makeActive, onClose, onOpen, rethrowRuntimeExceptionsOnOpen, setOnContainerCloseTask, setOnContainerResolveTask, setState, startQuiesced
-
Methods inherited from class org.apache.qpid.server.model.AbstractConfiguredObject
addChangeListener, addChildAsync, addFutureCallback, applyToChildren, asObjectRecord, attainState, attributesAsString, attributeSet, authorise, authorise, authorise, authoriseCreateChild, awaitChildClassToAttainState, awaitChildClassToAttainState, beforeClose, beforeDelete, changeAttributes, childAdded, childRemoved, close, closeAsync, closeChildren, create, createAsync, createChild, createChildAsync, decryptSecrets, delete, deleteAsync, deleteChildren, deleteNoChecks, doAfter, doAfter, doAfter, doAfter, doAfter, doAfter, doAfterAlways, doAfterAlways, doCreation, doOnConfigThread, doOpening, doResolution, doSync, doSync, doValidation, findConfiguredObject, forceUpdateAllSecureAttributes, getAccessControl, getActualAttributes, getAncestor, getAttainedChildById, getAttainedChildByName, getAttribute, getAttributeNames, getCategoryClass, getChildById, getChildByName, getChildExecutor, getChildren, getContext, getContextKeys, getContextValue, getContextValue, getCreatedBy, getCreatedTime, getDescription, getDesiredState, getId, getLastOpenedTime, getLastUpdatedBy, getLastUpdatedTime, getLifetimePolicy, getModel, getName, getObjectFactory, getParent, getState, getStatistics, getStatistics, getSubjectWithAddedSystemRights, getSystemTaskControllerContext, getSystemTaskSubject, getSystemTaskSubject, getTaskExecutor, getType, getTypeClass, getUserPreferences, handleExceptionOnOpen, hasEncrypter, isDurable, isSystemProcess, isSystemSubject, logCreated, logDeleted, logRecovered, logUpdated, managesChildStorage, newToken, notifyStateChanged, onCreate, onDelete, onExceptionInOpen, onResolve, onValidate, open, openAsync, postResolve, postResolveChildren, postSetAttributes, registerWithParents, removeChangeListener, removeContextVariable, runTask, setAttributes, setAttributesAsync, setContextVariable, setEncrypter, setUserPreferences, start, startAsync, stop, toString, updateModel, validateChange, validateChildDelete, validateOnCreate
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.qpid.server.model.ConfiguredObject
addChangeListener, asObjectRecord, authorise, authorise, authorise, close, closeAsync, createChild, createChildAsync, decryptSecrets, delete, deleteAsync, findConfiguredObject, getActualAttributes, getAttainedChildById, getAttainedChildByName, getAttribute, getAttributeNames, getCategoryClass, getChildById, getChildByName, getChildExecutor, getChildren, getContext, getCreatedBy, getCreatedTime, getDescription, getDesiredState, getId, getLastOpenedTime, getLastUpdatedBy, getLastUpdatedTime, getLifetimePolicy, getModel, getName, getObjectFactory, getParent, getState, getStatistics, getStatistics, getType, getTypeClass, getUserPreferences, hasEncrypter, isDurable, managesChildStorage, newToken, open, openAsync, removeChangeListener, removeContextVariable, setAttributes, setAttributesAsync, setContextVariable, setUserPreferences
-
Methods inherited from interface org.apache.qpid.server.model.ContextProvider
getContextKeys, getContextValue, getContextValue
-
Methods inherited from interface org.apache.qpid.server.store.derby.DerbySystemConfig
getPreferenceStoreAttributes
-
Methods inherited from interface org.apache.qpid.server.store.preferences.PreferencesRoot
createPreferenceStore
-
Methods inherited from interface org.apache.qpid.server.model.SystemConfig
getConfigurationStore, getContainer, getContainer, getDefaultContainerType, getEventLogger, getInitialConfigurationLocation, getInitialSystemPropertiesLocation, getManagementModeHttpPortOverride, getManagementModePassword, getOnContainerCloseTask, getOnContainerResolveTask, isManagementMode, isManagementModeQuiesceVirtualHosts, isStartupLoggedToSystemOut, setOnContainerCloseTask, setOnContainerResolveTask
-
Methods inherited from interface org.apache.qpid.server.model.TaskExecutorProvider
getTaskExecutor
-
-
-
-
Field Detail
-
SYSTEM_CONFIG_TYPE
public static final String SYSTEM_CONFIG_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
createStoreObject
protected org.apache.qpid.server.store.DurableConfigurationStore createStoreObject()
- Specified by:
createStoreObjectin classAbstractSystemConfig<DerbySystemConfigImpl>
-
getStorePath
public String getStorePath()
- Specified by:
getStorePathin interfaceDerbySystemConfig<DerbySystemConfigImpl>- Specified by:
getStorePathin interfaceorg.apache.qpid.server.store.FileBasedSettings
-
getStoreUnderfullSize
public Long getStoreUnderfullSize()
- Specified by:
getStoreUnderfullSizein interfaceDerbySystemConfig<DerbySystemConfigImpl>- Specified by:
getStoreUnderfullSizein interfaceorg.apache.qpid.server.store.SizeMonitoringSettings
-
getStoreOverfullSize
public Long getStoreOverfullSize()
- Specified by:
getStoreOverfullSizein interfaceDerbySystemConfig<DerbySystemConfigImpl>- Specified by:
getStoreOverfullSizein interfaceorg.apache.qpid.server.store.SizeMonitoringSettings
-
getPreferenceStore
public org.apache.qpid.server.store.preferences.PreferenceStore getPreferenceStore()
- Specified by:
getPreferenceStorein interfaceorg.apache.qpid.server.store.preferences.PreferenceStoreProvider
-
-