java.lang.Object
java.util.Observable
oracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean
oracle.communication.brm.charging.appconfiguration.beans.connection.BRMGatewayConfiguration
All Implemented Interfaces:
Cloneable, BRMGatewayConfigurationMBean, oracle.communication.brm.charging.appconfiguration.ChildConfigBean, oracle.communication.brm.charging.appconfiguration.ConfigurationBean, oracle.communication.brm.charging.util.directevolution.DEvolvable

public class BRMGatewayConfiguration extends oracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean implements BRMGatewayConfigurationMBean, oracle.communication.brm.charging.appconfiguration.ChildConfigBean
  • Field Details

    • POF_NAME

      public static final int POF_NAME
      See Also:
    • POF_EMT_QUEUE_THREAD_SLEEP_INTERVAL

      public static final int POF_EMT_QUEUE_THREAD_SLEEP_INTERVAL
      See Also:
    • POF_RECEIVE_SLEEP_INTERVAL

      public static final int POF_RECEIVE_SLEEP_INTERVAL
      See Also:
    • POF_GATEWAY_TIMEOUT_INTERVAL

      public static final int POF_GATEWAY_TIMEOUT_INTERVAL
      See Also:
    • POF_GATEWAY_SLEEP_INTERVAL

      public static final int POF_GATEWAY_SLEEP_INTERVAL
      See Also:
    • POF_GATEWAY_BATCH_SIZE

      public static final int POF_GATEWAY_BATCH_SIZE
      See Also:
    • POF_RECEIVE_TIMEOUT

      public static final int POF_RECEIVE_TIMEOUT
      See Also:
    • POF_NUMBER_OF_THREADS

      public static final int POF_NUMBER_OF_THREADS
      See Also:
    • POF_INITIAL_DELAY

      public static final int POF_INITIAL_DELAY
      See Also:
    • POF_DELAY_PERIOD

      public static final int POF_DELAY_PERIOD
      See Also:
    • POF_SUSPENSE_QUEUE_RECYCLE_PERIOD

      public static final int POF_SUSPENSE_QUEUE_RECYCLE_PERIOD
      See Also:
    • POF_CONNECTION_RETRY_COUNT

      public static final int POF_CONNECTION_RETRY_COUNT
      See Also:
    • POF_CONNECTION_RETRY_INTERVAL

      public static final int POF_CONNECTION_RETRY_INTERVAL
      See Also:
    • POF_SCHEMA_NUMBER

      public static final int POF_SCHEMA_NUMBER
      See Also:
    • POF_CLUSTER_NAME

      public static final int POF_CLUSTER_NAME
      See Also:
    • POF_KAFKA_PARTITION

      public static final int POF_KAFKA_PARTITION
      See Also:
    • DEFAULT_NAME

      public static final String DEFAULT_NAME
      See Also:
    • DEFAULT_EMPTY_QUEUE_THREAD_SLEEP_INTERVAL

      public static final int DEFAULT_EMPTY_QUEUE_THREAD_SLEEP_INTERVAL
      See Also:
    • DEFAULT_RECEIVE_SLEEP_INTERVAL

      public static final int DEFAULT_RECEIVE_SLEEP_INTERVAL
      See Also:
    • DEFAULT_GATEWAY_TIMEOUT_INTERVAL

      public static final int DEFAULT_GATEWAY_TIMEOUT_INTERVAL
      See Also:
    • DEFAULT_GATEWAY_SLEEP_INTERVAL

      public static final int DEFAULT_GATEWAY_SLEEP_INTERVAL
      See Also:
    • DEFAULT_GATEWAY_BATCH_SIZE

      public static final int DEFAULT_GATEWAY_BATCH_SIZE
      See Also:
    • DEFAULT_RECEIVE_TIMEOUT

      public static final int DEFAULT_RECEIVE_TIMEOUT
      See Also:
    • DEFAULT_NUMBER_OF_THREADS

      public static final int DEFAULT_NUMBER_OF_THREADS
      See Also:
    • DEFAULT_INITIAL_DELAY

      public static final int DEFAULT_INITIAL_DELAY
      See Also:
    • DEFAULT_DELAY_PERIOD

      public static final int DEFAULT_DELAY_PERIOD
      See Also:
    • DEFAULT_SUSPENSE_QUEUE_RECYCLE_PERIOD

      public static final long DEFAULT_SUSPENSE_QUEUE_RECYCLE_PERIOD
      See Also:
    • DEFAULT_CONNECTION_RETRY_COUNT

      public static final int DEFAULT_CONNECTION_RETRY_COUNT
      See Also:
    • DEFAULT_CONNECTION_RETRY_INTERVAL

      public static final long DEFAULT_CONNECTION_RETRY_INTERVAL
      See Also:
    • DEFAULT_SCHEMA_NUMBER

      public static final int DEFAULT_SCHEMA_NUMBER
      See Also:
    • DEFAULT_CLUSTER_NAME

      public static final String DEFAULT_CLUSTER_NAME
      See Also:
    • DEFAULT_KAFKA_PARTITION

      public static final String DEFAULT_KAFKA_PARTITION
      See Also:
  • Constructor Details

    • BRMGatewayConfiguration

      public BRMGatewayConfiguration()
      Default Constructor
  • Method Details

    • 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
    • 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
    • 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
    • getEmptyQueueThreadSleepInterval

      public int getEmptyQueueThreadSleepInterval()
      Description copied from interface: BRMGatewayConfigurationMBean
      Return the EmptyQueueThreadSleep interval
      Specified by:
      getEmptyQueueThreadSleepInterval in interface BRMGatewayConfigurationMBean
      Returns:
      ThreadSleep Interval Time
    • setEmptyQueueThreadSleepInterval

      public void setEmptyQueueThreadSleepInterval(int emptyQueueThreadSleepInterval)
      Description copied from interface: BRMGatewayConfigurationMBean
      This method used to set the EmptyQueueThreadSleep Interval
      Specified by:
      setEmptyQueueThreadSleepInterval in interface BRMGatewayConfigurationMBean
      Parameters:
      emptyQueueThreadSleepInterval -
    • getJmsReceiveSleepInterval

      public int getJmsReceiveSleepInterval()
      Description copied from interface: BRMGatewayConfigurationMBean
      Return the Return Sleep interval
      Specified by:
      getJmsReceiveSleepInterval in interface BRMGatewayConfigurationMBean
      Returns:
      Return Sleep Interval
    • setJmsReceiveSleepInterval

      public void setJmsReceiveSleepInterval(int jmsReceiveSleepInterval)
      Description copied from interface: BRMGatewayConfigurationMBean
      This method used to set the receiveSleepInterval
      Specified by:
      setJmsReceiveSleepInterval in interface BRMGatewayConfigurationMBean
      Parameters:
      jmsReceiveSleepInterval -
    • getBrmResponseTimeOutInterval

      public int getBrmResponseTimeOutInterval()
      Description copied from interface: BRMGatewayConfigurationMBean
      Return Gateway Timeout Interval
      Specified by:
      getBrmResponseTimeOutInterval in interface BRMGatewayConfigurationMBean
      Returns:
      Gateway Timeout Interval
    • setBrmResponseTimeOutInterval

      public void setBrmResponseTimeOutInterval(int brmResponseTimeOutInterval)
      Description copied from interface: BRMGatewayConfigurationMBean
      This method used to set the gatewayTimeOutInterval
      Specified by:
      setBrmResponseTimeOutInterval in interface BRMGatewayConfigurationMBean
      Parameters:
      brmResponseTimeOutInterval -
    • getGatewaySleepInterval

      public int getGatewaySleepInterval()
      Description copied from interface: BRMGatewayConfigurationMBean
      Return Gateway Sleep Interval
      Specified by:
      getGatewaySleepInterval in interface BRMGatewayConfigurationMBean
      Returns:
      Gateway Sleep Interval
    • setGatewaySleepInterval

      public void setGatewaySleepInterval(int gatewaySleepInterval)
      Description copied from interface: BRMGatewayConfigurationMBean
      This method used to set the gatewaySleep Interval
      Specified by:
      setGatewaySleepInterval in interface BRMGatewayConfigurationMBean
      Parameters:
      gatewaySleepInterval -
    • getJmsBatchSize

      public int getJmsBatchSize()
      Description copied from interface: BRMGatewayConfigurationMBean
      Return Gateway Batch Size
      Specified by:
      getJmsBatchSize in interface BRMGatewayConfigurationMBean
      Returns:
      Gateway Batch Size
    • setJmsBatchSize

      public void setJmsBatchSize(int jmsBatchSize)
      Description copied from interface: BRMGatewayConfigurationMBean
      This method used to set the gatewayBatchSize
      Specified by:
      setJmsBatchSize in interface BRMGatewayConfigurationMBean
      Parameters:
      jmsBatchSize -
    • getJmsReceiveTimeout

      public int getJmsReceiveTimeout()
      Description copied from interface: BRMGatewayConfigurationMBean
      Return Receive Time Out
      Specified by:
      getJmsReceiveTimeout in interface BRMGatewayConfigurationMBean
      Returns:
      Receive Time Out
    • setJmsReceiveTimeout

      public void setJmsReceiveTimeout(int jmsReceiveTimeout)
      Description copied from interface: BRMGatewayConfigurationMBean
      This method used to set the receiveTimeOut
      Specified by:
      setJmsReceiveTimeout in interface BRMGatewayConfigurationMBean
      Parameters:
      jmsReceiveTimeout -
    • getBrmWorkerThreads

      public int getBrmWorkerThreads()
      Description copied from interface: BRMGatewayConfigurationMBean
      Return Number Of threads
      Specified by:
      getBrmWorkerThreads in interface BRMGatewayConfigurationMBean
      Returns:
      Gateway Sleep Interval
    • setBrmWorkerThreads

      public void setBrmWorkerThreads(int brmWorkerThreads)
      Description copied from interface: BRMGatewayConfigurationMBean
      This method used to set the Number Of Threads
      Specified by:
      setBrmWorkerThreads in interface BRMGatewayConfigurationMBean
      Parameters:
      brmWorkerThreads -
    • getBrmSchedulerThreadInitialDelay

      public int getBrmSchedulerThreadInitialDelay()
      Description copied from interface: BRMGatewayConfigurationMBean
      Return Initial Delay
      Specified by:
      getBrmSchedulerThreadInitialDelay in interface BRMGatewayConfigurationMBean
      Returns:
      Gateway Sleep Interval
    • setBrmSchedulerThreadInitialDelay

      public void setBrmSchedulerThreadInitialDelay(int brmSchedulerThreadInitialDelay)
      Description copied from interface: BRMGatewayConfigurationMBean
      This method used to set the Initial Delay Time
      Specified by:
      setBrmSchedulerThreadInitialDelay in interface BRMGatewayConfigurationMBean
      Parameters:
      brmSchedulerThreadInitialDelay -
    • getBrmSchedulerThreadDelayPeriod

      public int getBrmSchedulerThreadDelayPeriod()
      Description copied from interface: BRMGatewayConfigurationMBean
      Return Delay Period
      Specified by:
      getBrmSchedulerThreadDelayPeriod in interface BRMGatewayConfigurationMBean
      Returns:
      Gateway Sleep Interval
    • setBrmSchedulerThreadDelayPeriod

      public void setBrmSchedulerThreadDelayPeriod(int brmSchedulerThreadDelayPeriod)
      Description copied from interface: BRMGatewayConfigurationMBean
      This method used to set the Delay Period
      Specified by:
      setBrmSchedulerThreadDelayPeriod in interface BRMGatewayConfigurationMBean
      Parameters:
      brmSchedulerThreadDelayPeriod -
    • createInstance

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

      public void setBrmSuspenseQueuePeriod(long brmSuspenseQueuePeriod)
      Description copied from interface: BRMGatewayConfigurationMBean
      This method used to set the Delay Period for queue thread
      Specified by:
      setBrmSuspenseQueuePeriod in interface BRMGatewayConfigurationMBean
      Parameters:
      brmSuspenseQueuePeriod -
    • getBrmSuspenseQueuePeriod

      public long getBrmSuspenseQueuePeriod()
      Description copied from interface: BRMGatewayConfigurationMBean
      Return Delay Period for queue thread
      Specified by:
      getBrmSuspenseQueuePeriod in interface BRMGatewayConfigurationMBean
      Returns:
      Suspense Queue thread Sleep Interval
    • getConnectionRetryCount

      public int getConnectionRetryCount()
      Description copied from interface: BRMGatewayConfigurationMBean
      Return the connection retry count
      Specified by:
      getConnectionRetryCount in interface BRMGatewayConfigurationMBean
      Returns:
      the connection retry count
    • setConnectionRetryCount

      public void setConnectionRetryCount(int connectionRetryCount)
      Description copied from interface: BRMGatewayConfigurationMBean
      Sets the connection retry count
      Specified by:
      setConnectionRetryCount in interface BRMGatewayConfigurationMBean
      Parameters:
      connectionRetryCount - the connection retry count to be set
    • getConnectionRetryInterval

      public long getConnectionRetryInterval()
      Description copied from interface: BRMGatewayConfigurationMBean
      Return the connection retry interval
      Specified by:
      getConnectionRetryInterval in interface BRMGatewayConfigurationMBean
      Returns:
      the connection retry interval
    • setConnectionRetryInterval

      public void setConnectionRetryInterval(long connectionRetryInterval)
      Description copied from interface: BRMGatewayConfigurationMBean
      Sets the connection retry interval
      Specified by:
      setConnectionRetryInterval in interface BRMGatewayConfigurationMBean
      Parameters:
      connectionRetryInterval - the connection retry interval to be set
    • getSchemaNumber

      public int getSchemaNumber()
      Specified by:
      getSchemaNumber in interface BRMGatewayConfigurationMBean
      Returns:
    • setSchemaNumber

      public void setSchemaNumber(int schemaNumber)
      Specified by:
      setSchemaNumber in interface BRMGatewayConfigurationMBean
      Parameters:
      schemaNumber -
    • getKafkaPartition

      public String getKafkaPartition()
      Specified by:
      getKafkaPartition in interface BRMGatewayConfigurationMBean
      Returns:
      kafkaPartition
    • setKafkaPartition

      public void setKafkaPartition(String kafkaPartition)
      Specified by:
      setKafkaPartition in interface BRMGatewayConfigurationMBean
      Parameters:
      kafkaPartition -
    • 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.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class oracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean
    • 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
    • hashCode

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

      public String toString()
      Overrides:
      toString in class oracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean