Package wt.method

Interface MethodContextSetMBean

All Superinterfaces:
SelfEmailingMBean

public interface MethodContextSetMBean extends SelfEmailingMBean
Set of method contexts and related aggregate data.

Supported API: true

Extendable: true
  • Method Details

    • getId

      long getId()
      Id of method context set; unique within a MethodContextMonitorMBean

      Supported API: true
    • getCreationTime

      Timestamp getCreationTime()
      Time at which this request set was created.

      Supported API: true
    • getContextCount

      int getContextCount()
      Number of contexts in this set

      Supported API: true
    • getCompletedContextCount

      int getCompletedContextCount()
      Number of completed contexts in this set

      Supported API: true
    • getErrorCount

      int getErrorCount()
      Number of contexts in this set that encountered an error

      Supported API: true
    • getUsersNames

      String[] getUsersNames()
      User names of the contexts

      Supported API: true
    • getSynopses

      String[] getSynopses()
      Synopses (a combination of target class and method [where available] and AccessLogDetail) of contexts

      Supported API: true
    • getAverageContextSeconds

      double getAverageContextSeconds()
      Average contexts duration in seconds

      Supported API: true
    • getLongestContextSeconds

      double getLongestContextSeconds()
      Longest context duration in seconds

      Supported API: true
    • getAverageContextCpuSeconds

      double getAverageContextCpuSeconds()
      Average CPU seconds consumed by each context

      Supported API: true
    • getLongestContextCpuSeconds

      double getLongestContextCpuSeconds()
      Most CPU seconds consumed by any context

      Supported API: true
    • getContextIdsByContextTime

      String[] getContextIdsByContextTime()
      List of context ids in order of decreasing context duration

      Supported API: true
    • getContextIdsByJDBCTime

      String[] getContextIdsByJDBCTime()
      List of context ids in order of decreasing JDBC time

      Supported API: true
    • getContextIdsByCpuTime

      String[] getContextIdsByCpuTime()
      List of context ids in order of decreasing CPU time

      Supported API: true
    • getContextIdsByPercentageCpuTime

      String[] getContextIdsByPercentageCpuTime()
      List of context ids in order of decreasing percentage CPU time consumed

      Supported API: true
    • removeCompletedContexts

      @MBeanOperationImpact(1) void removeCompletedContexts()
      Remove all completed contexts from the set

      Supported API: true
    • remove

      @MBeanOperationImpact(1) void remove()
      Remove this context set

      Supported API: true