Class ClusterInstanceProcessAccess


  • public class ClusterInstanceProcessAccess
    extends Object
    Utility class that helps to control what cluster instance are allowed to execute each process request
    • Constructor Detail

      • ClusterInstanceProcessAccess

        public ClusterInstanceProcessAccess()
    • Method Detail

      • removeProcessesBannedFromCurrentClusterInstance

        public List<org.quartz.TriggerKey> removeProcessesBannedFromCurrentClusterInstance​(org.quartz.impl.jdbcjobstore.DriverDelegate delegate,
                                                                                           Connection conn,
                                                                                           List<org.quartz.TriggerKey> triggerKeys)
        Given a list of triggerKeys, returns only those that can be executed on the current instance
      • getBannedClusterInstanceNames

        public List<String> getBannedClusterInstanceNames​(String processId)
        Given a processId, returns the list of cluster instances where the process is not allowed to be executed