Class AbstractFlowableRateLimiter
java.lang.Object
com.flowable.platform.engine.impl.sandbox.ratelimiter.bucket4j.AbstractFlowableRateLimiter
- All Implemented Interfaces:
FlowableRateLimiter
,SessionFactory
- Direct Known Subclasses:
FlowableBucket4jRateLimiter
public abstract class AbstractFlowableRateLimiter
extends Object
implements FlowableRateLimiter, SessionFactory
- Author:
- Filip Hrisafov
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract AbstractFlowableRateLimiter.RateLimitCommandContextCloseListener
Class<?>
openSession
(CommandContext commandContext) void
validateActivityInstanceStart
(ActivityInstance activityInstance) void
validateCaseInstanceStart
(CaseInstance caseInstance) void
validateJobCancel
(Job job) void
validateJobExecute
(Job job) protected abstract void
validateJobExecuteInternal
(String jobTenantId) void
validateJobSchedule
(Job job) void
validatePlanItemInstanceCreate
(PlanItemInstance planItemInstance) void
validateProcessInstanceStart
(ProcessInstance processInstance)
-
Constructor Details
-
AbstractFlowableRateLimiter
public AbstractFlowableRateLimiter()
-
-
Method Details
-
validateProcessInstanceStart
- Specified by:
validateProcessInstanceStart
in interfaceFlowableRateLimiter
-
validateActivityInstanceStart
- Specified by:
validateActivityInstanceStart
in interfaceFlowableRateLimiter
-
validateCaseInstanceStart
- Specified by:
validateCaseInstanceStart
in interfaceFlowableRateLimiter
-
validatePlanItemInstanceCreate
- Specified by:
validatePlanItemInstanceCreate
in interfaceFlowableRateLimiter
-
validateJobSchedule
- Specified by:
validateJobSchedule
in interfaceFlowableRateLimiter
-
validateJobExecute
- Specified by:
validateJobExecute
in interfaceFlowableRateLimiter
-
validateJobCancel
- Specified by:
validateJobCancel
in interfaceFlowableRateLimiter
-
validateJobExecuteInternal
-
getSessionType
- Specified by:
getSessionType
in interfaceSessionFactory
-
openSession
- Specified by:
openSession
in interfaceSessionFactory
-
createCommandContextCloseListener
protected abstract AbstractFlowableRateLimiter.RateLimitCommandContextCloseListener createCommandContextCloseListener()
-