@Path(value="/system/indexer/indices") public class IndicesResource extends RestResource
objectMapper, userService| Constructor and Description |
|---|
IndicesResource(Indices indices,
Cluster cluster,
Deflector deflector) |
| Modifier and Type | Method and Description |
|---|---|
AllIndices |
all() |
void |
close(String index) |
ClosedIndices |
closed() |
void |
delete(String index) |
Map<String,IndexInfo> |
multiple(IndicesReadRequest request) |
OpenIndicesInfo |
open() |
void |
reopen(String index) |
ClosedIndices |
reopened() |
IndexInfo |
single(String index) |
checkAnyPermission, checkPermission, checkPermission, getCurrentUser, getSubject, getUriBuilderToSelf, isAnyPermitted, isAnyPermitted, isPermitted, isPermitted, setPrettyPrint@GET
@Timed
@Path(value="/{index}")
@Produces(value="application/json")
public IndexInfo single(@PathParam(value="index")
String index)
@POST @Timed @Path(value="/multiple") @Produces(value="application/json") public Map<String,IndexInfo> multiple(@NotNull IndicesReadRequest request)
@GET @Path(value="/open") @Timed @Produces(value="application/json") public OpenIndicesInfo open()
@GET @Timed @Path(value="/closed") @Produces(value="application/json") public ClosedIndices closed()
@GET @Timed @Path(value="/reopened") @Produces(value="application/json") public ClosedIndices reopened()
@GET @Timed @Produces(value="application/json") public AllIndices all()
@POST
@Timed
@Path(value="/{index}/reopen")
@Produces(value="application/json")
public void reopen(@PathParam(value="index")
String index)
@POST
@Timed
@Path(value="/{index}/close")
@Produces(value="application/json")
public void close(@PathParam(value="index") @NotNull
String index)
@DELETE
@Timed
@Path(value="/{index}")
@Produces(value="application/json")
public void delete(@PathParam(value="index") @NotNull
String index)
Copyright © 2012-2016 Graylog, Inc.. All Rights Reserved.