@Path(value="/system/indices/ranges") public class IndexRangesResource extends RestResource
configuration, userService| Constructor and Description |
|---|
IndexRangesResource(IndexRangeService indexRangeService,
RebuildIndexRangesJob.Factory rebuildIndexRangesJobFactory,
CreateNewSingleIndexRangeJob.Factory singleIndexRangeJobFactory,
IndexSetRegistry indexSetRegistry,
SystemJobManager systemJobManager) |
| Modifier and Type | Method and Description |
|---|---|
IndexRangesResponse |
list() |
javax.ws.rs.core.Response |
rebuild() |
javax.ws.rs.core.Response |
rebuildIndex(@NotEmpty String index) |
javax.ws.rs.core.Response |
rebuildIndexSet(@NotBlank String indexSetId) |
IndexRangeSummary |
show(@NotEmpty String index) |
checkAnyPermission, checkPermission, checkPermission, getCurrentUser, getIndexSet, getSubject, getUriBuilderToSelf, isAnyPermitted, isAnyPermitted, isPermitted, isPermitted, setPrettyPrint@Inject public IndexRangesResource(IndexRangeService indexRangeService, RebuildIndexRangesJob.Factory rebuildIndexRangesJobFactory, CreateNewSingleIndexRangeJob.Factory singleIndexRangeJobFactory, IndexSetRegistry indexSetRegistry, SystemJobManager systemJobManager)
@GET @Timed @Produces(value="application/json") public IndexRangesResponse list()
@GET
@Path(value="/{index: [a-z_0-9]+}")
@Timed
@Produces(value="application/json")
public IndexRangeSummary show(@PathParam(value="index") @NotEmpty
@NotEmpty String index)
throws NotFoundException
NotFoundException@POST @Timed @Path(value="/rebuild") @Produces(value="application/json") public javax.ws.rs.core.Response rebuild()
@POST
@Timed
@Path(value="/index_set/{indexSetId}/rebuild")
@Produces(value="application/json")
public javax.ws.rs.core.Response rebuildIndexSet(@PathParam(value="indexSetId") @NotBlank
@NotBlank String indexSetId)
@POST
@Timed
@Path(value="/{index: [a-z_0-9-]+}/rebuild")
@Produces(value="application/json")
public javax.ws.rs.core.Response rebuildIndex(@PathParam(value="index") @NotEmpty
@NotEmpty String index)
Copyright © 2012–2021 Graylog, Inc.. All rights reserved.