Class RateLimitSession
java.lang.Object
com.flowable.platform.engine.impl.sandbox.ratelimiter.RateLimitSession
- All Implemented Interfaces:
Session
- Author:
- Filip Hrisafov
-
Field Summary
Modifier and TypeFieldDescriptionprotected final Map<String,
AtomicInteger> protected final Map<String,
AtomicInteger> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
activityStarted
(String tenantId) void
close()
void
flush()
void
instanceStarted
(String tenantId) static boolean
void
jobCanceled
(Job job) void
jobScheduled
(Job job)
-
Field Details
-
instancesStartedByTenant
-
activitiesStartedByTenant
-
jobsScheduledByTenant
-
-
Constructor Details
-
RateLimitSession
public RateLimitSession()
-
-
Method Details
-
flush
public void flush() -
close
public void close() -
instanceStarted
-
activityStarted
-
jobScheduled
-
getInstancesStartedByTenant
-
jobCanceled
-
getActivitiesStartedByTenant
-
getJobsScheduledByTenant
-
isJobApplicableForRateLimit
-