public class MongoIndexRangeService extends PersistedServiceImpl implements IndexRangeService
mongoConnection| Constructor and Description |
|---|
MongoIndexRangeService(MongoConnection mongoConnection) |
| Modifier and Type | Method and Description |
|---|---|
IndexRange |
calculateRange(String index) |
SortedSet<IndexRange> |
find(org.joda.time.DateTime begin,
org.joda.time.DateTime end) |
SortedSet<IndexRange> |
findAll() |
IndexRange |
get(String index) |
boolean |
isMigrated(String index) |
boolean |
markAsMigrated(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 MongoIndexRangeService(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 boolean markAsMigrated(String index)
public boolean isMigrated(String index)
Copyright © 2012-2015 Graylog, Inc.. All Rights Reserved.