Package org.graylog2.lookup.db
Class DBCacheService
java.lang.Object
org.graylog2.lookup.db.DBCacheService
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDBCacheService(MongoCollections mongoCollections, EntityScopeService entityScopeService, ClusterEventBus clusterEventBus) -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteAndPostEvent(String idOrName) voiddeleteAndPostEventImmutable(String idOrName) findAll()findPaginated(org.bson.conversions.Bson query, org.bson.conversions.Bson sort, int page, int perPage) voidpostBulkUpdate(Set<String> updatedCacheIds) saveAndPostEvent(CacheDto cache)
-
Field Details
-
COLLECTION_NAME
- See Also:
-
-
Constructor Details
-
DBCacheService
@Inject public DBCacheService(MongoCollections mongoCollections, EntityScopeService entityScopeService, ClusterEventBus clusterEventBus)
-
-
Method Details
-
get
-
save
-
saveAndPostEvent
-
postBulkUpdate
-
findPaginated
public PaginatedList<CacheDto> findPaginated(org.bson.conversions.Bson query, org.bson.conversions.Bson sort, int page, int perPage) -
deleteAndPostEvent
-
deleteAndPostEventImmutable
-
findByIds
-
findAll
-