|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
String |
addRule(String query)
This method will add an EPL rule to the designated EPL Processor. |
void |
addRule(String id,
String query)
This method will add an EPL rule with a name to the designated EPL Processor. |
Map |
addRules(Map rules)
This method adds a bunch of EPL queries to the designated EPL Processor. |
void |
deleteAllRules()
This methods deletes all rules that has been configured in the EPL Processor. |
void |
deleteRule(String id)
This method deletes a rule from the EPL Processor with the given rule id. |
void |
deleteRules(String[] ids)
This method deletes all rules with the given ids. |
void |
disableMonitoring()
This method disables monitoring of the EPL Processor. |
void |
enableMonitoring()
This method enabled monitoring of the EPL Processor. |
Map |
getAllRules()
This method fetches all the rules that has been configured in the designated EPL Proessor. |
String |
getRule(String id)
This method fetches a rule with the given id. |
Map |
getRules(String[] ids)
This method fetches the rules for ids that are in the array. |
boolean |
isMonitoringEnabled()
This method checks if monitoring has been enabled for the EPL Processor. |
Map |
uploadRules(Map rules)
This method uploads a collection of EPL queries to the designated EPL processor. |
Method Detail |
public String addRule(String query) throws InstanceNotFoundException, JMException
query
- - An epl rulepublic void addRule(String id, String query) throws InstanceNotFoundException, JMException
id-
- A String which has the name of the queryquery-
- A String representing a query in EPL Syntaxpublic Map addRules(Map rules) throws InstanceNotFoundException, JMException
rules
- - A Map containg the queries with their names.public Map uploadRules(Map rules) throws InstanceNotFoundException, JMException
rules
- - A Map containing queries with their namespublic String getRule(String id) throws InstanceNotFoundException, JMException
id
- - A string which represents the id of the rulepublic Map getRules(String[] ids) throws InstanceNotFoundException, JMException
ids
- - An array of rule ids.public Map getAllRules() throws InstanceNotFoundException, JMException
public void deleteRule(String id) throws InstanceNotFoundException, JMException
id-
- A String which represents the rule-idpublic void deleteRules(String[] ids) throws InstanceNotFoundException, JMException
ids-
- A String array of ids to be deleted from the EPL Processorpublic void deleteAllRules() throws InstanceNotFoundException, JMException
public void enableMonitoring() throws InstanceNotFoundException, JMException
public void disableMonitoring() throws InstanceNotFoundException, JMException
public boolean isMonitoringEnabled() throws InstanceNotFoundException, JMException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |