public class IndexRangeServiceImpl extends PersistedServiceImpl implements IndexRangeService
mongoConnection
Constructor and Description |
---|
IndexRangeServiceImpl(MongoConnection mongoConnection,
ActivityWriter activityWriter) |
Modifier and Type | Method and Description |
---|---|
IndexRange |
create(Map<String,Object> range) |
void |
destroy(String index) |
void |
destroyAll() |
IndexRange |
get(String index) |
List<IndexRange> |
getFrom(int timestamp) |
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
destroy, destroyAll, save, saveWithoutValidation, validate, validate, validate
@Inject public IndexRangeServiceImpl(MongoConnection mongoConnection, ActivityWriter activityWriter)
public IndexRange get(String index) throws NotFoundException
get
in interface IndexRangeService
NotFoundException
public List<IndexRange> getFrom(int timestamp)
getFrom
in interface IndexRangeService
public void destroy(String index)
destroy
in interface IndexRangeService
public IndexRange create(Map<String,Object> range)
create
in interface IndexRangeService
public void destroyAll()
destroyAll
in interface IndexRangeService
Copyright © 2012-2015 Graylog, Inc.. All Rights Reserved.