public class DerbyVirtualHostImpl extends org.apache.qpid.server.virtualhost.AbstractVirtualHost<DerbyVirtualHostImpl> implements DerbyVirtualHost<DerbyVirtualHostImpl>, JDBCContainer
AbstractConfiguredObject.CallableWithArgument<V,A>, AbstractConfiguredObject.ChainedListenableFuture<V>, AbstractConfiguredObject.ChainedSettableFuture<V>, AbstractConfiguredObject.DuplicateIdException, AbstractConfiguredObject.DuplicateNameExceptionorg.apache.qpid.server.virtualhost.QueueManagingVirtualHost.Transaction, org.apache.qpid.server.virtualhost.QueueManagingVirtualHost.TransactionalOperation| Modifier and Type | Field and Description |
|---|---|
static String |
VIRTUAL_HOST_TYPE |
SECURED_STRING_VALUESTORE_PATHCONNECTION_THREAD_POOL_KEEP_ALIVE_TIMEOUT, CONNECTION_THREAD_POOL_SIZE, DEFAULT_CONNECTION_THREAD_POOL_KEEP_ALIVE_TIMEOUT, DEFAULT_DISABLED_VALIDATORS, DEFAULT_DISCARD_GLOBAL_SHARED_SUBSCRIPTION_LINKS_ON_DETACH, DEFAULT_ENABLED_VALIDATORS, DEFAULT_FLOW_TO_DISK_CHECK_PERIOD, DEFAULT_HOUSEKEEPING_CHECK_PERIOD, DEFAULT_HOUSEKEEPING_THREAD_COUNT, DEFAULT_NAMED_CACHE_EXPIRATION, DEFAULT_NAMED_CACHE_SIZE, DEFAULT_STATISTICS_REPORTING_PERIOD, DEFAULT_STORE_TRANSACTION_IDLE_TIMEOUT_CLOSE, DEFAULT_STORE_TRANSACTION_IDLE_TIMEOUT_WARN, DEFAULT_STORE_TRANSACTION_OPEN_TIMEOUT_CLOSE, DEFAULT_STORE_TRANSACTION_OPEN_TIMEOUT_WARN, DEFAULT_VIRTUALHOST_CONNECTION_THREAD_POOL_NUMBER_OF_SELECTORS, DEFAULT_VIRTUALHOST_CONNECTION_THREAD_POOL_SIZE, DISABLED_CONNECTION_VALIDATORS, DISCARD_GLOBAL_SHARED_SUBSCRIPTION_LINKS_ON_DETACH, ENABLED_CONNECTION_VALIDATORS, FLOW_TO_DISK_CHECK_PERIOD, GLOBAL_ADDRESS_DOMAINS, HOUSE_KEEPING_THREAD_COUNT, HOUSEKEEPING_CHECK_PERIOD, NAMED_CACHE_EXPIRATION, NAMED_CACHE_EXPIRATION_FORMAT, NAMED_CACHE_MAXIMUM_SIZE, NAMED_CACHE_MAXIMUM_SIZE_FORMAT, NODE_AUTO_CREATION_POLICIES, NUMBER_OF_SELECTORS, STATISTICS_REPORTING_PERIOD, STORE_TRANSACTION_IDLE_TIMEOUT_CLOSE, STORE_TRANSACTION_IDLE_TIMEOUT_WARN, STORE_TRANSACTION_OPEN_TIMEOUT_CLOSE, STORE_TRANSACTION_OPEN_TIMEOUT_WARN, VIRTUALHOST_CONNECTION_THREAD_POOL_NUMBER_OF_SELECTORS, VIRTUALHOST_CONNECTION_THREAD_POOL_SIZE, VIRTUALHOST_STATISTICS_REPORING_PERIODCLASS_DESCRIPTION, MODEL_VERSION, PREFERENCE_STORE_ATTRIBUTES, VIRTUALHOST_WORK_DIR, VIRTUALHOST_WORK_DIR_VAR, VIRTUALHOST_WORK_DIR_VAR_EXPRESSIONAWAIT_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| Constructor and Description |
|---|
DerbyVirtualHostImpl(Map<String,Object> attributes,
VirtualHostNode<?> virtualHostNode) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDeleteAction(org.apache.qpid.server.util.Action<Connection> action) |
protected org.apache.qpid.server.store.MessageStore |
createMessageStore() |
Connection |
getConnection() |
JDBCDetails |
getJDBCDetails() |
Long |
getStoreOverfullSize() |
String |
getStorePath() |
Long |
getStoreUnderfullSize() |
String |
getTableNamePrefix() |
void |
removeDeleteAction(org.apache.qpid.server.util.Action<Connection> action) |
protected void |
validateMessageStoreCreation() |
addChildAsync, authoriseCreateConnection, beforeClose, beforeDelete, changeAttributes, createMessageDestination, createMessageSource, createUserPreferences, deregisterConnection, deregisterConnectionAsync, doStop, dumpLinkRegistry, event, executeTask, executeTransaction, exportMessageStore, extractConfig, findSendingLinks, getAccessControl, getAttainedChildFromAddress, getAttainedMessageDestination, getAttainedMessageDestination, getAttainedMessageSource, getAttainedQueue, getAttainedQueue, getBroker, getBytesEvacuatedFromMemory, getBytesIn, getBytesOut, getConnection, getConnectionCount, getConnectionMetaData, getConnections, getConnectionThreadPoolSize, getDefaultDestination, getDisabledConnectionValidators, getDtxRegistry, getDurableConfigurationStore, getEnabledConnectionValidators, getEventLogger, getExchangeCount, getFlowToDiskCheckPeriod, getGlobalAddressDomains, getHousekeepingCheckPeriod, getHousekeepingThreadCount, getInboundMessageSizeHighWatermark, getInMemoryMessageSize, getLocalAddress, getMessagesIn, getMessagesOut, getMessageStore, getMessageStoreLogSubject, getModelVersion, getNamedCache, getNodeAutoCreationPolicies, getNumberOfSelectors, getPrincipal, getProductVersion, getQueueCount, getReceivingLink, getRedirectHost, getSendingLink, getStatisticsReportingPeriod, getStoreTransactionIdleTimeoutClose, getStoreTransactionIdleTimeoutWarn, getStoreTransactionOpenTimeoutClose, getStoreTransactionOpenTimeoutWarn, getSubscriptionQueue, getSystemDestination, getTargetSize, getTotalConnectionCount, getTotalDepthOfQueuesBytes, getTotalDepthOfQueuesMessages, getTransactedMessagesIn, getTransactedMessagesOut, hasMessageSources, importMessageStore, isActive, isDiscardGlobalSharedSubscriptionLinksOnDetach, isOverTargetSize, logOperation, onClose, onCreate, onDelete, onExceptionInOpen, onOpen, onValidate, postResolveChildren, publishMessage, purgeLinkRegistry, reallocateMessages, registerConnection, registerConnectionAsync, registerMessageDelivered, registerMessageReceived, registerTransactedMessageDelivered, registerTransactedMessageReceived, removeSubscriptionQueue, scheduleHouseKeepingTask, scheduleTask, setFirstOpening, setTargetSize, startFileSystemSpaceChecking, validateChange, visitSendingLinksaddChangeListener, addFutureCallback, applyToChildren, asObjectRecord, attainState, attributeSet, authorise, authorise, authorise, authoriseCreateChild, awaitChildClassToAttainState, awaitChildClassToAttainState, 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, getActualAttributes, getAncestor, getAttainedChildById, getAttainedChildByName, getAttribute, getAttributeNames, getCategoryClass, getChildById, getChildByName, getChildExecutor, getChildren, getContext, getContextKeys, getContextValue, getContextValue, getContextValue, getCreatedBy, getCreatedTime, getDescription, getDesiredState, getId, getLastOpenedTime, getLastUpdatedBy, getLastUpdatedTime, getLifetimePolicy, getModel, getName, getObjectFactory, getParent, getState, getStatistics, getStatistics, getSubjectWithAddedSystemRights, getSystemPrincipal, getSystemTaskControllerContext, getSystemTaskSubject, getSystemTaskSubject, getTaskExecutor, getType, getTypeClass, getUserPreferences, handleExceptionOnOpen, hasEncrypter, isDurable, isSystemProcess, isSystemSubject, managesChildStorage, newToken, notifyStateChanged, onResolve, open, openAsync, postResolve, postSetAttributes, registerWithParents, removeChangeListener, removeContextVariable, rethrowRuntimeExceptionsOnOpen, runTask, setAttributes, setAttributesAsync, setContextVariable, setEncrypter, setState, setUserPreferences, start, startAsync, stop, toString, updateModel, validateChildDelete, validateOnCreateclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdumpLinkRegistry, executeTask, executeTransaction, exportMessageStore, extractConfig, getAttainedChildFromAddress, getAttainedQueue, getAttainedQueue, getBroker, getBytesEvacuatedFromMemory, getBytesIn, getBytesOut, getConnection, getConnectionCount, getConnectionMetaData, getConnections, getConnectionThreadPoolSize, getDisabledConnectionValidators, getDurableConfigurationStore, getEnabledConnectionValidators, getExchangeCount, getFlowToDiskCheckPeriod, getGlobalAddressDomains, getHousekeepingCheckPeriod, getHousekeepingThreadCount, getInboundMessageSizeHighWatermark, getInMemoryMessageSize, getMessagesIn, getMessagesOut, getNodeAutoCreationPolicies, getNumberOfSelectors, getQueueCount, getStatisticsReportingPeriod, getStoreTransactionIdleTimeoutClose, getStoreTransactionIdleTimeoutWarn, getStoreTransactionOpenTimeoutClose, getStoreTransactionOpenTimeoutWarn, getSubscriptionQueue, getSystemDestination, getTargetSize, getTotalConnectionCount, getTotalDepthOfQueuesBytes, getTotalDepthOfQueuesMessages, getTransactedMessagesIn, getTransactedMessagesOut, importMessageStore, isDiscardGlobalSharedSubscriptionLinksOnDetach, isOverTargetSize, publishMessage, purgeLinkRegistry, reallocateMessages, removeSubscriptionQueue, scheduleHouseKeepingTask, scheduleTask, setFirstOpening, setTargetSizegetModelVersion, getProductVersionaddChangeListener, 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, setUserPreferencesgetContextKeys, getContextValue, getContextValuegetTaskExecutorauthoriseCreateConnection, createMessageDestination, createMessageSource, deregisterConnection, findSendingLinks, getAttainedMessageDestination, getAttainedMessageDestination, getAttainedMessageSource, getDefaultDestination, getDtxRegistry, getId, getLocalAddress, getMessageStore, getPrincipal, getReceivingLink, getRedirectHost, getSendingLink, hasMessageSources, isActive, registerConnection, visitSendingLinkseventregisterMessageDelivered, registerMessageReceived, registerTransactedMessageDelivered, registerTransactedMessageReceivedcreateUserPreferencesgetEventLoggergetNamedCachepublic static final String VIRTUAL_HOST_TYPE
public DerbyVirtualHostImpl(Map<String,Object> attributes, VirtualHostNode<?> virtualHostNode)
protected org.apache.qpid.server.store.MessageStore createMessageStore()
createMessageStore in class org.apache.qpid.server.virtualhost.AbstractVirtualHost<DerbyVirtualHostImpl>public String getStorePath()
getStorePath in interface org.apache.qpid.server.store.FileBasedSettingsgetStorePath in interface DerbyVirtualHost<DerbyVirtualHostImpl>public Long getStoreUnderfullSize()
getStoreUnderfullSize in interface org.apache.qpid.server.store.SizeMonitoringSettingsgetStoreUnderfullSize in interface DerbyVirtualHost<DerbyVirtualHostImpl>public Long getStoreOverfullSize()
getStoreOverfullSize in interface org.apache.qpid.server.store.SizeMonitoringSettingsgetStoreOverfullSize in interface DerbyVirtualHost<DerbyVirtualHostImpl>protected void validateMessageStoreCreation()
public JDBCDetails getJDBCDetails()
getJDBCDetails in interface JDBCContainerpublic Connection getConnection()
getConnection in interface JDBCContainerpublic String getTableNamePrefix()
getTableNamePrefix in interface JDBCContainerpublic void addDeleteAction(org.apache.qpid.server.util.Action<Connection> action)
addDeleteAction in interface JDBCContainerpublic void removeDeleteAction(org.apache.qpid.server.util.Action<Connection> action)
removeDeleteAction in interface JDBCContainerCopyright © 2006–2021 The Apache Software Foundation. All rights reserved.