@Path(value="/system/indexer/indices") public class IndicesResource extends RestResource
objectMapper, serverStatus, userService| Constructor and Description |
|---|
IndicesResource() |
| Modifier and Type | Method and Description |
|---|---|
void |
close(String index) |
ClosedIndices |
closed() |
void |
delete(String index) |
void |
reopen(String index) |
ClosedIndices |
reopened() |
IndexInfo |
single(String index) |
bytesToValueMap, checkPermission, checkPermission, getCurrentUser, getSubject, guessContentType, isPermitted, isPermitted, page, restrictToMaster, setPrettyPrint@GET
@Timed
@Path(value="/{index}")
@Produces(value="application/json")
public IndexInfo single(@PathParam(value="index")
String index)
@GET @Timed @Path(value="/closed") @Produces(value="application/json") public ClosedIndices closed()
@GET @Timed @Path(value="/reopened") @Produces(value="application/json") public ClosedIndices reopened()
@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")
String index)
@DELETE
@Timed
@Path(value="/{index}")
@Produces(value="application/json")
public void delete(@PathParam(value="index")
String index)
Copyright © 2012-2015 Graylog, Inc.. All Rights Reserved.