@Path(value="/system") public class SystemResource extends RestResource
objectMapper, userService
Constructor and Description |
---|
SystemResource(ServerStatus serverStatus,
Indices indices,
GracefulShutdown gracefulShutdown) |
Modifier and Type | Method and Description |
---|---|
Map<String,Set<String>> |
fields(int limit) |
Map<String,Object> |
jvm() |
void |
pauseProcessing() |
Map<String,Map<String,Collection<String>>> |
permissions() |
ReaderPermissionResponse |
readerPermissions(String username) |
void |
resumeProcessing() |
javax.ws.rs.core.Response |
shutdown() |
Map<String,Object> |
system() |
String |
threaddump() |
void |
unlockProcessingPause() |
bytesToValueMap, checkPermission, checkPermission, getCurrentUser, getSubject, guessContentType, isPermitted, isPermitted, page, restrictToMaster, setPrettyPrint
@Inject public SystemResource(ServerStatus serverStatus, Indices indices, GracefulShutdown gracefulShutdown)
@GET @Timed @Path(value="/fields") @Produces(value="application/json") public Map<String,Set<String>> fields(@QueryParam(value="limit") int limit)
@PUT @Timed @Path(value="/processing/pause") public void pauseProcessing()
@PUT @Timed @Path(value="/processing/resume") public void resumeProcessing()
@PUT @Timed @Path(value="/processing/pause/unlock") public void unlockProcessingPause()
@GET @Path(value="/jvm") @Timed @Produces(value="application/json") public Map<String,Object> jvm()
@GET @Timed @Path(value="/threaddump") @Produces(value="text/plain") public String threaddump()
@GET @Timed @Path(value="/permissions") @Produces(value="application/json") public Map<String,Map<String,Collection<String>>> permissions()
@GET @Timed @Path(value="/permissions/reader/{username}") @Produces(value="application/json") public ReaderPermissionResponse readerPermissions(@PathParam(value="username") String username)
@POST @Timed @Path(value="/shutdown") public javax.ws.rs.core.Response shutdown()
Copyright © 2012-2015 Graylog, Inc.. All Rights Reserved.