diff --git a/src/main/java/com/scalar/kelpie/modules/FrequencyBasedProcessor.java b/src/main/java/com/scalar/kelpie/modules/FrequencyBasedProcessor.java index d305817..b8b1510 100644 --- a/src/main/java/com/scalar/kelpie/modules/FrequencyBasedProcessor.java +++ b/src/main/java/com/scalar/kelpie/modules/FrequencyBasedProcessor.java @@ -47,6 +47,8 @@ public final void execute() { * Execute an operation. This method is invoked repeatedly in {@link #execute()} by {@code * num_operations}. If a failure which you don't want to record its latency happens, this method * should throw an exception. The exception will be caught in {@link #execute()}. + * + * @throws Exception This exception will be caught in {@link #execute()} */ protected abstract void executeEach() throws Exception; } diff --git a/src/main/java/com/scalar/kelpie/modules/TimeBasedProcessor.java b/src/main/java/com/scalar/kelpie/modules/TimeBasedProcessor.java index d0d2f10..7ddf2b1 100644 --- a/src/main/java/com/scalar/kelpie/modules/TimeBasedProcessor.java +++ b/src/main/java/com/scalar/kelpie/modules/TimeBasedProcessor.java @@ -46,6 +46,8 @@ public final void execute() { * Execute an operation. This method is invoked repeatedly in {@link #execute()} for {@code * run_for_sec}. If a failure which you don't want to record its latency happens, this method * should throw an exception. The exception will be caught in {@link #execute()}. + * + * @throws Exception This exception will be caught in {@link #execute()} */ protected abstract void executeEach() throws Exception; }