|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.di.api.jmx.mbeans.BaseAdmin
com.ibm.di.api.jmx.mbeans.EventHandler
public class EventHandler
| Field Summary | |
|---|---|
static String |
MBEAN_TYPE
|
| Constructor Summary | |
|---|---|
EventHandler(EventHandler aEventHandler)
|
|
| Method Summary | |
|---|---|
static javax.management.ObjectName |
genObjectName(String aName,
int aUniqueCode)
|
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 |
getId()
Reads attribute "Id". |
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. |
String |
getType()
Reads attribute "Type". |
Integer |
getUniqueCode()
Returns the unique code of the EventHandler. |
void |
stop()
Stops the execution of the EventHandler. |
| Methods inherited from class com.ibm.di.api.jmx.mbeans.BaseAdmin |
|---|
getCurrentUserId, getKeyPropertyList |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String MBEAN_TYPE
| Constructor Detail |
|---|
public EventHandler(EventHandler aEventHandler)
throws DIException
DIException| Method Detail |
|---|
public String getType()
BaseMBean
getType() and getId() are used in a common schema for
object names for all MBeans in the management package. The key properties part
of the object name of each MBean is defined as
"type=" + getType() + ",id=" + getId(), for example
"type=AssemblyLine,id=Hello".
getType in interface BaseMBeanpublic String getId()
BaseMBean
getType() and getId() are used in a common schema for
object names for all MBeans in the management package. The key properties part
of the object name of each MBean is defined as
"type=" + getType() + ",id=" + getId(), for example
"type=AssemblyLine,id=Hello".
getId in interface BaseMBean
public Integer getEventHandlerType()
throws DIException
EventHandlerMBean
getEventHandlerType in interface EventHandlerMBeanDIException - if an error occurs while retrieving the EventHandler type.
public String getEventHandlerTypeName()
throws DIException
EventHandlerMBean
getEventHandlerTypeName in interface EventHandlerMBeanDIException - if an error occurs while retrieving EventHandler type name.
public javax.management.ObjectName getConfigInstance()
throws DIException
EventHandlerMBean
getConfigInstance in interface EventHandlerMBeanDIException - if an error occurs while generating the ObjectName.
public String getName()
throws DIException
EventHandlerMBean
getName in interface EventHandlerMBeanDIException - if an error occurs while retrieving the name of the EventHandler.
public Integer getUniqueCode()
throws DIException
EventHandlerMBean
getUniqueCode in interface EventHandlerMBeanDIException - if an error occurs while retrieving the unique code of the EventHandler.
public EventHandlerConfig getConfig()
throws DIException
EventHandlerMBean
getConfig in interface EventHandlerMBeanDIException - if an error occurs while retrieving the configuration information of the EventHandler.
public TaskStatistics getStatistics()
throws DIException
EventHandlerMBean
getStatistics in interface EventHandlerMBeanDIException - if an error occurs while getting the EventHandler statistics.
public void stop()
throws DIException
EventHandlerMBean
stop in interface EventHandlerMBeanDIException - if an error occurs while stopping the EventHandler.
public String getSystemLogFilePath()
throws DIException
EventHandlerMBean
getSystemLogFilePath in interface EventHandlerMBeanDIException - if an error occurs while obtaining EventHandler log file path.
public String getSystemLogFileName()
throws DIException
EventHandlerMBean
getSystemLogFileName in interface EventHandlerMBeanDIException - if an error occurs while obtaining EventHandler log file name.
public String getSystemLog()
throws DIException
EventHandlerMBean
getSystemLog in interface EventHandlerMBeanDIException - if an error occurs while obtaining EventHandler's log.
public String getSystemLogLastChunk(Integer aLastKilobytes)
throws DIException
EventHandlerMBean
getSystemLogLastChunk in interface EventHandlerMBeanaLastKilobytes - 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.
public static javax.management.ObjectName genObjectName(String aName,
int aUniqueCode)
throws DIException
DIException
public String getGlobalUniqueID()
throws DIException
EventHandlerMBean
getGlobalUniqueID in interface EventHandlerMBeanDIException - if an error occurs while obtaining GUID.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||