public interface BizParamConfigMBean
Modifier and Type | Interface and Description |
---|---|
static class |
BizParamConfigMBean.OfferEligibilitySelectionMode
Enumeration containing all the allowed offer eligibility selection modes.
|
static class |
BizParamConfigMBean.RemainingBalanceCalcMode
Enumeration containing all the allowed modes for calculating remaining balance.
|
static class |
BizParamConfigMBean.ValidAccountingOnOffMode
Enumeration containing all the allowed modes for Accounting on off requests.
|
static class |
BizParamConfigMBean.ValidThresholdBreachNotificationMode
Enumeration containing all the allowed Threshold breach notification modes.
|
static class |
BizParamConfigMBean.VirtualTimeMode |
Modifier and Type | Method and Description |
---|---|
java.time.ZonedDateTime |
calculateVirtualTime() |
java.lang.String |
getAccountingOnOffMode()
Get mode for Accounting OnOff requests.
|
boolean |
getAlignRecurringImpactsToOffer()
Get the setting to align Recurring Impacts to Purchased Offer Validity.
|
java.lang.String |
getAopVariance()
Returns the Advice of promotion time variance in the ISO8601 duration format.
|
java.lang.String |
getAsoCleanupOperationList()
Method to get the Active Session Object Cleanup Operation List (comma separated values)
|
int |
getConcurrentRatedEventFederatedSleepTime()
Returns the sleep time the rerate complete process waits for the
concurrent rated events to be federated from the remote site.
|
java.lang.String |
getCurrencyRoundingMode()
Gets the rounding mode used in rating computations for currency resources.
|
int |
getCurrencyScale()
Getter for scale for rounding charges of currency resources.
|
int |
getDebitRefundSessionEvictionSize()
Get debit-refund-session cache eviction size.
|
int |
getDegradedModeThreshold()
Returns the minimum number of servers in cluster that is required to determine if
charging server is in a healthy non-degraded mode.
|
java.lang.String |
getNonCurrencyRoundingMode()
Gets the rounding mode for non-currency resources used in rating computations.
|
int |
getNonCurrencyScale()
Gets the scale for non-currency resources used in rating computations.
|
boolean |
getNonLinearRatingEnabled()
tells if non linear rating is enabled
|
java.lang.String |
getOfferEligibilitySelectionMode()
Get the mode for selecting .
|
java.lang.String |
getRemainingBalanceCalcMode()
Get the mode for calculating remaining balance .
|
int |
getSharingRetryCount()
Gets the number of times a sharing transaction is retried if a shared resource is in use in another transaction
|
java.lang.String |
getSystemConsumptionRule()
Get default consumption rule configured in the system.
|
int |
getSystemCurrencyNumericCode()
Return the system curreency
|
java.lang.String |
getThresholdBreachNotificationMode()
Get notification mode for threshold breaches.
|
boolean |
getTreatNoRatingGraphAsError()
treat NO_RATING_GRAPH_CONFIGURED as error nor not
|
long |
getUpdateRequestServerTimeout() |
java.lang.String |
getVirtualTime()
Gets the stored virtual time
|
java.lang.String |
getVirtualTimeMode()
Returns the mode of virtual time
|
int |
getWalletReadRetryCount() |
int |
getWalletReadRetryInterval() |
boolean |
isAopEnabled()
Returns true, if Advice of promotion property is enabled in
the charging server.
|
boolean |
isBrmPostCommitEnabled() |
boolean |
isEnableFuiForMemberUponSharerBalanceBreach() |
boolean |
isFailBalanceUpdatesOnCreditCeilingBreach() |
boolean |
isGroupNotificationEnabled()
To check if group Notification is enabled.
|
boolean |
isKafkaEnabledForNotifications()
To check if kafka is enabled.
|
boolean |
isMatchFactorEnabled()
Returns true, if Match factor is enabled in the charging server.
|
boolean |
isRateZeroQuantity()
to check if rating for zero rum quantity request is enabled.
|
boolean |
isReverseRateUseAllBalances()
Returns true if entire customer's balance should be used up.
|
boolean |
isSkipCreditFloorBreachCheck() |
boolean |
isSupportOriginalBeat()
Method to get a boolean indicating if we want to support beat with starting quantity tier .
|
boolean |
isTariffTimeChangeSupported()
Check if tariff time change is supported
|
boolean |
isTerminatedSessionHistoryCacheEnabled()
Method to get the boolean value indicating whether the usage of Terminated Session History Cache is enabled for the duplicate check of requests
|
boolean |
isUseOfferPriorityDuringAlterationAgreementEvaluation()
Return boolean if we need to use offer level agreement of sharing profile level agreement
|
void |
setAccountingOnOffMode(java.lang.String accountingOnOffMode)
Set mode for Accounting OnOff requests.
|
void |
setAlignRecurringImpactsToOffer(boolean alignRecurringImpactsToOffer)
Sets the property to align Recurring Impacts to Purchased Offer Validity.
|
void |
setAopEnabled(boolean aopEnabled)
Set as true to enable Advice of promotion property in the charging server.
|
void |
setAopVariance(java.lang.String aopVariance)
Sets the Advice of promotion time variance in the ISO8601 duration format.
|
void |
setAsoCleanupOperationList(java.lang.String asoCleanupOperationList)
Method to set the Active Session Object Cleanup Operation List (comma separated values), e.g., "TERMINATE,CANCEL"
|
void |
setBrmPostCommitEnabled(boolean brmPostCommitEnabled)
Method to set if BRM post commit is enabled or not
|
void |
setConcurrentRatedEventFederatedSleepTime(int concurrentRatedEventFederatedSleepTime)
Sets the sleep time the rerate complete process waits for the
concurrent rated events to be federated from the remote site.
|
void |
setCurrencyRoundingMode(java.lang.String currencyRoundingMode)
Sets rounding mode for currency resources used in rating computations.
|
void |
setCurrencyScale(int currencyScale)
Sets the scale for rounding currency resources used in rating computations.
|
void |
setDebitRefundSessionEvictionSize(int debitRefundEvictionSize)
Set debit-refund-session cache eviction size.
|
void |
setDegradedModeThreshold(int threshold)
Sets the minimum number of servers required in the cluster.
|
void |
setEnableFuiForMemberUponSharerBalanceBreach(boolean enableFuiForMemberUponSharerBalanceBreach)
Method to enable the FUI indicator for member upon sharer balance breach
|
void |
setFailBalanceUpdatesOnCreditCeilingBreach(boolean failBalanceUpdatesOnCreditCeilBreach)
Flag to enable failing of the update requests resulting in Credit Ceiling Breach
|
void |
setGroupNotificationEnabled(boolean groupNotificationEnabled)
Method to set groupNotificatoin
|
void |
setKafkaEnabledForNotifications(boolean kafkaEnabledForNotifications)
Method to set kafkaEnabledForNotifications
|
void |
setMatchFactorEnabled(boolean matchFactorEnabled)
Set as true to enable Match factor property in the charging server.
|
void |
setNonCurrencyRoundingMode(java.lang.String nonCurrencyRoundingMode)
Sets the rounding mode for non-currency resources used in rating computations.
|
void |
setNonCurrencyScale(int nonCurrencyScale)
Sets scale for non-currency resources used in rating computations.
|
void |
setNonLinearRatingEnabled(boolean nonLinearRatingEnabled)
Set to true to enable non linear rating
|
void |
setOfferEligibilitySelectionMode(java.lang.String offerEligibilitySelectionMode)
Sets mode for selecting eligible offers.
|
void |
setRateZeroQuantity(boolean rateZeroQuantity)
Flag to enable rating for zero rum quantity request
|
void |
setRemainingBalanceCalcMode(java.lang.String remainingBalanceCalcMode)
Sets mode for calculating remaining balance.
|
void |
setReverseRateUseAllBalances(boolean reverseRateUseAllBalances)
Set as true to enable the use of entire customer's balance.
|
void |
setSharingRetryCount(int sharingRetryCount)
Sets the number of times a sharing transaction is retried if a shared resource is in use in another transaction
|
void |
setSkipCreditFloorBreachCheck(boolean skipCreditFloorBreachCheck) |
void |
setSupportOriginalBeat(boolean supportOriginalBeat)
Method to set a boolean indicating if we want to support beat with starting quantity tier .
|
void |
setSystemConsumptionRule(java.lang.String systemConsumptionRule)
Set default consumption rule configured in the system.
|
void |
setSystemCurrencyNumericCode(int systemCurrencyNumericCode)
Set the system currency
|
void |
setTariffTimeChangeSupported(boolean tariffTimeChangeSupported)
Method to set the tariffTimeChangeSupport flag
|
void |
setTerminatedSessionHistoryCacheEnabled(boolean terminatedSessionHistoryCacheEnabled)
Method to enable/disable the usage of Terminated Session History Cache for the duplicate check of requests
|
void |
setThresholdBreachNotificationMode(java.lang.String thresholdBreachNotificationMode)
Set notification mode for threshold breaches.
|
void |
setTreatNoRatingGraphAsError(boolean treatNoRatingGraph)
set whether to treat NO_RATING_GRAPH_CONFIGURED as error or not
|
void |
setUpdateRequestServerTimeout(long updateRequestServerTimeout)
This method sets the server side timeout for the UPDATE operations
|
void |
setUseOfferPriorityDuringAlterationAgreementEvaluation(boolean requiredSystemAlteration)
sets a flag if we need to use offer level agreement of sharing profile level agreement
|
void |
setVirtualTime(java.lang.String virtualTime)
Sets the virtual time
|
void |
setVirtualTimeMode(java.lang.String mode)
Sets the mode for calculating virtual in ECE
|
void |
setWalletReadRetryCount(int walletReadRetryCount)
This method sets the retry count for wallet read
|
void |
setWalletReadRetryInterval(int walletReadRetryInterval)
This method sets the retry interval for wallet read
|
boolean isAopEnabled()
void setAopEnabled(boolean aopEnabled)
Property aids to support notification of a possible reduced rate or discount under some conditions. For example, a subscriber is close to a tariff change boundary
aopEnabled
- - set to true, if Advice of promotion property needs to be enabledjava.lang.String getAopVariance()
void setAopVariance(java.lang.String aopVariance)
For example, the configuration in terms of time variance that should applied to the event time to determine a price change.
aopVariance
- new Variance in the ISO8601 duration formatint getDegradedModeThreshold()
void setDegradedModeThreshold(int threshold)
When the number of nodes in the cluster is greater or equal to the value of the property 'Degraded Mode Threshold' Then the charging server is in a non-degraded mode. When the number of nodes in the cluster drops to less than the value of the property 'Degraded Mode Threshold' Then the charging server is in degraded mode.
threshold
- degraded mode thresholdboolean isReverseRateUseAllBalances()
void setReverseRateUseAllBalances(boolean reverseRateUseAllBalances)
The property adjusts the granted rum quantity in such a way that all the customer balance is used up.If this not enabled then small residual customer balance remains that goes un-used.
reverseRateUseAllBalances
- - set to true if entire customer's balance needs to be used upint getDebitRefundSessionEvictionSize()
void setDebitRefundSessionEvictionSize(int debitRefundEvictionSize)
The maximum number of debit requests for a customer's product that will be held in charging server. Any further debit request will evict the oldest debit request.
debitRefundEvictionSize
- - to be set debit refund session cache eviction sizeint getCurrencyScale()
void setCurrencyScale(int currencyScale)
Specifies the number of decimal places for currency resources to be retained after rating computations.
currencyScale
- new scale for rounding charges of currency resourcesjava.lang.String getCurrencyRoundingMode()
void setCurrencyRoundingMode(java.lang.String currencyRoundingMode)
Specifies the rounding mode for currency resource to be applied
during rating computations.
All modes supported by RoundingMode
class
can be specified.
currencyRoundingMode
- new rounding mode for rounding charges of currency resourcesint getNonCurrencyScale()
void setNonCurrencyScale(int nonCurrencyScale)
Specifies the number of decimal places for non-currency resources to be retained after rating computations.
nonCurrencyScale
- new scale for rounding charges of non-currency resourcesjava.lang.String getNonCurrencyRoundingMode()
void setNonCurrencyRoundingMode(java.lang.String nonCurrencyRoundingMode)
Specifies the rounding mode for non-currency resource to be applied
during rating computations.
All modes supported by RoundingMode
class
can be specified.
nonCurrencyRoundingMode
- new rounding mode for rounding charges of non-currency resourcesjava.lang.String getAccountingOnOffMode()
void setAccountingOnOffMode(java.lang.String accountingOnOffMode)
Property specifies whether the active sessions need to be terminated or cancelled when accounting on/off request is processed for a network element. For example - If set as {ValidAccountingOnOffMode.CANCEL} then the active sessions will be cancelled If set as {ValidAccountingOnOffMode.TERMINATE} then the active sessions will be terminated
accountingOnOffMode
- accounting on off modejava.lang.String getThresholdBreachNotificationMode()
BizParamConfigMBean.ValidThresholdBreachNotificationMode
void setThresholdBreachNotificationMode(java.lang.String thresholdBreachNotificationMode)
BizParamConfigMBean.ValidThresholdBreachNotificationMode
Property specifies when the threshold breach notifications are to be sent. For example - If set as {ValidThresholdBreachNotificationMode.ONGOING} then threshold breach notification is generated at any time it happens during the on going session. If set as {ValidThresholdBreachNotificationMode.TERMINATE} then threshold breach notification is generated at the end of terminate request.
thresholdBreachNotificationMode
- threshold notification modejava.lang.String getSystemConsumptionRule()
ConsumptionRule
void setSystemConsumptionRule(java.lang.String systemConsumptionRule)
ConsumptionRule
If there is no consumption rule defined for the balance element or the balance item then this default consumption rule is applied.
systemConsumptionRule
- system level default consumption rulejava.lang.String getOfferEligibilitySelectionMode()
BizParamConfigMBean.OfferEligibilitySelectionMode
void setOfferEligibilitySelectionMode(java.lang.String offerEligibilitySelectionMode)
BizParamConfigMBean.OfferEligibilitySelectionMode
Property specifies how the eligible offers are selected. For example - If set as {OfferEligibilitySelectionMode.PERIOD} then offers will be selected as long as they can rate atleast some portion of the session. If set as {OfferEligibilitySelectionMode.END_TIME} then offers will be selected only if their end time is after the session end.
offerEligibilitySelectionMode
- offer eligibility selection modeboolean getAlignRecurringImpactsToOffer()
void setAlignRecurringImpactsToOffer(boolean alignRecurringImpactsToOffer)
alignRecurringImpactsToOffer
- flag to align recurring impacts to offer . true if the validity needs to be aligned false otherwisejava.lang.String getRemainingBalanceCalcMode()
BizParamConfigMBean.RemainingBalanceCalcMode
void setRemainingBalanceCalcMode(java.lang.String remainingBalanceCalcMode)
BizParamConfigMBean.RemainingBalanceCalcMode
Property specifies how the remaining balance is calculated. For example - If set as {RemainingBalanceCalcMode.NONE} then remaining balance is not calculated If set as {RemainingBalanceCalcMode.UPTO_CREDIT_LIMIT} then remaining balance up to the credit limit will be calculated If set as {RemainingBalanceCalcMode.CURRENT_BALANCE} then the current balance including the consumed reservation will be sent as remaining balance
remainingBalanceCalcMode
- remaining balance calculation modevoid setVirtualTimeMode(java.lang.String mode)
mode
- 0=no virtual time,1=static virtual time,2=dynamic virtual timejava.lang.String getVirtualTimeMode()
void setVirtualTime(java.lang.String virtualTime)
virtualTime
- java.lang.String getVirtualTime()
boolean getNonLinearRatingEnabled()
void setNonLinearRatingEnabled(boolean nonLinearRatingEnabled)
This enables rating to rate multiple USU's consumed in a non-linear fashion to be rated non-linearly. e.g Total MB consumed for the session is 10 MB but 1st USU peak period consumed 8 MB and 2nd USU off-peak consumed 2 MB
nonLinearRatingEnabled
- boolean flag - true indicating non linear rating is enabledjava.time.ZonedDateTime calculateVirtualTime()
int getConcurrentRatedEventFederatedSleepTime()
void setConcurrentRatedEventFederatedSleepTime(int concurrentRatedEventFederatedSleepTime)
concurrentRatedEventFederatedSleepTime
- int getSharingRetryCount()
void setSharingRetryCount(int sharingRetryCount)
sharingRetryCount
- int getSystemCurrencyNumericCode()
void setSystemCurrencyNumericCode(int systemCurrencyNumericCode)
systemCurrencyNumericCode
- The numeric code corresponding to system currencyboolean getTreatNoRatingGraphAsError()
void setTreatNoRatingGraphAsError(boolean treatNoRatingGraph)
treatNoRatingGraph
- boolean isMatchFactorEnabled()
void setMatchFactorEnabled(boolean matchFactorEnabled)
matchFactorEnabled
- - set to true, if Match factor property needs to be enabledboolean isTariffTimeChangeSupported()
void setTariffTimeChangeSupported(boolean tariffTimeChangeSupported)
tariffTimeChangeSupported
- tariffTimeChangeSupport flagboolean isSkipCreditFloorBreachCheck()
void setSkipCreditFloorBreachCheck(boolean skipCreditFloorBreachCheck)
skipCreditFloorBreachCheck
- boolean isFailBalanceUpdatesOnCreditCeilingBreach()
void setFailBalanceUpdatesOnCreditCeilingBreach(boolean failBalanceUpdatesOnCreditCeilBreach)
failBalanceUpdatesOnCreditCeilBreach
- boolean isRateZeroQuantity()
void setRateZeroQuantity(boolean rateZeroQuantity)
rateZeroQuantity
- boolean isGroupNotificationEnabled()
void setGroupNotificationEnabled(boolean groupNotificationEnabled)
groupNotificationEnabled
- boolean valueboolean isKafkaEnabledForNotifications()
void setKafkaEnabledForNotifications(boolean kafkaEnabledForNotifications)
kafkaEnabledForNotifications
- boolean valuevoid setBrmPostCommitEnabled(boolean brmPostCommitEnabled)
brmPostCommitEnabled
- long getUpdateRequestServerTimeout()
void setUpdateRequestServerTimeout(long updateRequestServerTimeout)
updateRequestServerTimeout
- boolean isBrmPostCommitEnabled()
java.lang.String getAsoCleanupOperationList()
void setAsoCleanupOperationList(java.lang.String asoCleanupOperationList)
asoCleanupOperationList
- boolean isEnableFuiForMemberUponSharerBalanceBreach()
void setEnableFuiForMemberUponSharerBalanceBreach(boolean enableFuiForMemberUponSharerBalanceBreach)
enableFuiForMemberUponSharerBalanceBreach
- boolean isTerminatedSessionHistoryCacheEnabled()
void setTerminatedSessionHistoryCacheEnabled(boolean terminatedSessionHistoryCacheEnabled)
terminatedSessionHistoryCacheEnabled
- the boolean value to enable/disable the usage of Terminated Session History Cachevoid setSupportOriginalBeat(boolean supportOriginalBeat)
supportOriginalBeat
- boolean isSupportOriginalBeat()
int getWalletReadRetryInterval()
void setWalletReadRetryInterval(int walletReadRetryInterval)
walletReadRetryInterval
- int getWalletReadRetryCount()
void setWalletReadRetryCount(int walletReadRetryCount)
walletReadRetryCount
- boolean isUseOfferPriorityDuringAlterationAgreementEvaluation()
void setUseOfferPriorityDuringAlterationAgreementEvaluation(boolean requiredSystemAlteration)
requiredSystemAlteration
-