Interface CDRStreamMXBean
-
public interface CDRStreamMXBean
Represents an MXBean interface that provides access to information about the RA streams configuration state.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String[]
getConfigDiffStreamNames()
Gets an array with stream names for which the RA loaded configuration is not up to date, and differs from the configuration defined in the CDR stream configuration profile table.CDRStreamConfigState
getConfigState(String streamName)
Gets theCDRStreamConfigState
information on the configuration state of the stream with given stream name.boolean
isConfigUpToDate()
Checks if the RA loaded configuration is up to date and matches the streams configuration defined in the CDR stream configuration profile table.
-
-
-
Method Detail
-
isConfigUpToDate
boolean isConfigUpToDate()
Checks if the RA loaded configuration is up to date and matches the streams configuration defined in the CDR stream configuration profile table.- Returns:
- true if the RA loaded configuration is up to date, false otherwise, or if the RA did not initialise properly.
-
getConfigDiffStreamNames
String[] getConfigDiffStreamNames()
Gets an array with stream names for which the RA loaded configuration is not up to date, and differs from the configuration defined in the CDR stream configuration profile table.- Returns:
- an array with stream names for which the RA loaded configuration is not up to date, empty array otherwise, or if the RA did not initialise properly.
-
getConfigState
CDRStreamConfigState getConfigState(String streamName)
Gets theCDRStreamConfigState
information on the configuration state of the stream with given stream name.- Parameters:
streamName
- name of the stream to be checked.- Returns:
CDRStreamConfigState
value for the stream with given stream name.- See Also:
CDRStreamConfigState
-
-