Package org.wso2.carbon.registry.admin.api.jmx

## Interface IInvocationStatisticsService

-     public interface IInvocationStatisticsService

  Contains API to obtain method invocation statistics in registry and governance components.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `long` | `getInvocationCounts​(String methodName)` | Method to obtain the invocation count.
    `String[]` | `getInvokedMethods()` | Method to obtain the list of methods that have been invoked so far.

- - ### Method Detail

    - #### getInvokedMethods

          String[] getInvokedMethods()

      Method to obtain the list of methods that have been invoked so far.
      Returns:
        list of method names.

    - #### getInvocationCounts

          long getInvocationCounts​(String methodName)

      Method to obtain the invocation count.
      Parameters:
        `methodName` - the name of the method.
      Returns:
        number of calls.