Class MongoLastUsedQueryStringsService
java.lang.Object
org.graylog.plugins.views.search.querystrings.MongoLastUsedQueryStringsService
- All Implemented Interfaces:
LastUsedQueryStringsService
-
Field Summary
FieldsFields inherited from interface org.graylog.plugins.views.search.querystrings.LastUsedQueryStringsService
DEFAULT_LIMIT -
Constructor Summary
ConstructorsConstructorDescriptionMongoLastUsedQueryStringsService(MongoConnection mongoConnection, MongoJackObjectMapperProvider mapper, com.google.common.eventbus.EventBus eventBus) MongoLastUsedQueryStringsService(MongoConnection mongoConnection, MongoJackObjectMapperProvider mapper, com.google.common.eventbus.EventBus eventBus, Integer maxLength) -
Method Summary
Modifier and TypeMethodDescriptionvoidremoveQueryStringsUponUserDeletion(UserDeletedEvent userDeletedEvent) voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.graylog.plugins.views.search.querystrings.LastUsedQueryStringsService
get
-
Field Details
-
COLLECTION_NAME
- See Also:
-
-
Constructor Details
-
MongoLastUsedQueryStringsService
public MongoLastUsedQueryStringsService(MongoConnection mongoConnection, MongoJackObjectMapperProvider mapper, com.google.common.eventbus.EventBus eventBus, Integer maxLength) -
MongoLastUsedQueryStringsService
@Inject public MongoLastUsedQueryStringsService(MongoConnection mongoConnection, MongoJackObjectMapperProvider mapper, com.google.common.eventbus.EventBus eventBus)
-
-
Method Details
-
get
- Specified by:
getin interfaceLastUsedQueryStringsService
-
save
- Specified by:
savein interfaceLastUsedQueryStringsService
-
removeQueryStringsUponUserDeletion
-