public class TimerRecordAspect extends Object
TimerRecord annotation.
It monitors all methods whose annotations contain TimerRecord.
Before method running, a timer will be created and after running, that
timer will be stopped. The timer is recorded in Timer.
| Constructor and Description |
|---|
TimerRecordAspect() |
| Modifier and Type | Method and Description |
|---|---|
void |
monitorTimeStart(TimerRecord timerRecord) |
void |
monitorTimeStop(TimerRecord timerRecord) |
public void monitorTimeStart(TimerRecord timerRecord)
public void monitorTimeStop(TimerRecord timerRecord)
Copyright © 2019. All rights reserved.