Interface CEPEsperProcessorMXBean
-
- All Known Implementing Classes:
CEPEsperProcessor
@MXBean(true) public interface CEPEsperProcessorMXBean
The management interface for esper module instances.- Since:
- 1.0.0
- Version:
- $Id$
- Author:
- anshul@marketcetera.com, toli@marketcetera.com
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetConfiguration()Specifies the location of the configuration file for the module.longgetNumEventsReceived()Returns the number of events received over the lifetime of the event stream processing runtime.String[]getStatementNames()Returns the names of all the statements currently being handled by the runtime.booleanisUseExternalTime()If the runtime should use external time source.voidsetConfiguration(String inConfiguration)Specifies the location of the configuration file for the module.voidsetUseExternalTime(boolean inUseExternalTime)If the runtime should use external time source.
-
-
-
Method Detail
-
getConfiguration
String getConfiguration()
Specifies the location of the configuration file for the module. The location is first interpreted as a URL. If URL creation fails with a malformed URL exception, an attempt is made to interpret the location as a local file. If the file doesn't exist, the value is interpreted as the name of a classpath resource. If the configuration is not found via any of these interpretations an exception is thrown during module start. If a null value is specified, an empty configuration is used.- Returns:
- the location of the configuration file.
-
setConfiguration
void setConfiguration(String inConfiguration)
Specifies the location of the configuration file for the module.- Parameters:
inConfiguration- the location of the configuration file.- See Also:
getConfiguration()
-
getStatementNames
String[] getStatementNames()
Returns the names of all the statements currently being handled by the runtime.- Returns:
- the names of all the statements.
-
getNumEventsReceived
long getNumEventsReceived()
Returns the number of events received over the lifetime of the event stream processing runtime.- Returns:
- number of events received.
-
isUseExternalTime
boolean isUseExternalTime()
If the runtime should use external time source.- Returns:
- if the runtime should use external time source.
-
setUseExternalTime
void setUseExternalTime(boolean inUseExternalTime)
If the runtime should use external time source.- Parameters:
inUseExternalTime- if the runtime should use external time source.
-
-