java.lang.Object
com.flowable.platform.engine.impl.sandbox.ratelimiter.RateLimitSession
All Implemented Interfaces:
Session

public class RateLimitSession extends Object implements Session
Author:
Filip Hrisafov
  • Field Details

  • Constructor Details

    • RateLimitSession

      public RateLimitSession()
  • Method Details

    • flush

      public void flush()
      Specified by:
      flush in interface Session
    • close

      public void close()
      Specified by:
      close in interface Session
    • instanceStarted

      public void instanceStarted(String tenantId)
    • activityStarted

      public void activityStarted(String tenantId)
    • jobScheduled

      public void jobScheduled(Job job)
    • getInstancesStartedByTenant

      public Map<String,AtomicInteger> getInstancesStartedByTenant()
    • jobCanceled

      public void jobCanceled(Job job)
    • getActivitiesStartedByTenant

      public Map<String,AtomicInteger> getActivitiesStartedByTenant()
    • getJobsScheduledByTenant

      public Map<String,Set<Job>> getJobsScheduledByTenant()
    • isJobApplicableForRateLimit

      public static boolean isJobApplicableForRateLimit(Job job)