IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

com.ibm.websphere.objectgrid.management
Interface QueryManagerMBean


public interface QueryManagerMBean

This MBean interface allows a client process to perform operations on and get status from an ObjectGrid Query Manager running in a dynamic environment. The object name pattern for this MBean is:

 com.ibm.websphere.objectgrid:type=QueryManager,name=<grid name>,mapset=<mapset name>,partition=<partition number>,host=<host>,ogServerName=<server>
 
If ObjectGrid is running in a WebSphere Application Server process, more key=value pairs may be added to the object name.

Since:
WAS XD 6.1.0.5, XC10

Method Summary
 double getPlanCreationTime(String query)
          Gets the query's plan creation time attribute loaded up by the retrieveStatsModule() method.
 double getQueryExecutionCount(String query)
          Gets the query's execution count attribute loaded up by the retrieveStatsModule() method.
 double getQueryExecutionTime(String query)
          Gets the query's execution time attribute loaded up by the retrieveStatsModule() method.
 double getQueryFailureCount(String query)
          Gets the query's failure count attribute loaded up by the retrieveStatsModule() method.
 double getQueryResultCount(String query)
          Gets the query's result count attribute loaded up by the retrieveStatsModule() method.
 QueryStatsModule retrieveStatsModule(String query)
          Gets the QueryStatsModule used to retrieve statistics associated with the specified query String
 

Method Detail

getPlanCreationTime

double getPlanCreationTime(String query)
Gets the query's plan creation time attribute loaded up by the retrieveStatsModule() method.

Returns:
the plan creation time for this query in milliseconds
See Also:
retrieveStatsModule(String), QueryStatsModule.getPlanCreationTime(boolean copy)

getQueryExecutionTime

double getQueryExecutionTime(String query)
Gets the query's execution time attribute loaded up by the retrieveStatsModule() method.

Returns:
the execution time for this query in milliseconds
See Also:
retrieveStatsModule(String), QueryStatsModule.getQueryExecutionTime(boolean copy)

getQueryExecutionCount

double getQueryExecutionCount(String query)
Gets the query's execution count attribute loaded up by the retrieveStatsModule() method.

Returns:
the execution count for this query
See Also:
retrieveStatsModule(String), QueryStatsModule.getQueryExecutionCount(boolean copy)

getQueryResultCount

double getQueryResultCount(String query)
Gets the query's result count attribute loaded up by the retrieveStatsModule() method.

Returns:
the result count for this query
See Also:
retrieveStatsModule(String), QueryStatsModule.getQueryResultCount(boolean copy)

getQueryFailureCount

double getQueryFailureCount(String query)
Gets the query's failure count attribute loaded up by the retrieveStatsModule() method.

Returns:
the failure count for this query
See Also:
retrieveStatsModule(String), QueryStatsModule.getQueryFailureCount(boolean copy)

retrieveStatsModule

QueryStatsModule retrieveStatsModule(String query)
Gets the QueryStatsModule used to retrieve statistics associated with the specified query String

Returns:
an QueryStatsModule for statistics associated with the specified query String

IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

© Copyright International Business Machines Corp 2005,2012. All rights reserved.