|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CoherenceClusterMetricsRuntimeMBean
A CoherenceClusterRuntimeMetricsMBean gathers metrics from nodes in the cluster according to the specified report group xml file, and then provides a way to query for subsets of the group file by nodes and by table name, which refers to individual file names within the report group file.
Method Summary | |
---|---|
abstract CoherenceClusterSystemResourceMBean |
getCoherenceClusterSystemResource() Get the CCSR associated with this Coherence Metrics Runtime MBean if there is one. |
abstract CoherenceManagementClusterMBean |
getCoherenceManagementCluster() Get the CoherenceManagementClusterMBean associated with this Coherence Metrics Runtime MBean if there is one. |
abstract String[] |
getInstances() Get the Management nodes names. |
abstract TabularData[] |
getMetrics(String[] asTables, String[] asNodeId, Properties properties) Get the requested table metrics from the requested target nodes. |
abstract List<SocketAddress> |
getNameServiceAddresses() Get the list of socket addresses for connecting to the NameService. |
abstract String |
getReportGroupFile() The report group file representing the superset of metrics this bean will gather |
abstract TabularType[] |
getSchema(String[] asTables, String[] asNodeId, Properties properties) Acquire the superset of tabularTypes available from running the given table names on the specified nodes. |
Methods inherited from interface weblogic.management.runtime.RuntimeMBean |
---|
addPropertyChangeListener, removePropertyChangeListener |
Methods inherited from interface weblogic.management.WebLogicMBean |
---|
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParent |
Methods inherited from interface javax.management.DynamicMBean |
---|
getAttribute, getAttributes, invoke, setAttribute, setAttributes |
Methods inherited from interface javax.management.MBeanRegistration |
---|
postDeregister, postRegister, preDeregister, preRegister |
Methods inherited from interface javax.management.NotificationBroadcaster |
---|
addNotificationListener, getNotificationInfo, removeNotificationListener |
Method Detail |
---|
CoherenceClusterSystemResourceMBean getCoherenceClusterSystemResource()
Get the CCSR associated with this Coherence Metrics Runtime MBean if there is one.
The Coherence Metrics MBean can either be associated with a CCSR or it can be outside of WLS domain and simply have a list of CoherenceManagementJMXAddresses.
CoherenceManagementClusterMBean getCoherenceManagementCluster()
Get the CoherenceManagementClusterMBean associated with this Coherence Metrics Runtime MBean if there is one.
String getReportGroupFile()
The report group file representing the superset of metrics this bean will gather
List<SocketAddress> getNameServiceAddresses()
Get the list of socket addresses for connecting to the NameService. It can be used to lookup JMXServiceURL for the MBean Connector.
String[] getInstances()
Get the Management nodes names.
TabularType[] getSchema(String[] asTables, String[] asNodeId, Properties properties)
Acquire the superset of tabularTypes available from running the given table names on the specified nodes.
asTables
- an array of table names to get a schema for. If null, get all tables possibleasNodeId
- an array of nodeIds specifying which nodes to get schemas from, e.g. {"2", "3"} If null, query all nodes possible.properties
- the property dms.use.cache will tell us whether to use the cache (true) or not (false)TabularData[] getMetrics(String[] asTables, String[] asNodeId, Properties properties)
Get the requested table metrics from the requested target nodes.
asTables
- an array of table names to return metrics for. If null, get all tables possible.asNodeId
- an array of nodeIds specifying which nodes to get schemas from, e.g. {"2", "3"} If null, query all nodes possible.properties
- the property dms.use.cache will tell us whether to use the cache (true) or not (false)Return the requested table data from the requested target nodes as an array of TabularDatas in the same order as the input table name array. If an array of length 0 or null is provided for either table names or nodeIds, all tables or nodes will be returned, respectively. The TabularDatas will have an extra "SourceNodeId" column specifying from which node that row data came from. If there are no metrics from any node for a requested table name, a TabularData array of length 0 is returned.
For example, suppose there are 4 nodes (1, 2, 3, 4). getMetrics({table1, table2, table3}, {1, 2}, null) may return a list of TabularData such as the following:
[{TabularData(
1 rowData1, // t1 metric row1 from node 1
1 rowData2, // t1 metric row2 from node 1
1 rowData3, // t1 metric row3 from node 1
2 rowData1)},
{TabularData( // node 2 has no t2 metric rows
2 rowData1, // t2 metric row1 from node 2
2 rowData2)}, // t2 metric row2 from node 2
null] // t3 has no metric rows from any node
|
Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |