Class RestContextStats

java.lang.Object
org.apache.juneau.rest.stats.RestContextStats

@Bean(properties="startTime,upTime,methodStats") public class RestContextStats extends Object
A snapshot of execution statistics for REST resource classes.
See Also:
  • Constructor Details

  • Method Details

    • getStartTime

      Returns the time this REST resource class was started.
      Returns:
      The time this REST resource class was started.
    • getUpTime

      public String getUpTime()
      Returns the time in milliseconds that this REST resource class has been running.
      Returns:
      The time in milliseconds that this REST resource class has been running.
    • getMethodStats

      Returns statistics on all method executions.
      Returns:
      Statistics on all method executions.