public class LegacyMongoIndexRangeService extends PersistedServiceImpl implements IndexRangeService
mongoConnection| Constructor and Description |
|---|
LegacyMongoIndexRangeService(MongoConnection mongoConnection) |
| Modifier and Type | Method and Description |
|---|---|
IndexRange |
calculateRange(String index) |
IndexRange |
createUnknownRange(String index) |
int |
delete(String index) |
SortedSet<IndexRange> |
find(org.joda.time.DateTime begin,
org.joda.time.DateTime end) |
SortedSet<IndexRange> |
findAll() |
IndexRange |
get(String index) |
void |
save(IndexRange indexRange) |
collection, collection, count, count, cursorToList, destroy, destroy, destroyAll, destroyAll, destroyAll, embed, findOne, findOne, findOne, findOne, get, get, get, query, query, query, query, query, removeEmbedded, removeEmbedded, save, saveWithoutValidation, totalCount, totalCount, validate, validate, validate@Inject public LegacyMongoIndexRangeService(MongoConnection mongoConnection)
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 void save(IndexRange indexRange)
save in interface IndexRangeServicepublic IndexRange calculateRange(String index)
calculateRange in interface IndexRangeServicepublic IndexRange createUnknownRange(String index)
createUnknownRange in interface IndexRangeServicepublic int delete(String index)
Copyright © 2012-2016 Graylog, Inc.. All Rights Reserved.