public interface IndicesAdapter
void move(String source, String target, Consumer<IndexMoveResult> resultCallback)
void delete(String indexName)
void create(String indexName, IndexSettings indexSettings, String templateName, Map<String,Object> template)
void openIndex(String index)
void setReadOnly(String index)
void flush(String index)
void markIndexReopened(String index)
void close(String indexName)
long numberOfMessages(String indexName)
boolean aliasExists(String alias) throws IOException
IOExceptionboolean deleteIndexTemplate(String templateName)
Set<String> closedIndices(Collection<String> indices)
Set<IndexStatistics> indicesStats(Collection<String> indices)
Optional<IndexStatistics> getIndexStats(String index)
com.fasterxml.jackson.databind.JsonNode getIndexStats(Collection<String> index)
boolean exists(String indexName) throws IOException
IOExceptionvoid optimizeIndex(String index, int maxNumSegments, com.github.joschi.jadconfig.util.Duration timeout)
IndexRangeStats indexRangeStatsOfIndex(String index)
HealthStatus waitForRecovery(String index)
HealthStatus waitForRecovery(String index, int timeout)
boolean isOpen(String index)
boolean isClosed(String index)
Copyright © 2012–2021 Graylog, Inc.. All rights reserved.