public class DBCacheService extends Object
Constructor and Description |
---|
DBCacheService(MongoConnection mongoConnection,
MongoJackObjectMapperProvider mapper) |
Modifier and Type | Method and Description |
---|---|
void |
delete(String idOrName) |
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) |
Stream<CacheDto> |
streamAll() |
@Inject public DBCacheService(MongoConnection mongoConnection, MongoJackObjectMapperProvider mapper)
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)
Copyright © 2012–2018 Graylog, Inc.. All rights reserved.