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) |
boolean |
remove(String index) |
org.mongojack.WriteResult<MongoIndexRange,org.bson.types.ObjectId> |
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 org.mongojack.WriteResult<MongoIndexRange,org.bson.types.ObjectId> save(IndexRange indexRange)
save in interface IndexRangeServicepublic boolean remove(String index)
remove 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–2021 Graylog, Inc.. All rights reserved.