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
  • Field Details

  • Constructor Details

    • NoSQLConnectionConfiguration

      public NoSQLConnectionConfiguration()
      Default Constructor
    • NoSQLConnectionConfiguration

      public NoSQLConnectionConfiguration(String name, String beanId)
      Constructor
      Parameters:
      name - bean name
      beanId - bean id
  • Method Details

    • testConnection

      public String testConnection()
      Description copied from class: AbstractConnectionConfiguration
      Method to test a connection after configuration
      Specified by:
      testConnection in interface NoSQLConnectionConfigurationMBean
      Specified by:
      testConnection in class AbstractConnectionConfiguration
      Returns:
      Message whether or not the connection was successful.
    • giveInitializerTo

      public void giveInitializerTo(oracle.communication.brm.charging.util.directevolution.DEvolvableHelper DEvolvableHelper)
      Specified by:
      giveInitializerTo in interface oracle.communication.brm.charging.util.directevolution.DEvolvable
      Overrides:
      giveInitializerTo in class oracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean
    • createInstance

      public oracle.communication.brm.charging.util.directevolution.DEvolvable createInstance()
      Specified by:
      createInstance in interface oracle.communication.brm.charging.util.directevolution.DEvolvable
    • getName

      public String getName()
      Description copied from interface: oracle.communication.brm.charging.appconfiguration.ChildConfigBean
      Unique name of the child configuration MBean. This name will be used to construct the Mbean name
      Specified by:
      getName in interface oracle.communication.brm.charging.appconfiguration.ChildConfigBean
      Returns:
      name of the child bean
    • setName

      public void setName(String name)
      Description copied from interface: oracle.communication.brm.charging.appconfiguration.ChildConfigBean
      Unique name of the child configuration MBean. This name will be used to construct the Mbean name
      Specified by:
      setName in interface oracle.communication.brm.charging.appconfiguration.ChildConfigBean
      Parameters:
      name -
    • getClusterName

      public String getClusterName()
      Description copied from interface: oracle.communication.brm.charging.appconfiguration.ChildConfigBean
      Cluster name of the child configuration MBean. This name will be used to construct the Mbean name
      Specified by:
      getClusterName in interface oracle.communication.brm.charging.appconfiguration.ChildConfigBean
      Returns:
      cluster name of the child bean
    • setClusterName

      public void setClusterName(String clusterName)
      Description copied from interface: oracle.communication.brm.charging.appconfiguration.ChildConfigBean
      Cluster name of the child configuration MBean. This name will be used to construct the Mbean name
      Specified by:
      setClusterName in interface oracle.communication.brm.charging.appconfiguration.ChildConfigBean
      Parameters:
      clusterName - cluster name of the child bean
    • getDataStoreConnection

      public String getDataStoreConnection()
      Description copied from interface: NoSQLConnectionConfigurationMBean
      Returns the Data source connection
      Specified by:
      getDataStoreConnection in interface NoSQLConnectionConfigurationMBean
      Returns:
    • setDataStoreConnection

      public void setDataStoreConnection(String dataStoreConnection)
      Description copied from interface: NoSQLConnectionConfigurationMBean
      Sets the Data source connection
      Specified by:
      setDataStoreConnection in interface NoSQLConnectionConfigurationMBean
      Parameters:
      dataStoreConnection -
    • getDataStoreName

      public String getDataStoreName()
      Description copied from interface: NoSQLConnectionConfigurationMBean
      Returns the Data source name
      Specified by:
      getDataStoreName in interface NoSQLConnectionConfigurationMBean
      Returns:
    • setDataStoreName

      public void setDataStoreName(String dataStoreName)
      Description copied from interface: NoSQLConnectionConfigurationMBean
      Sets the Data source connection
      Specified by:
      setDataStoreName in interface NoSQLConnectionConfigurationMBean
      Parameters:
      dataStoreName -
    • getNoSQLTimeout

      public long getNoSQLTimeout()
      Description copied from interface: NoSQLConnectionConfigurationMBean
      Returns the NoSQL timeout
      Specified by:
      getNoSQLTimeout in interface NoSQLConnectionConfigurationMBean
      Returns:
      noSQLTimeout
    • setNoSQLTimeout

      public void setNoSQLTimeout(long noSQLTimeout)
      Description copied from interface: NoSQLConnectionConfigurationMBean
      Sets the NoSQL timeout
      Specified by:
      setNoSQLTimeout in interface NoSQLConnectionConfigurationMBean
      Parameters:
      noSQLTimeout -
    • getCdrStorePartitionCount

      public int getCdrStorePartitionCount()
      Description copied from interface: NoSQLConnectionConfigurationMBean
      Returns the NoSQL partitionCount
      Specified by:
      getCdrStorePartitionCount in interface NoSQLConnectionConfigurationMBean
      Returns:
      partitionCount
    • setCdrStorePartitionCount

      public void setCdrStorePartitionCount(int cdrStorePartitionCount)
      Description copied from interface: NoSQLConnectionConfigurationMBean
      Sets the NoSQL partitionCount
      Specified by:
      setCdrStorePartitionCount in interface NoSQLConnectionConfigurationMBean
      Parameters:
      cdrStorePartitionCount -
    • getRetryCount

      public int getRetryCount()
      Description copied from interface: NoSQLConnectionConfigurationMBean
      Returns the NoSQL retryCount
      Specified by:
      getRetryCount in interface NoSQLConnectionConfigurationMBean
      Returns:
      retryCount
    • setRetryCount

      public void setRetryCount(int retryCount)
      Description copied from interface: NoSQLConnectionConfigurationMBean
      Sets the NoSQL retryCount
      Specified by:
      setRetryCount in interface NoSQLConnectionConfigurationMBean
      Parameters:
      retryCount -
    • handlePrintConfiguration

      protected void handlePrintConfiguration(org.apache.logging.log4j.Logger logger)
      Description copied from class: oracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean
      Method used by subclasses to dump their configuration settings to a log file.
      Specified by:
      handlePrintConfiguration in class oracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean
      Parameters:
      logger - the logger is provided to subclassers for writing their config values.
    • getImplementingClass

      public Class getImplementingClass()
      Description copied from interface: oracle.communication.brm.charging.appconfiguration.ChildConfigBean
      The implementing class is needed for dynamic instantiation in abstract class.
      Specified by:
      getImplementingClass in interface oracle.communication.brm.charging.appconfiguration.ChildConfigBean
      Returns:
      Implementing class
    • republishAll

      public void republishAll()
      Description copied from interface: oracle.communication.brm.charging.appconfiguration.ConfigurationBean
      Method used to persist and synchronize all app configuration beans to charging-settings.xml.
      Specified by:
      republishAll in interface oracle.communication.brm.charging.appconfiguration.ConfigurationBean
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class oracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class oracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean