@Singleton @Deprecated public class EsIndexRangeService extends Object implements IndexRangeService
| Constructor and Description |
|---|
EsIndexRangeService(org.elasticsearch.client.Client client,
Deflector deflector,
com.google.common.eventbus.EventBus eventBus,
com.codahale.metrics.MetricRegistry metricRegistry)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
IndexRange |
calculateRange(String index)
Deprecated.
|
IndexRange |
createUnknownRange(String index)
Deprecated.
|
SortedSet<IndexRange> |
find(org.joda.time.DateTime begin,
org.joda.time.DateTime end)
Deprecated.
|
SortedSet<IndexRange> |
findAll()
Deprecated.
|
IndexRange |
get(String index)
Deprecated.
|
void |
handleIndexDeletion(IndicesDeletedEvent event)
Deprecated.
|
void |
save(IndexRange indexRange)
Deprecated.
|
@Inject
public EsIndexRangeService(org.elasticsearch.client.Client client,
Deflector deflector,
com.google.common.eventbus.EventBus eventBus,
com.codahale.metrics.MetricRegistry metricRegistry)
public IndexRange get(String index) throws NotFoundException
get in interface IndexRangeServiceNotFoundExceptionpublic SortedSet<IndexRange> find(org.joda.time.DateTime begin, org.joda.time.DateTime end)
find in interface IndexRangeServicepublic SortedSet<IndexRange> findAll()
findAll in interface IndexRangeServicepublic IndexRange calculateRange(String index)
calculateRange in interface IndexRangeServicepublic IndexRange createUnknownRange(String index)
createUnknownRange in interface IndexRangeServicepublic void save(IndexRange indexRange)
save in interface IndexRangeServicepublic void handleIndexDeletion(IndicesDeletedEvent event)
Copyright © 2012-2016 Graylog, Inc.. All Rights Reserved.