|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EventHandlerMBean
Represents an EventHandler instance.
| Method Summary | |
|---|---|
EventHandlerConfig |
getConfig()
Returns configuration information about the EventHandler. |
javax.management.ObjectName |
getConfigInstance()
Returns ObjectName generated from the EventHandler’s configuration ID, gotten from the EventHandler’s configuration instance. |
Integer |
getEventHandlerType()
Returns the EventHandler type. |
String |
getEventHandlerTypeName()
Returns the EventHandler type name. |
String |
getGlobalUniqueID()
Returns EventHandler GUID. |
String |
getName()
Returns the name of the EventHandler. |
TaskStatistics |
getStatistics()
This method returns the TaskStatistics object for this EventHandler. |
String |
getSystemLog()
Retrieves the current EventHandler's system log. |
String |
getSystemLogFileName()
Returns the name of the log file of the EventHandler (not prefixed by folders path). |
String |
getSystemLogFilePath()
Returns the fully-qualified path of the log file of the EventHandler. |
String |
getSystemLogLastChunk(Integer aLastKilobytes)
Retrieves the last chunk from the current EventHandler's system log. |
Integer |
getUniqueCode()
Returns the unique code of the EventHandler. |
void |
stop()
Stops the execution of the EventHandler. |
| Methods inherited from interface com.ibm.di.api.jmx.mbeans.BaseMBean |
|---|
getId, getType |
| Method Detail |
|---|
Integer getEventHandlerType()
throws DIException
DIException - if an error occurs while retrieving the EventHandler type.
String getEventHandlerTypeName()
throws DIException
DIException - if an error occurs while retrieving EventHandler type name.
javax.management.ObjectName getConfigInstance()
throws DIException
DIException - if an error occurs while generating the ObjectName.
String getName()
throws DIException
DIException - if an error occurs while retrieving the name of the EventHandler.
Integer getUniqueCode()
throws DIException
DIException - if an error occurs while retrieving the unique code of the EventHandler.
EventHandlerConfig getConfig()
throws DIException
DIException - if an error occurs while retrieving the configuration information of the EventHandler.
TaskStatistics getStatistics()
throws DIException
DIException - if an error occurs while getting the EventHandler statistics.
void stop()
throws DIException
DIException - if an error occurs while stopping the EventHandler.
String getSystemLogFilePath()
throws DIException
DIException - if an error occurs while obtaining EventHandler log file path.
String getSystemLogFileName()
throws DIException
DIException - if an error occurs while obtaining EventHandler log file name.
String getSystemLog()
throws DIException
DIException - if an error occurs while obtaining EventHandler's log.
String getSystemLogLastChunk(Integer aLastKilobytes)
throws DIException
aLastKilobytes - Specifies in kilobytes the size of the log's
last chunk that will be read.
DIException - if an error occurs while obtaining EventHandler's log.
String getGlobalUniqueID()
throws DIException
DIException - if an error occurs while obtaining GUID.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||