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 String
static final int
static final long
static final int
static final int
static final int
static final int
static final int
static final int
static final String
static final String
static final int
static final int
static final int
static final int
static final long
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
Fields 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.DEvolvable
boolean
int
Return Gateway Timeout Intervalint
Return Delay Periodint
Return Initial Delaylong
Return Delay Period for queue threadint
Return Number Of threadsCluster name of the child configuration MBean.int
Return the connection retry countlong
Return the connection retry intervalint
Return the EmptyQueueThreadSleep intervalint
Return Gateway Sleep IntervalThe implementing class is needed for dynamic instantiation in abstract class.int
Return Gateway Batch Sizeint
Return the Return Sleep intervalint
Return Receive Time OutgetName()
Unique name of the child configuration MBean.int
void
giveInitializerTo
(oracle.communication.brm.charging.util.directevolution.DEvolvableHelper DEvolvableHelper) protected void
handlePrintConfiguration
(org.apache.logging.log4j.Logger logger) Method used by subclasses to dump their configuration settings to a log file.int
hashCode()
void
Method used to persist and synchronize all app configuration beans to charging-settings.xml.void
setBrmResponseTimeOutInterval
(int brmResponseTimeOutInterval) This method used to set the gatewayTimeOutIntervalvoid
setBrmSchedulerThreadDelayPeriod
(int brmSchedulerThreadDelayPeriod) This method used to set the Delay Periodvoid
setBrmSchedulerThreadInitialDelay
(int brmSchedulerThreadInitialDelay) This method used to set the Initial Delay Timevoid
setBrmSuspenseQueuePeriod
(long brmSuspenseQueuePeriod) This method used to set the Delay Period for queue threadvoid
setBrmWorkerThreads
(int brmWorkerThreads) This method used to set the Number Of Threadsvoid
setClusterName
(String clusterName) Cluster name of the child configuration MBean.void
setConnectionRetryCount
(int connectionRetryCount) Sets the connection retry countvoid
setConnectionRetryInterval
(long connectionRetryInterval) Sets the connection retry intervalvoid
setEmptyQueueThreadSleepInterval
(int emptyQueueThreadSleepInterval) This method used to set the EmptyQueueThreadSleep Intervalvoid
setGatewaySleepInterval
(int gatewaySleepInterval) This method used to set the gatewaySleep Intervalvoid
setJmsBatchSize
(int jmsBatchSize) This method used to set the gatewayBatchSizevoid
setJmsReceiveSleepInterval
(int jmsReceiveSleepInterval) This method used to set the receiveSleepIntervalvoid
setJmsReceiveTimeout
(int jmsReceiveTimeout) This method used to set the receiveTimeOutvoid
setKafkaPartition
(String kafkaPartition) void
Unique name of the child configuration MBean.void
setSchemaNumber
(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, unRegisterBean
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface oracle.communication.brm.charging.appconfiguration.ConfigurationBean
getBeanId, getFilename, getModifyingClusterName, getModifyingMemberId, printConfiguration, setBeanId, setFilename, setModifyingClusterName
Methods 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.ChildConfigBean
Unique name of the child configuration MBean. This name will be used to construct the Mbean name- Specified by:
getName
in interfaceoracle.communication.brm.charging.appconfiguration.ChildConfigBean
- Returns:
- name of the child bean
-
setName
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 interfaceoracle.communication.brm.charging.appconfiguration.ChildConfigBean
- Parameters:
name
-
-
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 interfaceoracle.communication.brm.charging.appconfiguration.ChildConfigBean
- Returns:
- cluster name of the child bean
-
setClusterName
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 interfaceoracle.communication.brm.charging.appconfiguration.ChildConfigBean
- Parameters:
clusterName
- cluster name of the child bean
-
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 interfaceoracle.communication.brm.charging.appconfiguration.ChildConfigBean
- Returns:
- Implementing class
-
giveInitializerTo
public void giveInitializerTo(oracle.communication.brm.charging.util.directevolution.DEvolvableHelper DEvolvableHelper) - Specified by:
giveInitializerTo
in interfaceoracle.communication.brm.charging.util.directevolution.DEvolvable
- Overrides:
giveInitializerTo
in classoracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean
-
getEmptyQueueThreadSleepInterval
public int getEmptyQueueThreadSleepInterval()Description copied from interface:BRMGatewayConfigurationMBean
Return the EmptyQueueThreadSleep interval- Specified by:
getEmptyQueueThreadSleepInterval
in interfaceBRMGatewayConfigurationMBean
- 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 interfaceBRMGatewayConfigurationMBean
- Parameters:
emptyQueueThreadSleepInterval
-
-
getJmsReceiveSleepInterval
public int getJmsReceiveSleepInterval()Description copied from interface:BRMGatewayConfigurationMBean
Return the Return Sleep interval- Specified by:
getJmsReceiveSleepInterval
in interfaceBRMGatewayConfigurationMBean
- 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 interfaceBRMGatewayConfigurationMBean
- Parameters:
jmsReceiveSleepInterval
-
-
getBrmResponseTimeOutInterval
public int getBrmResponseTimeOutInterval()Description copied from interface:BRMGatewayConfigurationMBean
Return Gateway Timeout Interval- Specified by:
getBrmResponseTimeOutInterval
in interfaceBRMGatewayConfigurationMBean
- 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 interfaceBRMGatewayConfigurationMBean
- Parameters:
brmResponseTimeOutInterval
-
-
getGatewaySleepInterval
public int getGatewaySleepInterval()Description copied from interface:BRMGatewayConfigurationMBean
Return Gateway Sleep Interval- Specified by:
getGatewaySleepInterval
in interfaceBRMGatewayConfigurationMBean
- 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 interfaceBRMGatewayConfigurationMBean
- Parameters:
gatewaySleepInterval
-
-
getJmsBatchSize
public int getJmsBatchSize()Description copied from interface:BRMGatewayConfigurationMBean
Return Gateway Batch Size- Specified by:
getJmsBatchSize
in interfaceBRMGatewayConfigurationMBean
- 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 interfaceBRMGatewayConfigurationMBean
- Parameters:
jmsBatchSize
-
-
getJmsReceiveTimeout
public int getJmsReceiveTimeout()Description copied from interface:BRMGatewayConfigurationMBean
Return Receive Time Out- Specified by:
getJmsReceiveTimeout
in interfaceBRMGatewayConfigurationMBean
- 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 interfaceBRMGatewayConfigurationMBean
- Parameters:
jmsReceiveTimeout
-
-
getBrmWorkerThreads
public int getBrmWorkerThreads()Description copied from interface:BRMGatewayConfigurationMBean
Return Number Of threads- Specified by:
getBrmWorkerThreads
in interfaceBRMGatewayConfigurationMBean
- 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 interfaceBRMGatewayConfigurationMBean
- Parameters:
brmWorkerThreads
-
-
getBrmSchedulerThreadInitialDelay
public int getBrmSchedulerThreadInitialDelay()Description copied from interface:BRMGatewayConfigurationMBean
Return Initial Delay- Specified by:
getBrmSchedulerThreadInitialDelay
in interfaceBRMGatewayConfigurationMBean
- 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 interfaceBRMGatewayConfigurationMBean
- Parameters:
brmSchedulerThreadInitialDelay
-
-
getBrmSchedulerThreadDelayPeriod
public int getBrmSchedulerThreadDelayPeriod()Description copied from interface:BRMGatewayConfigurationMBean
Return Delay Period- Specified by:
getBrmSchedulerThreadDelayPeriod
in interfaceBRMGatewayConfigurationMBean
- 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 interfaceBRMGatewayConfigurationMBean
- Parameters:
brmSchedulerThreadDelayPeriod
-
-
createInstance
public oracle.communication.brm.charging.util.directevolution.DEvolvable createInstance()- Specified by:
createInstance
in interfaceoracle.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 interfaceBRMGatewayConfigurationMBean
- Parameters:
brmSuspenseQueuePeriod
-
-
getBrmSuspenseQueuePeriod
public long getBrmSuspenseQueuePeriod()Description copied from interface:BRMGatewayConfigurationMBean
Return Delay Period for queue thread- Specified by:
getBrmSuspenseQueuePeriod
in interfaceBRMGatewayConfigurationMBean
- Returns:
- Suspense Queue thread Sleep Interval
-
getConnectionRetryCount
public int getConnectionRetryCount()Description copied from interface:BRMGatewayConfigurationMBean
Return the connection retry count- Specified by:
getConnectionRetryCount
in interfaceBRMGatewayConfigurationMBean
- 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 interfaceBRMGatewayConfigurationMBean
- 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 interfaceBRMGatewayConfigurationMBean
- 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 interfaceBRMGatewayConfigurationMBean
- Parameters:
connectionRetryInterval
- the connection retry interval to be set
-
getSchemaNumber
public int getSchemaNumber()- Specified by:
getSchemaNumber
in interfaceBRMGatewayConfigurationMBean
- Returns:
-
setSchemaNumber
public void setSchemaNumber(int schemaNumber) - Specified by:
setSchemaNumber
in interfaceBRMGatewayConfigurationMBean
- Parameters:
schemaNumber
-
-
getKafkaPartition
- Specified by:
getKafkaPartition
in interfaceBRMGatewayConfigurationMBean
- Returns:
- kafkaPartition
-
setKafkaPartition
- Specified by:
setKafkaPartition
in interfaceBRMGatewayConfigurationMBean
- 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 classoracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean
- Parameters:
logger
- the logger is provided to subclassers for writing their config values.
-
equals
- Overrides:
equals
in classoracle.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 interfaceoracle.communication.brm.charging.appconfiguration.ConfigurationBean
-
hashCode
public int hashCode()- Overrides:
hashCode
in classoracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean
-
toString
- Overrides:
toString
in classoracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean
-