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_CONFIGURATIONCONTEXT, CREATED_BY, CREATED_TIME, 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) |
doActivate, getBroker, getChildExecutor, getConfigurationStoreLogSubject, getEventLogger, getInitialConfigReader, getInitialRecords, getLifetimePolicy, getSupportedVirtualHostTypes, getVirtualHost, getVirtualHostInitialConfiguration, isDefaultVirtualHostNode, onExceptionInOpen, stopAndSetStateToaddChangeListener, applyToChildren, asObjectRecord, attainState, attributeSet, authoriseCreate, authoriseCreateChild, authoriseDelete, authoriseSetAttributes, changeAttribute, changeAttributes, childAdded, childRemoved, close, closeAsync, closeChildren, create, createAsync, createChild, createChildAsync, decryptSecrets, delete, deleteAsync, deleted, doAfter, doAfter, doAfter, doAfter, doAfter, doAfter, doAfterAlways, doAfterAlways, doCreation, doOnConfigThread, doOpening, doResolution, doSync, doSync, doValidation, findConfiguredObject, forceUpdateAllSecureAttributes, getActualAttributes, getAttainedChildById, getAttainedChildByName, getAttribute, getAttributeNames, getCategoryClass, getChildById, getChildByName, getChildren, getContext, getContextKeys, getContextValue, getContextValue, getCreatedBy, getCreatedTime, getDescription, getDesiredState, getId, getLastOpenedTime, getLastUpdatedBy, getLastUpdatedTime, getModel, getName, getObjectFactory, getParent, getSecurityManager, getState, getStatistics, getTaskExecutor, getType, getTypeClass, handleExceptionOnOpen, isDurable, managesChildStorage, notifyStateChanged, onResolve, onValidate, open, openAsync, parentsMap, postResolveChildren, registerWithParents, removeChangeListener, rethrowRuntimeExceptionsOnOpen, runTask, setAttribute, setAttributes, setAttributesAsync, setEncrypter, setState, start, startAsync, stopclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetVirtualHost, getVirtualHostInitialConfiguration, isDefaultVirtualHostNode, start, stopaddChangeListener, asObjectRecord, close, closeAsync, createChild, createChildAsync, decryptSecrets, delete, deleteAsync, findConfiguredObject, getActualAttributes, 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, getTaskExecutor, getType, getTypeClass, isDurable, managesChildStorage, open, openAsync, removeChangeListener, setAttribute, setAttributes, setAttributesAsyncpublic 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>protected <C extends ConfiguredObject> com.google.common.util.concurrent.ListenableFuture<C> addChildAsync(Class<C> childClass, Map<String,Object> attributes, ConfiguredObject... otherParents)
addChildAsync 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> doDelete()
doDelete in class AbstractVirtualHostNode<BDBHAVirtualHostNodeImpl>protected com.google.common.util.concurrent.ListenableFuture<Void> deleteVirtualHostIfExists()
deleteVirtualHostIfExists in class AbstractVirtualHostNode<BDBHAVirtualHostNodeImpl>protected void onClose()
onClose in class AbstractVirtualHostNode<BDBHAVirtualHostNodeImpl>protected void postResolve()
postResolve in class AbstractVirtualHostNode<BDBHAVirtualHostNodeImpl>protected void validateOnCreate()
validateOnCreate in class AbstractVirtualHostNode<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>protected 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 static Map<String,Collection<String>> getSupportedChildTypes()
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.