public interface FlowControlJobDb
| Modifier and Type | Interface and Description |
|---|---|
static interface |
FlowControlJobDb.Builder |
static class |
FlowControlJobDb.RequestException |
static class |
FlowControlJobDb.ServiceException |
| Modifier and Type | Method and Description |
|---|---|
FlowControlJobDb.Builder |
createJob(FlowControlCallContext fccc) |
FlowControlJob |
getJob(FlowControlCallContext ctx,
String name)
Get a flow control job or return null if it does not exist for the calling user.
|
FlowControlJob |
getJobAsAdmin(String name)
Get a job (or return null) without checking access rights.
|
Collection<FlowControlJob> |
getJobsFor(FlowControlCallContext fccc) |
default boolean |
jobExists(FlowControlCallContext ctx,
String name)
Check if a job exists.
|
void |
removeJob(FlowControlCallContext ctx,
String name)
Remove the given job
|
void |
storeJob(FlowControlCallContext ctx,
String name,
FlowControlJob job)
Store the give job
|
FlowControlJobDb.Builder createJob(FlowControlCallContext fccc) throws FlowControlJobDb.ServiceException
Collection<FlowControlJob> getJobsFor(FlowControlCallContext fccc) throws FlowControlJobDb.ServiceException
FlowControlJob getJob(FlowControlCallContext ctx, String name) throws FlowControlJobDb.ServiceException, AccessException
ctx - name - FlowControlJobDb.ServiceExceptionAccessExceptionFlowControlJob getJobAsAdmin(String name) throws FlowControlJobDb.ServiceException
name - FlowControlJobDb.ServiceExceptiondefault boolean jobExists(FlowControlCallContext ctx, String name) throws FlowControlJobDb.ServiceException
ctx - name - FlowControlJobDb.ServiceExceptionvoid storeJob(FlowControlCallContext ctx, String name, FlowControlJob job) throws FlowControlJobDb.ServiceException, AccessException, FlowControlJobDb.RequestException
ctx - name - job - FlowControlJobDb.ServiceExceptionAccessExceptionFlowControlJobDb.RequestExceptionvoid removeJob(FlowControlCallContext ctx, String name) throws FlowControlJobDb.ServiceException, AccessException, FlowControlJobDb.RequestException
ctx - name - FlowControlJobDb.ServiceExceptionAccessExceptionFlowControlJobDb.RequestExceptionCopyright © 2022 continual.io. All rights reserved.