Skip to content

Commit

Permalink
Add javadoc
Browse files Browse the repository at this point in the history
Signed-off-by: Craig Perkins <[email protected]>
  • Loading branch information
cwperks committed Jul 3, 2024
1 parent 179e8d8 commit e2ef9c4
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@
import static java.util.Collections.unmodifiableMap;
import static org.opensearch.tasks.TaskResultsService.TASK_INDEX;

/**
* This class holds the {@link SystemIndexDescriptor} objects that represent system indices the
* node knows about. This class also contains static methods that identify if index expressions match
* registered system index patterns
*
* @opensearch.api
*/
public class SystemIndexRegistry {

Check warning on line 38 in server/src/main/java/org/opensearch/indices/SystemIndexRegistry.java

View check run for this annotation

Codecov / codecov/patch

server/src/main/java/org/opensearch/indices/SystemIndexRegistry.java#L38

Added line #L38 was not covered by tests
private static final SystemIndexDescriptor TASK_INDEX_DESCRIPTOR = new SystemIndexDescriptor(TASK_INDEX + "*", "Task Result Index");
private static final Map<String, Collection<SystemIndexDescriptor>> SERVER_SYSTEM_INDEX_DESCRIPTORS = singletonMap(
Expand Down

0 comments on commit e2ef9c4

Please sign in to comment.