public class DBCacheService extends Object
Constructor and Description |
---|
DBCacheService(MongoConnection mongoConnection,
MongoJackObjectMapperProvider mapper,
ClusterEventBus clusterEventBus) |
Modifier and Type | Method and Description |
---|---|
void |
delete(String idOrName) |
Collection<CacheDto> |
findAll() |
Collection<CacheDto> |
findByIds(Set<String> idSet) |
PaginatedList<CacheDto> |
findPaginated(org.mongojack.DBQuery.Query query,
org.mongojack.DBSort.SortBuilder sort,
int page,
int perPage) |
Optional<CacheDto> |
get(String idOrName) |
CacheDto |
save(CacheDto table) |
@Inject public DBCacheService(MongoConnection mongoConnection, MongoJackObjectMapperProvider mapper, ClusterEventBus clusterEventBus)
public PaginatedList<CacheDto> findPaginated(org.mongojack.DBQuery.Query query, org.mongojack.DBSort.SortBuilder sort, int page, int perPage)
public void delete(String idOrName)
public Collection<CacheDto> findByIds(Set<String> idSet)
public Collection<CacheDto> findAll()
Copyright © 2012–2020 Graylog, Inc.. All rights reserved.