Class ImportService
java.lang.Object
org.graylog2.database.PaginatedDbService<CollectorUpload>
org.graylog.plugins.sidecar.services.ImportService
-
Field Summary
Fields inherited from class org.graylog2.database.PaginatedDbService
db
-
Constructor Summary
ConstructorDescriptionImportService
(MongoConnection mongoConnection, MongoJackObjectMapperProvider mapper) -
Method Summary
Modifier and TypeMethodDescriptionall()
long
count()
int
destroyExpired
(org.joda.time.Period period) findPaginated
(int page, int perPage, String sortField, String order) Methods inherited from class org.graylog2.database.PaginatedDbService
asImmutableList, delete, findPaginatedWithQueryAndSort, findPaginatedWithQueryFilterAndSort, findPaginatedWithQueryFilterAndSortWithGrandTotal, get, getMultiFieldSortBuilder, getPage, getSortBuilder, save, streamAll, streamByIds, streamQuery, streamQueryWithSort
-
Constructor Details
-
ImportService
-
-
Method Details
-
findPaginated
public PaginatedList<CollectorUpload> findPaginated(int page, int perPage, String sortField, String order) -
all
-
count
public long count() -
destroyExpired
public int destroyExpired(org.joda.time.Period period)
-