@Bean(bpi="startTime,upTime,methodStats") public class RestContextStats extends Object
Modifier and Type | Method and Description |
---|---|
Collection<MethodExecStats> |
getMethodStats()
Returns statistics on all method executions.
|
Instant |
getStartTime()
Returns the time this REST resource class was started.
|
String |
getUpTime()
Returns the time in milliseconds that this REST resource class has been running.
|
@Swap(value=TemporalSwap.IsoInstant.class) public Instant getStartTime()
public String getUpTime()
public Collection<MethodExecStats> getMethodStats()
Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.