Skip to content

Commit

Permalink
Fixing gradle missingDoc issue
Browse files Browse the repository at this point in the history
Signed-off-by: Sagar Upadhyaya <[email protected]>
  • Loading branch information
sgup432 committed Dec 7, 2023
1 parent d8156af commit 13a03a9
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@
import org.opensearch.common.cache.RemovalReason;
import org.opensearch.common.cache.store.enums.CacheStoreType;

/**
* Removal notification for store aware cache.
* @param <K> Type of key.
* @param <V> Type of value.
*/
public class StoreAwareCacheRemovalNotification<K, V> extends RemovalNotification<K, V> {
private final CacheStoreType cacheStoreType;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
import java.util.EnumSet;
import java.util.Objects;

/**
* Configuration class for event listener. Defines for which event types and listener, events needs to be sent.
* @param <K> Type of key
* @param <V> Type of value
*/
public class StoreAwareCacheEventListenerConfiguration<K, V> {

private final EnumSet<EventType> eventTypes;
Expand All @@ -29,6 +34,9 @@ public StoreAwareCacheEventListener<K, V> getEventListener() {
return eventListener;
}

/**
* Builder class
*/
public static class Builder<K, V> {
private EnumSet<EventType> eventTypes;
private StoreAwareCacheEventListener<K, V> eventListener;
Expand Down

0 comments on commit 13a03a9

Please sign in to comment.