|
||||||||||
| 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.TombstoneManager
public class TombstoneManager
| Field Summary | |
|---|---|
static String |
MBEAN_ID
|
static String |
MBEAN_TYPE
|
| Constructor Summary | |
|---|---|
TombstoneManager(TombstoneManager aTombstoneManager)
|
|
| Method Summary | |
|---|---|
int |
deleteALTombstones(String aAssemblyLineName,
String aConfigID)
Deletes all tombstones for specified AssemblyLine. |
int |
deleteALTombstones(String aAssemblyLineName,
String aConfigID,
int aDays)
Deletes all tombstones for the specified AssemblyLine that are older than the specified number of days. |
int |
deleteCITombstones(String aConfigID)
Deletes all tombstones for specified Config Instance. |
int |
deleteCITombstones(String aConfigID,
int aDays)
Deletes all tombstones for the specified Config Instance that are older than the specified number of days. |
int |
deleteEHTombstones(String aEventHandlerName,
String aConfigID)
Deletes all tombstones for specified EventHandler. |
int |
deleteEHTombstones(String aEventHandlerName,
String aConfigID,
int aDays)
Deletes all tombstones for the specified EventHandler that are older than the specified number of days. |
boolean |
deleteTombstone(String aGUID)
Deletes the tombstone with the specified GUID. |
int |
deleteTombstones(int aDays)
Deletes all tombstones that are older than the specified number of days. |
Tombstone[] |
getAssemblyLineTombstones(String aAssemblyLineName,
String aConfigID)
Returns all available tombstones for the specified AssemblyLine. |
Tombstone[] |
getAssemblyLineTombstones(String aAssemblyLineName,
String aConfigID,
Date aStartTime,
Date aEndTime)
Returns all available tombstones for the specified AssemblyLine with timestamps in the interval specified by aStartTime and aEndTime. |
Tombstone[] |
getAssemblyLineTombstones(String aAssemblyLineName,
String aConfigID,
int aRecentNumberOfTombstones)
Returns the recent n number of tombsones for a specified AssemblyLine. |
Tombstone[] |
getConfigInstanceTombstones(String aConfigID)
Returns all available tombstones for the specified Config Instance. |
Tombstone[] |
getConfigInstanceTombstones(String aConfigID,
Date aStartTime,
Date aEndTime)
Returns all available tombstones for the specified Config Instance with timestamps in the interval specified by aStartTime and aEndTime. |
Tombstone[] |
getEventHandlerTombstones(String aEventHandlerName,
String aConfigID)
Returns all available tombstones for the specified EventHandler. |
Tombstone[] |
getEventHandlerTombstones(String aEventHandlerName,
String aConfigID,
Date aStartTime,
Date aEndTime)
Returns all available tombstones for the specified EventHandler with timestamps in the interval specified by aStartTime and aEndTime. |
String |
getId()
Reads attribute "Id". |
Tombstone |
getTombstone(String aGUID)
Returns a single tombstone object uniquely identified by the specified GUID. |
Tombstone[] |
getTombstones(Date aStartTime,
Date aEndTime)
Returns all available tombstones with timestamps in the interval specified by aStartTime and aEndTime. |
String |
getType()
Reads attribute "Type". |
int |
keepMostRecentALTombstones(String aAssemblyLineName,
String aConfigID,
int aMostResentToKeep)
After this method is executed only the aMostRecentToKeep most recent tombstone records for the specified AssemblyLine are kept and all other are deleted. |
int |
keepMostRecentCITombstones(String aConfigID,
int aMostResentToKeep)
After this method is executed only the aMostRecentToKeep most recent tombstone records for the specified Config Instance are kept and all other are deleted. |
int |
keepMostRecentEHTombstones(String aEventHandlerName,
String aConfigID,
int aMostResentToKeep)
After this method is executed only the aMostRecentToKeep most recent tombstone records for the specified EventHandler are kept and all other are deleted. |
int |
keepMostRecentTombstones(int aMostResentToKeep)
After this method is executed only the aMostRecentToKeep most recent tombstone records are kept and all other are deleted. |
| 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
public static final String MBEAN_ID
| Constructor Detail |
|---|
public TombstoneManager(TombstoneManager aTombstoneManager)
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 Tombstone getTombstone(String aGUID)
throws DIException
TombstoneManagerMBean
getTombstone in interface TombstoneManagerMBeanaGUID - Tombstone GUID.
DIException - if an error occurs while getting the Tombstone object.
public Tombstone[] getAssemblyLineTombstones(String aAssemblyLineName,
String aConfigID)
throws DIException
TombstoneManagerMBean
getAssemblyLineTombstones in interface TombstoneManagerMBeanaAssemblyLineName - The name of the AssemblyLine.aConfigID - The name of the AssmeblyLine's configuration.
DIException - if an error occurs while getting the Tombstone objects.
public Tombstone[] getAssemblyLineTombstones(String aAssemblyLineName,
String aConfigID,
int aRecentNumberOfTombstones)
throws DIException
TombstoneManagerMBean
getAssemblyLineTombstones in interface TombstoneManagerMBeanaAssemblyLineName - The name of the AssemblyLine.aConfigID - The name of the AssmeblyLine's configuration.aRecentNumberOfTombstones - The recent n number of tombsones to be fetched.
DIException
public Tombstone[] getAssemblyLineTombstones(String aAssemblyLineName,
String aConfigID,
Date aStartTime,
Date aEndTime)
throws DIException
TombstoneManagerMBean
getAssemblyLineTombstones in interface TombstoneManagerMBeanaAssemblyLineName - The name of the AssemblyLine.aConfigID - The name of the AssmeblyLine's configuration.aStartTime - peroid start time.aEndTime - period end time.
DIException - if an error occurs while getting the Tombstone objects for the specified AssemblyLine.
public Tombstone[] getEventHandlerTombstones(String aEventHandlerName,
String aConfigID)
throws DIException
TombstoneManagerMBean
getEventHandlerTombstones in interface TombstoneManagerMBeanaEventHandlerName - The name of the Eventhandler.aConfigID - The name of the EventHandler's configuration.
DIException - if an error occurs while getting the Tombstone objects for the specified EventHandler.
public Tombstone[] getEventHandlerTombstones(String aEventHandlerName,
String aConfigID,
Date aStartTime,
Date aEndTime)
throws DIException
TombstoneManagerMBean
getEventHandlerTombstones in interface TombstoneManagerMBeanaEventHandlerName - The name of the Eventhandler.aConfigID - The name of the EventHandler's configuration.aStartTime - peroid start time.aEndTime - period end time.
DIException - if an error occurs while getting the Tombstone objects for the specified EventHandler.
public Tombstone[] getConfigInstanceTombstones(String aConfigID)
throws DIException
TombstoneManagerMBean
getConfigInstanceTombstones in interface TombstoneManagerMBeanaConfigID - The configuration name.
DIException - if an error occurs while getting the Tombstone objects for the specified Config Instance.
public Tombstone[] getConfigInstanceTombstones(String aConfigID,
Date aStartTime,
Date aEndTime)
throws DIException
TombstoneManagerMBean
getConfigInstanceTombstones in interface TombstoneManagerMBeanaConfigID - The configuration name.aStartTime - peroid start time.aEndTime - period end time.
DIException - if an error occurs while getting the Tombstone objects for the specified Config Instance.
public Tombstone[] getTombstones(Date aStartTime,
Date aEndTime)
throws DIException
TombstoneManagerMBean
getTombstones in interface TombstoneManagerMBeanaStartTime - peroid start time.aEndTime - period end time.
DIException - if an error occurs while getting the Tombstone objects for the specified interval.
public int deleteTombstones(int aDays)
throws DIException
TombstoneManagerMBean
deleteTombstones in interface TombstoneManagerMBeanaDays - Number of days.
DIException - if an error occurs while deleting Tombstone records.
public int keepMostRecentTombstones(int aMostResentToKeep)
throws DIException
TombstoneManagerMBean
keepMostRecentTombstones in interface TombstoneManagerMBeanaMostResentToKeep - number of most recent tombstones to keep.
DIException - if an error occurs while deleting Tombstone records.
public int deleteALTombstones(String aAssemblyLineName,
String aConfigID)
throws DIException
TombstoneManagerMBean
deleteALTombstones in interface TombstoneManagerMBeanaAssemblyLineName - The AssemblyLine name.aConfigID - The AssemblyLine's configuration name.
DIException - if an error occurs while deleting Tombstone records.
public int deleteALTombstones(String aAssemblyLineName,
String aConfigID,
int aDays)
throws DIException
TombstoneManagerMBean
deleteALTombstones in interface TombstoneManagerMBeanaAssemblyLineName - The AssemblyLine name.aConfigID - The AssemblyLine's configuration name.aDays - Number of days.
DIException - if an error occurs while deleting Tombstone records.
public int keepMostRecentALTombstones(String aAssemblyLineName,
String aConfigID,
int aMostResentToKeep)
throws DIException
TombstoneManagerMBean
keepMostRecentALTombstones in interface TombstoneManagerMBeanaAssemblyLineName - The AssemblyLine name.aConfigID - The AssemblyLine's configuration name.aMostResentToKeep - Number of most recent tombstones to keep.
DIException - if an error occurs while deleting Tombstone records.
public int deleteEHTombstones(String aEventHandlerName,
String aConfigID)
throws DIException
TombstoneManagerMBean
deleteEHTombstones in interface TombstoneManagerMBeanaEventHandlerName - The EventHandler name.aConfigID - The EventHandler's configuration name.
DIException - if an error occurs while deleting Tombstone records.
public int deleteEHTombstones(String aEventHandlerName,
String aConfigID,
int aDays)
throws DIException
TombstoneManagerMBean
deleteEHTombstones in interface TombstoneManagerMBeanaEventHandlerName - The EventHandler name.aConfigID - The EventHandler's configuration name.aDays - number of days.
DIException - if an error occurs while deleting Tombstone records.
public int keepMostRecentEHTombstones(String aEventHandlerName,
String aConfigID,
int aMostResentToKeep)
throws DIException
TombstoneManagerMBean
keepMostRecentEHTombstones in interface TombstoneManagerMBeanaEventHandlerName - The EventHandler's name.aConfigID - The EventHandler's configuration name.aMostResentToKeep - Number of most recent tombstones to keep.
DIException - if an error occurs while deleting Tombstone records.
public int deleteCITombstones(String aConfigID)
throws DIException
TombstoneManagerMBean
deleteCITombstones in interface TombstoneManagerMBeanaConfigID - Configuration name.
DIException - if an error occurs while deleting Tombstone records.
public int deleteCITombstones(String aConfigID,
int aDays)
throws DIException
TombstoneManagerMBean
deleteCITombstones in interface TombstoneManagerMBeanaConfigID - Configuration name.aDays - Number of days.
DIException - if an error occurs while deleting Tombstone records.
public int keepMostRecentCITombstones(String aConfigID,
int aMostResentToKeep)
throws DIException
TombstoneManagerMBean
keepMostRecentCITombstones in interface TombstoneManagerMBeanaConfigID - Configuration name.aMostResentToKeep - Number of most recent tombstones to keep.
DIException - if an error occurs while deleting Tombstone records.
public boolean deleteTombstone(String aGUID)
throws DIException
TombstoneManagerMBean
deleteTombstone in interface TombstoneManagerMBeanaGUID - Tombstone GUID.
DIException - if an error occurs while deleting Tombstone record.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||