|
Oracle Communications Services Gatekeeper OAM Java API Reference 6.0 E55516-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Field Summary | |
static CounterInfo |
counterSnapshot Gets a counter snapshot for the local server. |
static CounterInfo[] |
counterSnapshotAll Gets a counter snapshot for the all servers in the cluster. |
static int |
moduleBHTUPSThreshold BHTUPS 95% warning and limit exceeded alarm threshold setting for the modules transaction group. |
static int |
platformBHTUPSThreshold BHTUPS 95% warning and limit exceeded alarm threshold setting for the platform transaction group. |
static boolean |
statisticsEnabled |
static int |
storeInterval Interval in number of seconds that statistics data is written to DB. |
Method Summary | |
void |
addStatisticType(int id, String name) Adds a statistic type. |
void |
createLicenseLimitLog(String filename, String startDate, String endDate) Creates a license limit supervision log that contains information about the busy hour transaction rate for each transaction group and day during the time period specified. |
void |
createWeeklyReport(String serviceProviderIdentifier, String startDate, String fileName, int decimals) Saves a weekly report to a text file. |
CounterInfo |
getCounterSnapshot() |
CounterInfo[] |
getCounterSnapshotAll() Scope: Cluster or Server |
int |
getCurStatisticsValue(String serverName, int statisticType, int secondsInAdvance, String serviceProviderIdentifier, String applicationIdentifier) |
int |
getCurStatisticsValueByUnit(String serverName, Integer statisticType, Integer valueInAdvance, String valueUnit) |
int |
getLastStatistics(String serverName, int statisticType, String serviceProviderIdentifier, String applicationIdentifier) |
int |
getModuleBHTUPSThreshold() |
int |
getPlatformBHTUPSThreshold() |
StatisticsInfo[] |
getStatistics(String serverName, int statisticType, String fromDate, String toDate, String serviceProviderIdentifier, String applicationIdentifier) Gets statistics based on filter criteria for a specific account. |
boolean |
getStatisticsEnabled() |
int |
getStatisticsValue(String serverName, int statisticType, long fromDateInMilSeconds, long toDateInMilSeconds, String serviceProviderIdentifier, String applicationIdentifier) |
int |
getStoreInterval() |
String |
getSystemStatistics(int minutes) Gets system statistics for the last minute(s). |
StatInfo[] |
listStatistics(int statisticType, long fromDate, long toDate, String serviceProviderIdentifier, String applicationIdentifier) Gets statistics based on filter criteria for a specific account. |
StatisticTypeDescriptor[] |
listStatisticTypeDescriptors() Displays a list of all available statistics type descriptors. |
String |
listStatisticTypes() Removes a statistic type. |
void |
saveAccountStatisticsToFile(int statisticType, String fromDate, String toDate, String serviceProviderIdentifier, String applicationIdentifier, String fileName) Saves statistics data to a file grouped by account based on specified filter criteria. |
void |
saveStatisticsToFile(String serverName, int statisticType, String fromDate, String toDate, String fileName) Saves statistics data to a file on filter criteria. |
void |
setModuleBHTUPSThreshold(int threshold) |
void |
setPlatformBHTUPSThreshold(int threshold) |
void |
setStatisticsEnabled(boolean statisticsEnabled) |
void |
setStoreInterval(int seconds) |
Field Detail |
public static final CounterInfo counterSnapshot
Scope: Cluster or Server
public static final CounterInfo[] counterSnapshotAll
Scope: Cluster or Server
public static final int moduleBHTUPSThreshold
Scope: Cluster
public static final int platformBHTUPSThreshold
Scope: Cluster
public static final boolean statisticsEnabled
public static final int storeInterval
Scope: Cluster
Method Detail |
public void addStatisticType(int id, String name) throws ManagementException
Scope: Cluster
id
- Id for this statistics. The ID must not be already used.name
- Descriptive name for the statistics type.ManagementException
public void createLicenseLimitLog(String filename, String startDate, String endDate) throws ManagementException
Scope: Cluster
filename
- Name of file. The file will be created on the local file system of the server. Must include an absolute path. The file must not already exist. If it already exists, the operation will fail.startDate
- Start date specified as yyyy-mm-dd.endDate
- End date specified as yyyy-mm-dd.ManagementException
public void createWeeklyReport(String serviceProviderIdentifier, String startDate, String fileName, int decimals) throws ManagementException
Scope: Cluster or Server
serviceProviderIdentifier
- Service provider account. Leave empty to include all service provider account in the report.startDate
- From date specified as yyyy-mm-dd hh:mm.fileName
- Name of file. The file will be created on the local file system of the server. Must include an absolute path. The file must not already exist. If it already exists, the operation will fail.decimals
- Number of decimals for transactions/second.ManagementException
public CounterInfo getCounterSnapshot() throws ManagementException
Scope: Cluster or Server
ManagementException
public CounterInfo[] getCounterSnapshotAll() throws ManagementException
Scope: Cluster or Server
ManagementException
public int getCurStatisticsValue(String serverName, int statisticType, int secondsInAdvance, String serviceProviderIdentifier, String applicationIdentifier) throws ManagementException
ManagementException
public int getCurStatisticsValueByUnit(String serverName, Integer statisticType, Integer valueInAdvance, String valueUnit) throws ManagementException
ManagementException
public int getLastStatistics(String serverName, int statisticType, String serviceProviderIdentifier, String applicationIdentifier) throws ManagementException
ManagementException
public int getModuleBHTUPSThreshold() throws ManagementException
ManagementException
public int getPlatformBHTUPSThreshold() throws ManagementException
ManagementException
public StatisticsInfo[] getStatistics(String serverName, int statisticType, String fromDate, String toDate, String serviceProviderIdentifier, String applicationIdentifier) throws ManagementException
Scope: Cluster or Server
serverName
- The server that generated the statistics (optional). to display statistics generated in all servers.statisticType
- Type of statistics. Use listStatisticTypes to obtain available types. Use -1 to get statistics for all available types.fromDate
- From date specified as yyyy-mm-dd hh:mm (optional). display all statistics up to the date and time specified in toDate.toDate
- To date specified as yyyy-mm-dd hh:mm (optional). display all statistics generated from the date and time specified in fromDate up to current date and time.serviceProviderIdentifier
- Service provider account (optional). Leave empty to wildcard.applicationIdentifier
- Application account (optional). Leave empty to wildcard.ManagementException
public boolean getStatisticsEnabled()
public int getStatisticsValue(String serverName, int statisticType, long fromDateInMilSeconds, long toDateInMilSeconds, String serviceProviderIdentifier, String applicationIdentifier) throws ManagementException
ManagementException
public int getStoreInterval() throws ManagementException
ManagementException
public String getSystemStatistics(int minutes) throws ManagementException
Scope: Cluster or Server
minutes
- The number of minutes relative to the current time.ManagementException
public StatInfo[] listStatistics(int statisticType, long fromDate, long toDate, String serviceProviderIdentifier, String applicationIdentifier) throws ManagementException
Scope: Cluster or Server
statisticType
- Type of statistics. Use listStatisticTypes to obtain available types. Use -1 to get statistics for all available types.fromDate
- From date in milliseconds. Use -1 for no lower date limit.toDate
- To date in milliseconds. Use -1 for no upper date limit.serviceProviderIdentifier
- Service provider account (optional)applicationIdentifier
- Application account (optional)ManagementException
public StatisticTypeDescriptor[] listStatisticTypeDescriptors() throws ManagementException
Scope: Cluster
ManagementException
public String listStatisticTypes() throws ManagementException
Scope: Cluster or Server
ManagementException
public void saveAccountStatisticsToFile(int statisticType, String fromDate, String toDate, String serviceProviderIdentifier, String applicationIdentifier, String fileName) throws ManagementException
Scope: Cluster or Server
statisticType
- Type of statistics. Use listStatisticTypes to obtain available types. Use -1 to get statistics for all available types.fromDate
- From date specified as yyyy-mm-dd hh:mm (optional). Leave empty for all statistics up to the date and time specified in toDate.toDate
- To date specified as yyyy-mm-dd hh:mm (optional). Leave empty for all statistics generated from the date and time specified in fromDate up to current date and time.serviceProviderIdentifier
- Service provider account (optional). Leave empty for no filtering.applicationIdentifier
- Application account (optional). Leave empty for no filtering.fileName
- Name of file. The file will be created on the local file system of the server. Must include an absolute path. The file must not already exist. If it does already exist, the method will fail.ManagementException
public void saveStatisticsToFile(String serverName, int statisticType, String fromDate, String toDate, String fileName) throws ManagementException
Scope: Cluster or Server
serverName
- The server that generated the statistics. (optional). Leave empty for statistics generated in all servers.statisticType
- Type of statistics. Use listStatisticTypes to obtain available types. Use -1 to get statistics for all available types.fromDate
- From date specified as yyyy-mm-dd hh:mm (optional). Leave empty for all statistics up to the date and time specified in toDate.toDate
- To date specified as yyyy-mm-dd hh:mm (optional). Leave empty for all statistics generated from the date and time specified in fromDate up to current date and time.fileName
- Name of file. The file will be created on the local file system of the server. Must include an absolute path. The file must not already exist. If it does already exist, the method will fail.ManagementException
public void setModuleBHTUPSThreshold(int threshold) throws ManagementException
ManagementException
public void setPlatformBHTUPSThreshold(int threshold) throws ManagementException
ManagementException
public void setStatisticsEnabled(boolean statisticsEnabled)
public void setStoreInterval(int seconds) throws ManagementException
ManagementException
|
Oracle Communications Services Gatekeeper OAM Java API Reference 6.0 E55516-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |