From 8a560769d6b79a00e3afd52d8411c31c01ac0484 Mon Sep 17 00:00:00 2001 From: Bukhtawar Khan Date: Tue, 9 Aug 2022 14:42:04 +0530 Subject: [PATCH] Added missing java docs Signed-off-by: Bukhtawar Khan --- .../opensearch/index/translog/InternalTranslogFactory.java | 5 +++++ .../java/org/opensearch/index/translog/TranslogFactory.java | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/server/src/main/java/org/opensearch/index/translog/InternalTranslogFactory.java b/server/src/main/java/org/opensearch/index/translog/InternalTranslogFactory.java index a111d66d971a0..566eda4fe4a6e 100644 --- a/server/src/main/java/org/opensearch/index/translog/InternalTranslogFactory.java +++ b/server/src/main/java/org/opensearch/index/translog/InternalTranslogFactory.java @@ -12,6 +12,11 @@ import java.util.function.LongConsumer; import java.util.function.LongSupplier; +/** + * Translog Factory for the local on-disk {@link Translog} + * + * @opensearch.internal + */ public class InternalTranslogFactory implements TranslogFactory { @Override diff --git a/server/src/main/java/org/opensearch/index/translog/TranslogFactory.java b/server/src/main/java/org/opensearch/index/translog/TranslogFactory.java index 1a3313da3ee64..5500bda99808d 100644 --- a/server/src/main/java/org/opensearch/index/translog/TranslogFactory.java +++ b/server/src/main/java/org/opensearch/index/translog/TranslogFactory.java @@ -13,7 +13,8 @@ import java.util.function.LongSupplier; /** - * Simple Translog Factory + * Translog Factory to enable creation of various local on-disk + * and remote store flavors of {@link Translog} * * @opensearch.internal */