public class BDBHAVirtualHostNodeImpl extends AbstractVirtualHostNode<BDBHAVirtualHostNodeImpl> implements BDBHAVirtualHostNode<BDBHAVirtualHostNodeImpl>
AbstractConfiguredObject.CallableWithArgument<V,A>, AbstractConfiguredObject.ChainedListenableFuture<V>, AbstractConfiguredObject.ChainedSettableFuture<V>, AbstractConfiguredObject.DuplicateIdException, AbstractConfiguredObject.DuplicateNameException| Modifier and Type | Field and Description |
|---|---|
static String |
VIRTUAL_HOST_NODE_TYPE |
static String |
VIRTUAL_HOST_PRINCIPAL_NAME_FORMAT |
SECURED_STRING_VALUEADDRESS, DESIGNATED_PRIMARY, DURABILITY, GROUP_NAME, HELPER_ADDRESS, HELPER_NODE_NAME, JOIN_TIME, LAST_KNOWN_REPLICATION_TRANSACTION_ID, PERMITTED_NODES, PRIORITY, QUORUM_OVERRIDE, ROLESTORE_PATHDEFAULT_INITIAL_CONFIG_VIRTUALHOST_CONFIG_VAR, DEFAULT_INITIAL_CONFIGURATION, DEFAULT_VIRTUAL_HOST_NODE, QPID_INITIAL_CONFIG_VIRTUALHOST_CONFIG_VAR, VIRTUALHOST_BLUEPRINT_CONTEXT_VAR, VIRTUALHOST_INITIAL_CONFIGURATIONAWAIT_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 |
|---|
BDBHAVirtualHostNodeImpl(Map<String,Object> attributes,
Broker<?> broker) |
closeVirtualHostIfExists, createPreferenceStore, doActivate, getBroker, getChildExecutor, getConfigurationStoreLogSubject, getEventLogger, getInitialConfigReader, getInitialRecords, getLifetimePolicy, getPreferenceStoreAttributes, getSupportedVirtualHostTypes, getVirtualHost, getVirtualHostInitialConfiguration, isDefaultVirtualHostNode, onCloseOrDelete, onExceptionInOpen, startQuiesced, stopAndSetStateToaddChangeListener, addChildAsync, addFutureCallback, applyToChildren, asObjectRecord, attainState, attributeSet, authorise, authorise, authorise, authoriseCreateChild, awaitChildClassToAttainState, awaitChildClassToAttainState, 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, getChildren, getContext, getContextKeys, getContextValue, getContextValue, getCreatedBy, getCreatedTime, getDescription, getDesiredState, getId, getLastOpenedTime, getLastUpdatedBy, getLastUpdatedTime, getModel, getName, getObjectFactory, getParent, getState, getStatistics, getStatistics, getSubjectWithAddedSystemRights, getSystemPrincipal, getSystemTaskControllerContext, getSystemTaskSubject, getSystemTaskSubject, getTaskExecutor, getType, getTypeClass, getUserPreferences, handleExceptionOnOpen, hasEncrypter, isDurable, isSystemProcess, isSystemSubject, logOperation, managesChildStorage, newToken, notifyStateChanged, onResolve, open, openAsync, postResolveChildren, postSetAttributes, registerWithParents, removeChangeListener, removeContextVariable, rethrowRuntimeExceptionsOnOpen, runTask, setAttributes, setAttributesAsync, setContextVariable, setEncrypter, setState, setUserPreferences, start, startAsync, stop, updateModel, validateChildDeleteclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetNamegetPreferenceStoreAttributesgetVirtualHost, getVirtualHostInitialConfiguration, isDefaultVirtualHostNode, start, stopcreatePreferenceStoreaddChangeListener, 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, getObjectFactory, getParent, getState, getStatistics, getStatistics, getType, getTypeClass, getUserPreferences, hasEncrypter, isDurable, managesChildStorage, newToken, open, openAsync, removeChangeListener, removeContextVariable, setAttributes, setAttributesAsync, setContextVariable, setUserPreferencesgetContextKeys, getContextValue, getContextValuegetTaskExecutorpublic static final String VIRTUAL_HOST_NODE_TYPE
public static final String VIRTUAL_HOST_PRINCIPAL_NAME_FORMAT
protected void validateChange(ConfiguredObject<?> proxyForValidation, Set<String> changedAttributes)
validateChange in class AbstractVirtualHostNode<BDBHAVirtualHostNodeImpl>public String getStorePath()
getStorePath in interface FileBasedSettingsgetStorePath in interface BDBVirtualHostNode<BDBHAVirtualHostNodeImpl>public String getGroupName()
getGroupName in interface HASettingsgetGroupName in interface BDBHAVirtualHostNode<BDBHAVirtualHostNodeImpl>public String getHelperAddress()
getHelperAddress in interface HASettingsgetHelperAddress in interface BDBHAVirtualHostNode<BDBHAVirtualHostNodeImpl>public String getAddress()
getAddress in interface HASettingsgetAddress in interface BDBHAVirtualHostNode<BDBHAVirtualHostNodeImpl>public boolean isDesignatedPrimary()
isDesignatedPrimary in interface HASettingsisDesignatedPrimary in interface BDBHAVirtualHostNode<BDBHAVirtualHostNodeImpl>public int getPriority()
getPriority in interface HASettingsgetPriority in interface BDBHAVirtualHostNode<BDBHAVirtualHostNodeImpl>public int getQuorumOverride()
getQuorumOverride in interface HASettingsgetQuorumOverride in interface BDBHAVirtualHostNode<BDBHAVirtualHostNodeImpl>public NodeRole getRole()
getRole in interface BDBHAVirtualHostNode<BDBHAVirtualHostNodeImpl>public Long getLastKnownReplicationTransactionId()
getLastKnownReplicationTransactionId in interface BDBHAVirtualHostNode<BDBHAVirtualHostNodeImpl>public Long getJoinTime()
getJoinTime in interface BDBHAVirtualHostNode<BDBHAVirtualHostNodeImpl>public String getHelperNodeName()
getHelperNodeName in interface HASettingsgetHelperNodeName in interface BDBHAVirtualHostNode<BDBHAVirtualHostNodeImpl>public List<String> getPermittedNodes()
getPermittedNodes in interface BDBHAVirtualHostNode<BDBHAVirtualHostNodeImpl>public Collection<? extends RemoteReplicationNode> getRemoteReplicationNodes()
getRemoteReplicationNodes in interface VirtualHostNode<BDBHAVirtualHostNodeImpl>public String toString()
toString in class AbstractConfiguredObject<BDBHAVirtualHostNodeImpl>public BDBConfigurationStore getConfigurationStore()
getConfigurationStore in interface VirtualHostNode<BDBHAVirtualHostNodeImpl>getConfigurationStore in class AbstractVirtualHostNode<BDBHAVirtualHostNodeImpl>public void onCreate()
onCreate in class AbstractVirtualHostNode<BDBHAVirtualHostNodeImpl>public void onOpen()
onOpen in class AbstractVirtualHostNode<BDBHAVirtualHostNodeImpl>protected ReplicatedEnvironmentFacade getReplicatedEnvironmentFacade()
protected DurableConfigurationStore createConfigurationStore()
createConfigurationStore in class AbstractVirtualHostNode<BDBHAVirtualHostNodeImpl>protected com.google.common.util.concurrent.ListenableFuture<Void> activate()
activate in class AbstractVirtualHostNode<BDBHAVirtualHostNodeImpl>protected com.google.common.util.concurrent.ListenableFuture<Void> doStop()
doStop in class AbstractVirtualHostNode<BDBHAVirtualHostNodeImpl>protected com.google.common.util.concurrent.ListenableFuture<Void> beforeDelete()
beforeDelete in class AbstractConfiguredObject<BDBHAVirtualHostNodeImpl>protected com.google.common.util.concurrent.ListenableFuture<Void> onDelete()
onDelete in class AbstractVirtualHostNode<BDBHAVirtualHostNodeImpl>protected com.google.common.util.concurrent.ListenableFuture<Void> onClose()
onClose in class AbstractVirtualHostNode<BDBHAVirtualHostNodeImpl>protected void postResolve()
postResolve in class AbstractVirtualHostNode<BDBHAVirtualHostNodeImpl>protected void validateOnCreate()
validateOnCreate in class AbstractVirtualHostNode<BDBHAVirtualHostNodeImpl>public void onValidate()
onValidate in class AbstractConfiguredObject<BDBHAVirtualHostNodeImpl>protected com.google.common.util.concurrent.ListenableFuture<Void> closeVirtualHostIfExist()
protected com.google.common.util.concurrent.ListenableFuture<Void> beforeClose()
beforeClose in class AbstractConfiguredObject<BDBHAVirtualHostNodeImpl>public void setBDBCacheSize(long cacheSize)
setBDBCacheSize in interface BDBEnvironmentContainer<BDBHAVirtualHostNodeImpl>public PreferenceStore getPreferenceStore()
getPreferenceStore in interface PreferenceStoreProviderprotected ConfiguredObjectRecord enrichInitialVirtualHostRootRecord(ConfiguredObjectRecord vhostRecord)
enrichInitialVirtualHostRootRecord in class AbstractVirtualHostNode<BDBHAVirtualHostNodeImpl>protected void postSetPermittedNodes()
protected void shutdownOnIntruder(String intruderHostAndPort)
public void updateMutableConfig()
updateMutableConfig in interface BDBEnvironmentContainer<BDBHAVirtualHostNodeImpl>public int cleanLog()
cleanLog in interface BDBEnvironmentContainer<BDBHAVirtualHostNodeImpl>public void checkpoint(boolean force)
checkpoint in interface BDBEnvironmentContainer<BDBHAVirtualHostNodeImpl>public Map<String,Map<String,Object>> environmentStatistics(boolean reset)
environmentStatistics in interface BDBEnvironmentContainer<BDBHAVirtualHostNodeImpl>public Map<String,Object> transactionStatistics(boolean reset)
transactionStatistics in interface BDBEnvironmentContainer<BDBHAVirtualHostNodeImpl>public Map<String,Object> databaseStatistics(String database, boolean reset)
databaseStatistics in interface BDBEnvironmentContainer<BDBHAVirtualHostNodeImpl>public EnvironmentFacade getEnvironmentFacade()
getEnvironmentFacade in interface BDBEnvironmentContainer<BDBHAVirtualHostNodeImpl>public static Map<String,Collection<String>> getSupportedChildTypes()
Copyright © 2006–2020 The Apache Software Foundation. All rights reserved.