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, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdestroy, destroyAll, save, saveWithoutValidation, validate, validate, validate@Inject public IndexRangeServiceImpl(MongoConnection mongoConnection, ActivityWriter activityWriter)
public IndexRange get(String index) throws NotFoundException
get in interface IndexRangeServiceNotFoundExceptionpublic List<IndexRange> getFrom(int timestamp)
getFrom in interface IndexRangeServicepublic void destroy(String index)
destroy in interface IndexRangeServicepublic IndexRange create(Map<String,Object> range)
create in interface IndexRangeServicepublic void destroyAll()
destroyAll in interface IndexRangeServiceCopyright © 2012-2015 Graylog, Inc.. All Rights Reserved.