@Singleton @Deprecated public class EsIndexRangeService extends Object implements IndexRangeService
| Constructor and Description |
|---|
EsIndexRangeService(org.elasticsearch.client.Client client,
IndexSetRegistry indexSetRegistry,
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.
|
boolean |
remove(String index)
Deprecated.
|
org.mongojack.WriteResult<MongoIndexRange,org.bson.types.ObjectId> |
save(IndexRange indexRange)
Deprecated.
|
@Inject
public EsIndexRangeService(org.elasticsearch.client.Client client,
IndexSetRegistry indexSetRegistry,
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 org.mongojack.WriteResult<MongoIndexRange,org.bson.types.ObjectId> save(IndexRange indexRange)
save in interface IndexRangeServicepublic boolean remove(String index)
remove in interface IndexRangeServicepublic void handleIndexDeletion(IndicesDeletedEvent event)
Copyright © 2012–2017 Graylog, Inc.. All rights reserved.