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 IndexRangeService
NotFoundException
public SortedSet<IndexRange> find(org.joda.time.DateTime begin, org.joda.time.DateTime end)
find
in interface IndexRangeService
public SortedSet<IndexRange> findAll()
findAll
in interface IndexRangeService
public org.mongojack.WriteResult<MongoIndexRange,org.bson.types.ObjectId> save(IndexRange indexRange)
save
in interface IndexRangeService
public boolean remove(String index)
remove
in interface IndexRangeService
public IndexRange calculateRange(String index)
calculateRange
in interface IndexRangeService
public IndexRange createUnknownRange(String index)
createUnknownRange
in interface IndexRangeService
public int delete(String index)
Copyright © 2012–2018 Graylog, Inc.. All rights reserved.