@Path(value="/cluster/jobs") public class ClusterSystemJobResource extends ProxiedResource
ProxiedResource.CallResult<ResponseType>, ProxiedResource.MasterResponse<ResponseType>, ProxiedResource.NodeResponse<ResponseType>authenticationToken, nodeService, remoteInterfaceProviderconfiguration, userService| Constructor and Description |
|---|
ClusterSystemJobResource(NodeService nodeService,
RemoteInterfaceProvider remoteInterfaceProvider,
javax.ws.rs.core.HttpHeaders httpHeaders,
ExecutorService executorService) |
| Modifier and Type | Method and Description |
|---|---|
SystemJobSummary |
cancelJob(@NotEmpty String jobId) |
SystemJobSummary |
getJob(String jobId) |
Map<String,Optional<Map<String,List<SystemJobSummary>>>> |
list() |
createRemoteInterfaceProvider, getForAllNodes, getForAllNodes, requestOnAllNodes, requestOnAllNodes, requestOnMastercheckAnyPermission, checkPermission, checkPermission, getCurrentUser, getIndexSet, getSubject, getUriBuilderToSelf, isAnyPermitted, isAnyPermitted, isPermitted, isPermitted, setPrettyPrint@Inject public ClusterSystemJobResource(NodeService nodeService, RemoteInterfaceProvider remoteInterfaceProvider, @Context javax.ws.rs.core.HttpHeaders httpHeaders, @Named(value="proxiedRequestsExecutorService") ExecutorService executorService) throws NodeNotFoundException
NodeNotFoundException@GET @Timed @Produces(value="application/json") public Map<String,Optional<Map<String,List<SystemJobSummary>>>> list() throws IOException
IOException@GET
@Path(value="{jobId}")
@Timed
@Produces(value="application/json")
public SystemJobSummary getJob(@PathParam(value="jobId")
String jobId)
throws IOException
IOException@DELETE
@Path(value="{jobId}")
@Timed
@Produces(value="application/json")
public SystemJobSummary cancelJob(@PathParam(value="jobId") @NotEmpty
@NotEmpty String jobId)
throws IOException
IOExceptionCopyright © 2012–2021 Graylog, Inc.. All rights reserved.