Package org.openbravo.scheduling
Class ClusterInstanceProcessAccess
- java.lang.Object
-
- org.openbravo.scheduling.ClusterInstanceProcessAccess
-
public class ClusterInstanceProcessAccess extends Object
Utility class that helps to control what cluster instance are allowed to execute each process request
-
-
Constructor Summary
Constructors Constructor Description ClusterInstanceProcessAccess()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getBannedClusterInstanceNames(String processId)
Given a processId, returns the list of cluster instances where the process is not allowed to be executedList<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
-
-
-
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
-
-