|
Oracle Communications Service Broker Policy and Charging MBean Java API Reference 6.0 E26225-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DegradedModeMBean
Degraded mode mbean - gives access to statistics and replay control.
| Method Summary | |
|---|---|
boolean |
checkIfSystemInDegradedMode()Is system in degraded mode. |
void |
deleteCdrByStatus(String status)Delete CDRs from the CDR store based on the status. |
void |
dumpCdrByStatusToFile(String status, String fileName, boolean append)Dump the CDRs with the given status in the store to file. |
void |
dumpCdrByStatusToStdout(String status)Dump the CDRs with the given status in the store to stdout. |
int |
getCdrCountByStatus(String status)Return the number of CDRs in the CDR store which are in the specified status. |
Long |
getDegradedModeEntryTimeForUser(String userId)Return the time since the user has pending CDRs. |
int |
getPendingCdrCountForUser(String userId)Return the number of CDRs in the CDR store which are in PN status for the given user. |
boolean |
isUserInDegradedMode(String userId)Is user in degraded mode. |
void |
markSystemStatusAsDegraded(boolean shouldDegrade)This operation will take the system in to degraded mode or out of degraded made. |
void |
startManualReplay()Triggers a manual replay of CDRs. |
| Method Detail |
|---|
void markSystemStatusAsDegraded(boolean shouldDegrade)
shouldDegrade - if true, take the system to degraded mode. If false, take the system out of degraded modevoid startManualReplay()
int getCdrCountByStatus(String status)
status - A valid status valueint getPendingCdrCountForUser(String userId)
userId - user idvoid dumpCdrByStatusToStdout(String status)
status - cdr status
void dumpCdrByStatusToFile(String status,
String fileName,
boolean append)
throws IOException
status - cdr statusfileName - file name in the file system - relative path or complete pathappend - should append if the file already existsIOException - evoid deleteCdrByStatus(String status)
status - CDR statusboolean checkIfSystemInDegradedMode()
boolean isUserInDegradedMode(String userId)
userId - user idLong getDegradedModeEntryTimeForUser(String userId)
userId - user id
|
Oracle Communications Service Broker Policy and Charging MBean Java API Reference 6.0 E26225-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||