Class NoSQLConnectionConfiguration
java.lang.Object
java.util.Observable
oracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean
oracle.communication.brm.charging.appconfiguration.beans.connection.AbstractConnectionConfiguration
oracle.communication.brm.charging.appconfiguration.beans.connection.NoSQLConnectionConfiguration
- All Implemented Interfaces:
Cloneable,NoSQLConnectionConfigurationMBean,oracle.communication.brm.charging.appconfiguration.ChildConfigBean,oracle.communication.brm.charging.appconfiguration.ConfigurationBean,oracle.communication.brm.charging.util.directevolution.DEvolvable
public class NoSQLConnectionConfiguration
extends AbstractConnectionConfiguration
implements NoSQLConnectionConfigurationMBean, oracle.communication.brm.charging.appconfiguration.ChildConfigBean
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final intstatic final Stringstatic final Stringstatic final Stringstatic final longstatic final intstatic final Stringstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final StringFields inherited from class oracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean
CONFIG_CLASS, M_BEAN_CATEGORY, NAME, POF_IMPL -
Constructor Summary
ConstructorsConstructorDescriptionDefault ConstructorNoSQLConnectionConfiguration(String name, String beanId) Constructor -
Method Summary
Modifier and TypeMethodDescriptionoracle.communication.brm.charging.util.directevolution.DEvolvablebooleanintReturns the NoSQL partitionCountCluster name of the child configuration MBean.Returns the Data source connectionReturns the Data source nameThe implementing class is needed for dynamic instantiation in abstract class.getName()Unique name of the child configuration MBean.longReturns the NoSQL timeoutintReturns the NoSQL retryCountvoidgiveInitializerTo(oracle.communication.brm.charging.util.directevolution.DEvolvableHelper DEvolvableHelper) protected voidhandlePrintConfiguration(org.apache.logging.log4j.Logger logger) Method used by subclasses to dump their configuration settings to a log file.inthashCode()voidMethod used to persist and synchronize all app configuration beans to charging-settings.xml.voidsetCdrStorePartitionCount(int cdrStorePartitionCount) Sets the NoSQL partitionCountvoidsetClusterName(String clusterName) Cluster name of the child configuration MBean.voidsetDataStoreConnection(String dataStoreConnection) Sets the Data source connectionvoidsetDataStoreName(String dataStoreName) Sets the Data source connectionvoidUnique name of the child configuration MBean.voidsetNoSQLTimeout(long noSQLTimeout) Sets the NoSQL timeoutvoidsetRetryCount(int retryCount) Sets the NoSQL retryCountMethod to test a connection after configurationMethods inherited from class oracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean
broadcast, clone, getBeanId, getEvolutionData, getFilename, getImpl, getModifyingClusterName, getModifyingMemberId, printConfiguration, publish, publish, publishArrayItem, publishClearArray, publishRemoveArrayItem, registerBean, setBeanId, setEvolutionData, setFilename, setModifyingClusterName, toBinary, toString, unRegisterBeanMethods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface oracle.communication.brm.charging.appconfiguration.ConfigurationBean
getBeanId, getFilename, getModifyingClusterName, getModifyingMemberId, printConfiguration, setBeanId, setFilename, setModifyingClusterNameMethods inherited from interface oracle.communication.brm.charging.util.directevolution.DEvolvable
clone, getEvolutionData, setEvolutionData
-
Field Details
-
POF_NAME
public static final int POF_NAME- See Also:
-
POF_DATA_STORE_NAME
public static final int POF_DATA_STORE_NAME- See Also:
-
POF_DATA_STORE_CONNECTION
public static final int POF_DATA_STORE_CONNECTION- See Also:
-
POF_NO_SQL_TIMEOUT
public static final int POF_NO_SQL_TIMEOUT- See Also:
-
POF_CDR_STORE_PARTITION_COUNT
public static final int POF_CDR_STORE_PARTITION_COUNT- See Also:
-
POF_RETRY_COUNT
public static final int POF_RETRY_COUNT- See Also:
-
DATA_STORE_NAME
- See Also:
-
DATA_STORE_CONNECTION
- See Also:
-
NO_SQL_TIMEOUT
- See Also:
-
CDR_STORE_PARTITION_COUNT
- See Also:
-
RETRY_COUNT
- See Also:
-
DEFAULT_NAME
- See Also:
-
DEFAULT_DATA_STORE_NAME
- See Also:
-
DEFAULT_DATA_STORE_CONNECTION
- See Also:
-
DEFAULT_NO_SQL_TIMEOUT
public static final long DEFAULT_NO_SQL_TIMEOUT- See Also:
-
DEFAULT_CDR_STORE_PARTITION_COUNT
public static final int DEFAULT_CDR_STORE_PARTITION_COUNT- See Also:
-
DEFAULT_RETRY_COUNT
public static final int DEFAULT_RETRY_COUNT- See Also:
-
-
Constructor Details
-
NoSQLConnectionConfiguration
public NoSQLConnectionConfiguration()Default Constructor -
NoSQLConnectionConfiguration
Constructor- Parameters:
name- bean namebeanId- bean id
-
-
Method Details
-
testConnection
Description copied from class:AbstractConnectionConfigurationMethod to test a connection after configuration- Specified by:
testConnectionin interfaceNoSQLConnectionConfigurationMBean- Specified by:
testConnectionin classAbstractConnectionConfiguration- Returns:
- Message whether or not the connection was successful.
-
giveInitializerTo
public void giveInitializerTo(oracle.communication.brm.charging.util.directevolution.DEvolvableHelper DEvolvableHelper) - Specified by:
giveInitializerToin interfaceoracle.communication.brm.charging.util.directevolution.DEvolvable- Overrides:
giveInitializerToin classoracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean
-
createInstance
public oracle.communication.brm.charging.util.directevolution.DEvolvable createInstance()- Specified by:
createInstancein interfaceoracle.communication.brm.charging.util.directevolution.DEvolvable
-
getName
Description copied from interface:oracle.communication.brm.charging.appconfiguration.ChildConfigBeanUnique name of the child configuration MBean. This name will be used to construct the Mbean name- Specified by:
getNamein interfaceoracle.communication.brm.charging.appconfiguration.ChildConfigBean- Returns:
- name of the child bean
-
setName
Description copied from interface:oracle.communication.brm.charging.appconfiguration.ChildConfigBeanUnique name of the child configuration MBean. This name will be used to construct the Mbean name- Specified by:
setNamein interfaceoracle.communication.brm.charging.appconfiguration.ChildConfigBean- Parameters:
name-
-
getClusterName
Description copied from interface:oracle.communication.brm.charging.appconfiguration.ChildConfigBeanCluster name of the child configuration MBean. This name will be used to construct the Mbean name- Specified by:
getClusterNamein interfaceoracle.communication.brm.charging.appconfiguration.ChildConfigBean- Returns:
- cluster name of the child bean
-
setClusterName
Description copied from interface:oracle.communication.brm.charging.appconfiguration.ChildConfigBeanCluster name of the child configuration MBean. This name will be used to construct the Mbean name- Specified by:
setClusterNamein interfaceoracle.communication.brm.charging.appconfiguration.ChildConfigBean- Parameters:
clusterName- cluster name of the child bean
-
getDataStoreConnection
Description copied from interface:NoSQLConnectionConfigurationMBeanReturns the Data source connection- Specified by:
getDataStoreConnectionin interfaceNoSQLConnectionConfigurationMBean- Returns:
-
setDataStoreConnection
Description copied from interface:NoSQLConnectionConfigurationMBeanSets the Data source connection- Specified by:
setDataStoreConnectionin interfaceNoSQLConnectionConfigurationMBean- Parameters:
dataStoreConnection-
-
getDataStoreName
Description copied from interface:NoSQLConnectionConfigurationMBeanReturns the Data source name- Specified by:
getDataStoreNamein interfaceNoSQLConnectionConfigurationMBean- Returns:
-
setDataStoreName
Description copied from interface:NoSQLConnectionConfigurationMBeanSets the Data source connection- Specified by:
setDataStoreNamein interfaceNoSQLConnectionConfigurationMBean- Parameters:
dataStoreName-
-
getNoSQLTimeout
public long getNoSQLTimeout()Description copied from interface:NoSQLConnectionConfigurationMBeanReturns the NoSQL timeout- Specified by:
getNoSQLTimeoutin interfaceNoSQLConnectionConfigurationMBean- Returns:
- noSQLTimeout
-
setNoSQLTimeout
public void setNoSQLTimeout(long noSQLTimeout) Description copied from interface:NoSQLConnectionConfigurationMBeanSets the NoSQL timeout- Specified by:
setNoSQLTimeoutin interfaceNoSQLConnectionConfigurationMBean- Parameters:
noSQLTimeout-
-
getCdrStorePartitionCount
public int getCdrStorePartitionCount()Description copied from interface:NoSQLConnectionConfigurationMBeanReturns the NoSQL partitionCount- Specified by:
getCdrStorePartitionCountin interfaceNoSQLConnectionConfigurationMBean- Returns:
- partitionCount
-
setCdrStorePartitionCount
public void setCdrStorePartitionCount(int cdrStorePartitionCount) Description copied from interface:NoSQLConnectionConfigurationMBeanSets the NoSQL partitionCount- Specified by:
setCdrStorePartitionCountin interfaceNoSQLConnectionConfigurationMBean- Parameters:
cdrStorePartitionCount-
-
getRetryCount
public int getRetryCount()Description copied from interface:NoSQLConnectionConfigurationMBeanReturns the NoSQL retryCount- Specified by:
getRetryCountin interfaceNoSQLConnectionConfigurationMBean- Returns:
- retryCount
-
setRetryCount
public void setRetryCount(int retryCount) Description copied from interface:NoSQLConnectionConfigurationMBeanSets the NoSQL retryCount- Specified by:
setRetryCountin interfaceNoSQLConnectionConfigurationMBean- Parameters:
retryCount-
-
handlePrintConfiguration
protected void handlePrintConfiguration(org.apache.logging.log4j.Logger logger) Description copied from class:oracle.communication.brm.charging.appconfiguration.AbstractConfigurationBeanMethod used by subclasses to dump their configuration settings to a log file.- Specified by:
handlePrintConfigurationin classoracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean- Parameters:
logger- the logger is provided to subclassers for writing their config values.
-
getImplementingClass
Description copied from interface:oracle.communication.brm.charging.appconfiguration.ChildConfigBeanThe implementing class is needed for dynamic instantiation in abstract class.- Specified by:
getImplementingClassin interfaceoracle.communication.brm.charging.appconfiguration.ChildConfigBean- Returns:
- Implementing class
-
republishAll
public void republishAll()Description copied from interface:oracle.communication.brm.charging.appconfiguration.ConfigurationBeanMethod used to persist and synchronize all app configuration beans to charging-settings.xml.- Specified by:
republishAllin interfaceoracle.communication.brm.charging.appconfiguration.ConfigurationBean
-
equals
- Overrides:
equalsin classoracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean
-
hashCode
public int hashCode()- Overrides:
hashCodein classoracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean
-