Class DiameterReplayerConfiguration
java.lang.Object
java.util.Observable
oracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean
oracle.communication.brm.charging.appconfiguration.beans.diameterreplayer.DiameterReplayerConfiguration
- All Implemented Interfaces:
Cloneable,DiameterReplayerConfigurationMBean,oracle.communication.brm.charging.appconfiguration.ChildConfigBean,oracle.communication.brm.charging.appconfiguration.ConfigurationBean,oracle.communication.brm.charging.util.directevolution.DEvolvable
public class DiameterReplayerConfiguration
extends oracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean
implements DiameterReplayerConfigurationMBean, oracle.communication.brm.charging.appconfiguration.ChildConfigBean
This class represents the configuration bean for the DiameterReplayer. All available
configuration values are present in this bean. The bean is populated with values that
are present in an xml configuration file. The bean will default to certain value below if
values are not present in the supplied xml file.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final intstatic final Stringstatic final Stringstatic final Stringstatic final intstatic final intstatic final Stringstatic final Stringstatic 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, POF_IMPL -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorDiameterReplayerConfiguration(String name, String beanId) Constructor -
Method Summary
Modifier and TypeMethodDescriptionoracle.communication.brm.charging.util.directevolution.DEvolvablebooleanintReturns the check point interval.Cluster name of the child configuration MBean.Returns the diameter gateway node namesThe implementing class is needed for dynamic instantiation in abstract class.getName()Unique name of the child configuration MBean.intReturns the NoSQL batch size.longReturns the response timeout.voidgiveInitializerTo(oracle.communication.brm.charging.util.directevolution.DEvolvableHelper DEvolvableHelper) 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.voidsetCheckPointInterval(int checkPointInterval) Sets the check point interval.voidsetClusterName(String clusterName) Cluster name of the child configuration MBean.voidsetDiameterGatewayNodeNames(String diameterGatewayNodeNames) Sets the diameter gateway node names The diameter gateway node namesvoidUnique name of the child configuration MBean.voidsetNoSQLBatchSize(int noSQLBatchSize) Sets the NoSQL batch size.voidsetResponseTimeout(long responseTimeout) Sets the response timeout.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, 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_CLUSTER_NAME
public static final int POF_CLUSTER_NAME- See Also:
-
POF_DIAMETER_GATEWAY_NODE_NAMES
public static final int POF_DIAMETER_GATEWAY_NODE_NAMES- See Also:
-
POF_CHECK_POINT_INTERVAL
public static final int POF_CHECK_POINT_INTERVAL- See Also:
-
POF_NO_SQL_BATCH_SIZE
public static final int POF_NO_SQL_BATCH_SIZE- See Also:
-
POF_RESPONSE_TIMEOUT
public static final int POF_RESPONSE_TIMEOUT- See Also:
-
DEFAULT_NAME
- See Also:
-
DEFAULT_CLUSTER_NAME
- See Also:
-
DEFAULT_DIAMETER_GATEWAY_NODE_NAMES
- See Also:
-
DEFAULT_CHECK_POINT_INTERVAL
public static final int DEFAULT_CHECK_POINT_INTERVAL- See Also:
-
DEFAULT_NO_SQL_BATCH_SIZE
public static final int DEFAULT_NO_SQL_BATCH_SIZE- See Also:
-
DEFAULT_RESPONSE_TIMEOUT
public static final int DEFAULT_RESPONSE_TIMEOUT- See Also:
-
NAME
- See Also:
-
CLUSTER_NAME
- See Also:
-
DIAMETER_GATEWAY_NODE_NAMES
- See Also:
-
CHECK_POINT_INTERVAL
- See Also:
-
NO_SQL_BATCH_SIZE
- See Also:
-
RESPONSE_TIMEOUT
- See Also:
-
-
Constructor Details
-
DiameterReplayerConfiguration
public DiameterReplayerConfiguration()Default constructor -
DiameterReplayerConfiguration
Constructor- Parameters:
name- bean namebeanId- bean id
-
-
Method Details
-
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
-
getDiameterGatewayNodeNames
Description copied from interface:DiameterReplayerConfigurationMBeanReturns the diameter gateway node names- Specified by:
getDiameterGatewayNodeNamesin interfaceDiameterReplayerConfigurationMBean- Returns:
- the dimeter gateway node names
-
setDiameterGatewayNodeNames
Description copied from interface:DiameterReplayerConfigurationMBeanSets the diameter gateway node names The diameter gateway node names- Specified by:
setDiameterGatewayNodeNamesin interfaceDiameterReplayerConfigurationMBean- Parameters:
diameterGatewayNodeNames- port to listen for request
-
getCheckPointInterval
public int getCheckPointInterval()Description copied from interface:DiameterReplayerConfigurationMBeanReturns the check point interval.- Specified by:
getCheckPointIntervalin interfaceDiameterReplayerConfigurationMBean- Returns:
- checkPointInterval
-
setCheckPointInterval
public void setCheckPointInterval(int checkPointInterval) Description copied from interface:DiameterReplayerConfigurationMBeanSets the check point interval.- Specified by:
setCheckPointIntervalin interfaceDiameterReplayerConfigurationMBean- Parameters:
checkPointInterval-
-
getNoSQLBatchSize
public int getNoSQLBatchSize()Description copied from interface:DiameterReplayerConfigurationMBeanReturns the NoSQL batch size.- Specified by:
getNoSQLBatchSizein interfaceDiameterReplayerConfigurationMBean- Returns:
- noSQLBatchSize
-
setNoSQLBatchSize
public void setNoSQLBatchSize(int noSQLBatchSize) Description copied from interface:DiameterReplayerConfigurationMBeanSets the NoSQL batch size.- Specified by:
setNoSQLBatchSizein interfaceDiameterReplayerConfigurationMBean- Parameters:
noSQLBatchSize-
-
getResponseTimeout
public long getResponseTimeout()Description copied from interface:DiameterReplayerConfigurationMBeanReturns the response timeout.- Specified by:
getResponseTimeoutin interfaceDiameterReplayerConfigurationMBean- Returns:
- responseTimeout
-
setResponseTimeout
public void setResponseTimeout(long responseTimeout) Description copied from interface:DiameterReplayerConfigurationMBeanSets the response timeout.- Specified by:
setResponseTimeoutin interfaceDiameterReplayerConfigurationMBean- Parameters:
responseTimeout-
-
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
-
handlePrintConfiguration
public 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
-
hashCode
public int hashCode()- Overrides:
hashCodein classoracle.communication.brm.charging.appconfiguration.AbstractConfigurationBean
-