@Path(value="/cluster/{nodeId}/shutdown")
@Produces(value="application/json")
public class ClusterSystemShutdownResource
extends ProxiedResource
authenticationToken, nodeService, remoteInterfaceProvideruserService| Constructor and Description |
|---|
ClusterSystemShutdownResource(NodeService nodeService,
RemoteInterfaceProvider remoteInterfaceProvider,
javax.ws.rs.core.HttpHeaders httpHeaders,
ExecutorService executorService) |
| Modifier and Type | Method and Description |
|---|---|
void |
shutdown(String nodeId) |
createRemoteInterfaceProvider, getForAllNodes, getForAllNodescheckAnyPermission, checkPermission, checkPermission, getCurrentUser, getIndexSet, getSubject, getUriBuilderToSelf, isAnyPermitted, isAnyPermitted, isPermitted, isPermitted, setPrettyPrint@Inject public ClusterSystemShutdownResource(NodeService nodeService, RemoteInterfaceProvider remoteInterfaceProvider, @Context javax.ws.rs.core.HttpHeaders httpHeaders, @Named(value="proxiedRequestsExecutorService") ExecutorService executorService) throws NodeNotFoundException
NodeNotFoundException@POST
@Timed
public void shutdown(@PathParam(value="nodeId")
String nodeId)
throws IOException,
NodeNotFoundException
IOExceptionNodeNotFoundExceptionCopyright © 2012–2017 Graylog, Inc.. All rights reserved.