Details
-
Type:
New Feature
-
Status:
Open
-
Priority:
2 Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: 2.2
-
Component/s: None
-
Labels:None
-
Terracotta Target:Vicente_Holding
Description
From a JMX perspective, it looks like the only way to retrieve state information for triggers is thru the getTriggerState(String instanceId, String triggerName, String triggerGroupName) operation.
It would be much more efficient return the state of each trigger when any of the following operations are invoked:
- getTrigger(String instanceId, String triggerName, String triggerGroupName)
- getTriggersOfJob(String instanceId, String jobName, String jobGroupName)
- getAllTriggers(String instanceId)
So, essentially, you're asking that the Trigger have a getState method. I can't think of any reason why that isn't good. Maybe James can think of one. I'm adding him as a Watcher of this issue.