Package org.apache.juneau.rest.stats
Class RestContextStats
java.lang.Object
org.apache.juneau.rest.stats.RestContextStats
A snapshot of execution statistics for REST resource classes.
 
See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionRestContextStats(Instant startTime, List<MethodExecStats> methodStats) Constructor.
- 
Method SummaryModifier and TypeMethodDescriptionReturns statistics on all method executions.Returns the time this REST resource class was started.Returns the time in milliseconds that this REST resource class has been running.
- 
Constructor Details- 
RestContextStatsConstructor.- Parameters:
- startTime- The start time of the- RestContextobject.
- methodStats- The execution statistics beans for the context.
 
 
- 
- 
Method Details- 
getStartTimeReturns the time this REST resource class was started.- Returns:
- The time this REST resource class was started.
 
- 
getUpTimeReturns 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.
 
- 
getMethodStatsReturns statistics on all method executions.- Returns:
- Statistics on all method executions.
 
 
-