From 1abce12b2a02670f200b63dadb4a4f68acc55fc4 Mon Sep 17 00:00:00 2001 From: yito88 Date: Mon, 13 Jul 2020 12:55:12 +0900 Subject: [PATCH] update doc --- .../java/com/scalar/kelpie/modules/FrequencyBasedProcessor.java | 2 ++ src/main/java/com/scalar/kelpie/modules/TimeBasedProcessor.java | 2 ++ 2 files changed, 4 insertions(+) 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; }