Class BRMGatewayConfiguration
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
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final intstatic final longstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final Stringstatic final Stringstatic final intstatic final intstatic final intstatic final intstatic final longstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class oracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean
CONFIG_CLASS, M_BEAN_CATEGORY, NAME, POF_IMPL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionoracle.communication.brm.charging.util.directevolution.DEvolvablebooleanintReturn Gateway Timeout IntervalintReturn Delay PeriodintReturn Initial DelaylongReturn Delay Period for queue threadintReturn Number Of threadsCluster name of the child configuration MBean.intReturn the connection retry countlongReturn the connection retry intervalintReturn the EmptyQueueThreadSleep intervalintReturn Gateway Sleep IntervalThe implementing class is needed for dynamic instantiation in abstract class.intReturn Gateway Batch SizeintReturn the Return Sleep intervalintReturn Receive Time OutgetName()Unique name of the child configuration MBean.intvoidgiveInitializerTo(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.voidsetBrmResponseTimeOutInterval(int brmResponseTimeOutInterval) This method used to set the gatewayTimeOutIntervalvoidsetBrmSchedulerThreadDelayPeriod(int brmSchedulerThreadDelayPeriod) This method used to set the Delay PeriodvoidsetBrmSchedulerThreadInitialDelay(int brmSchedulerThreadInitialDelay) This method used to set the Initial Delay TimevoidsetBrmSuspenseQueuePeriod(long brmSuspenseQueuePeriod) This method used to set the Delay Period for queue threadvoidsetBrmWorkerThreads(int brmWorkerThreads) This method used to set the Number Of ThreadsvoidsetClusterName(String clusterName) Cluster name of the child configuration MBean.voidsetConnectionRetryCount(int connectionRetryCount) Sets the connection retry countvoidsetConnectionRetryInterval(long connectionRetryInterval) Sets the connection retry intervalvoidsetEmptyQueueThreadSleepInterval(int emptyQueueThreadSleepInterval) This method used to set the EmptyQueueThreadSleep IntervalvoidsetGatewaySleepInterval(int gatewaySleepInterval) This method used to set the gatewaySleep IntervalvoidsetJmsBatchSize(int jmsBatchSize) This method used to set the gatewayBatchSizevoidsetJmsReceiveSleepInterval(int jmsReceiveSleepInterval) This method used to set the receiveSleepIntervalvoidsetJmsReceiveTimeout(int jmsReceiveTimeout) This method used to set the receiveTimeOutvoidsetKafkaPartition(String kafkaPartition) voidUnique name of the child configuration MBean.voidsetSchemaNumber(int schemaNumber) toString()Methods 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, 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_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
- 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
- See Also:
-
DEFAULT_KAFKA_PARTITION
- See Also:
-
-
Constructor Details
-
BRMGatewayConfiguration
public BRMGatewayConfiguration()Default Constructor
-
-
Method Details
-
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
-
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
-
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
-
getEmptyQueueThreadSleepInterval
public int getEmptyQueueThreadSleepInterval()Description copied from interface:BRMGatewayConfigurationMBeanReturn the EmptyQueueThreadSleep interval- Specified by:
getEmptyQueueThreadSleepIntervalin interfaceBRMGatewayConfigurationMBean- Returns:
- ThreadSleep Interval Time
-
setEmptyQueueThreadSleepInterval
public void setEmptyQueueThreadSleepInterval(int emptyQueueThreadSleepInterval) Description copied from interface:BRMGatewayConfigurationMBeanThis method used to set the EmptyQueueThreadSleep Interval- Specified by:
setEmptyQueueThreadSleepIntervalin interfaceBRMGatewayConfigurationMBean- Parameters:
emptyQueueThreadSleepInterval-
-
getJmsReceiveSleepInterval
public int getJmsReceiveSleepInterval()Description copied from interface:BRMGatewayConfigurationMBeanReturn the Return Sleep interval- Specified by:
getJmsReceiveSleepIntervalin interfaceBRMGatewayConfigurationMBean- Returns:
- Return Sleep Interval
-
setJmsReceiveSleepInterval
public void setJmsReceiveSleepInterval(int jmsReceiveSleepInterval) Description copied from interface:BRMGatewayConfigurationMBeanThis method used to set the receiveSleepInterval- Specified by:
setJmsReceiveSleepIntervalin interfaceBRMGatewayConfigurationMBean- Parameters:
jmsReceiveSleepInterval-
-
getBrmResponseTimeOutInterval
public int getBrmResponseTimeOutInterval()Description copied from interface:BRMGatewayConfigurationMBeanReturn Gateway Timeout Interval- Specified by:
getBrmResponseTimeOutIntervalin interfaceBRMGatewayConfigurationMBean- Returns:
- Gateway Timeout Interval
-
setBrmResponseTimeOutInterval
public void setBrmResponseTimeOutInterval(int brmResponseTimeOutInterval) Description copied from interface:BRMGatewayConfigurationMBeanThis method used to set the gatewayTimeOutInterval- Specified by:
setBrmResponseTimeOutIntervalin interfaceBRMGatewayConfigurationMBean- Parameters:
brmResponseTimeOutInterval-
-
getGatewaySleepInterval
public int getGatewaySleepInterval()Description copied from interface:BRMGatewayConfigurationMBeanReturn Gateway Sleep Interval- Specified by:
getGatewaySleepIntervalin interfaceBRMGatewayConfigurationMBean- Returns:
- Gateway Sleep Interval
-
setGatewaySleepInterval
public void setGatewaySleepInterval(int gatewaySleepInterval) Description copied from interface:BRMGatewayConfigurationMBeanThis method used to set the gatewaySleep Interval- Specified by:
setGatewaySleepIntervalin interfaceBRMGatewayConfigurationMBean- Parameters:
gatewaySleepInterval-
-
getJmsBatchSize
public int getJmsBatchSize()Description copied from interface:BRMGatewayConfigurationMBeanReturn Gateway Batch Size- Specified by:
getJmsBatchSizein interfaceBRMGatewayConfigurationMBean- Returns:
- Gateway Batch Size
-
setJmsBatchSize
public void setJmsBatchSize(int jmsBatchSize) Description copied from interface:BRMGatewayConfigurationMBeanThis method used to set the gatewayBatchSize- Specified by:
setJmsBatchSizein interfaceBRMGatewayConfigurationMBean- Parameters:
jmsBatchSize-
-
getJmsReceiveTimeout
public int getJmsReceiveTimeout()Description copied from interface:BRMGatewayConfigurationMBeanReturn Receive Time Out- Specified by:
getJmsReceiveTimeoutin interfaceBRMGatewayConfigurationMBean- Returns:
- Receive Time Out
-
setJmsReceiveTimeout
public void setJmsReceiveTimeout(int jmsReceiveTimeout) Description copied from interface:BRMGatewayConfigurationMBeanThis method used to set the receiveTimeOut- Specified by:
setJmsReceiveTimeoutin interfaceBRMGatewayConfigurationMBean- Parameters:
jmsReceiveTimeout-
-
getBrmWorkerThreads
public int getBrmWorkerThreads()Description copied from interface:BRMGatewayConfigurationMBeanReturn Number Of threads- Specified by:
getBrmWorkerThreadsin interfaceBRMGatewayConfigurationMBean- Returns:
- Gateway Sleep Interval
-
setBrmWorkerThreads
public void setBrmWorkerThreads(int brmWorkerThreads) Description copied from interface:BRMGatewayConfigurationMBeanThis method used to set the Number Of Threads- Specified by:
setBrmWorkerThreadsin interfaceBRMGatewayConfigurationMBean- Parameters:
brmWorkerThreads-
-
getBrmSchedulerThreadInitialDelay
public int getBrmSchedulerThreadInitialDelay()Description copied from interface:BRMGatewayConfigurationMBeanReturn Initial Delay- Specified by:
getBrmSchedulerThreadInitialDelayin interfaceBRMGatewayConfigurationMBean- Returns:
- Gateway Sleep Interval
-
setBrmSchedulerThreadInitialDelay
public void setBrmSchedulerThreadInitialDelay(int brmSchedulerThreadInitialDelay) Description copied from interface:BRMGatewayConfigurationMBeanThis method used to set the Initial Delay Time- Specified by:
setBrmSchedulerThreadInitialDelayin interfaceBRMGatewayConfigurationMBean- Parameters:
brmSchedulerThreadInitialDelay-
-
getBrmSchedulerThreadDelayPeriod
public int getBrmSchedulerThreadDelayPeriod()Description copied from interface:BRMGatewayConfigurationMBeanReturn Delay Period- Specified by:
getBrmSchedulerThreadDelayPeriodin interfaceBRMGatewayConfigurationMBean- Returns:
- Gateway Sleep Interval
-
setBrmSchedulerThreadDelayPeriod
public void setBrmSchedulerThreadDelayPeriod(int brmSchedulerThreadDelayPeriod) Description copied from interface:BRMGatewayConfigurationMBeanThis method used to set the Delay Period- Specified by:
setBrmSchedulerThreadDelayPeriodin interfaceBRMGatewayConfigurationMBean- Parameters:
brmSchedulerThreadDelayPeriod-
-
createInstance
public oracle.communication.brm.charging.util.directevolution.DEvolvable createInstance()- Specified by:
createInstancein interfaceoracle.communication.brm.charging.util.directevolution.DEvolvable
-
setBrmSuspenseQueuePeriod
public void setBrmSuspenseQueuePeriod(long brmSuspenseQueuePeriod) Description copied from interface:BRMGatewayConfigurationMBeanThis method used to set the Delay Period for queue thread- Specified by:
setBrmSuspenseQueuePeriodin interfaceBRMGatewayConfigurationMBean- Parameters:
brmSuspenseQueuePeriod-
-
getBrmSuspenseQueuePeriod
public long getBrmSuspenseQueuePeriod()Description copied from interface:BRMGatewayConfigurationMBeanReturn Delay Period for queue thread- Specified by:
getBrmSuspenseQueuePeriodin interfaceBRMGatewayConfigurationMBean- Returns:
- Suspense Queue thread Sleep Interval
-
getConnectionRetryCount
public int getConnectionRetryCount()Description copied from interface:BRMGatewayConfigurationMBeanReturn the connection retry count- Specified by:
getConnectionRetryCountin interfaceBRMGatewayConfigurationMBean- Returns:
- the connection retry count
-
setConnectionRetryCount
public void setConnectionRetryCount(int connectionRetryCount) Description copied from interface:BRMGatewayConfigurationMBeanSets the connection retry count- Specified by:
setConnectionRetryCountin interfaceBRMGatewayConfigurationMBean- Parameters:
connectionRetryCount- the connection retry count to be set
-
getConnectionRetryInterval
public long getConnectionRetryInterval()Description copied from interface:BRMGatewayConfigurationMBeanReturn the connection retry interval- Specified by:
getConnectionRetryIntervalin interfaceBRMGatewayConfigurationMBean- Returns:
- the connection retry interval
-
setConnectionRetryInterval
public void setConnectionRetryInterval(long connectionRetryInterval) Description copied from interface:BRMGatewayConfigurationMBeanSets the connection retry interval- Specified by:
setConnectionRetryIntervalin interfaceBRMGatewayConfigurationMBean- Parameters:
connectionRetryInterval- the connection retry interval to be set
-
getSchemaNumber
public int getSchemaNumber()- Specified by:
getSchemaNumberin interfaceBRMGatewayConfigurationMBean- Returns:
-
setSchemaNumber
public void setSchemaNumber(int schemaNumber) - Specified by:
setSchemaNumberin interfaceBRMGatewayConfigurationMBean- Parameters:
schemaNumber-
-
getKafkaPartition
- Specified by:
getKafkaPartitionin interfaceBRMGatewayConfigurationMBean- Returns:
- kafkaPartition
-
setKafkaPartition
- Specified by:
setKafkaPartitionin interfaceBRMGatewayConfigurationMBean- Parameters:
kafkaPartition-
-
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.
-
equals
- Overrides:
equalsin classoracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean
-
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
-
hashCode
public int hashCode()- Overrides:
hashCodein classoracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean
-
toString
- Overrides:
toStringin classoracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean
-