|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
com.ibm.di.api.remote.impl.TombstoneManagerImpl
public class TombstoneManagerImpl
| Field Summary |
|---|
| Fields inherited from class java.rmi.server.RemoteObject |
|---|
ref |
| Method Summary | |
|---|---|
static TombstoneManagerImpl |
createInstance(TombstoneManager aLocalTombstoneManager,
SessionImpl aSession)
|
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. |
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. |
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 java.rmi.server.UnicastRemoteObject |
|---|
clone, exportObject, exportObject, exportObject, unexportObject |
| Methods inherited from class java.rmi.server.RemoteServer |
|---|
getClientHost, getLog, setLog |
| Methods inherited from class java.rmi.server.RemoteObject |
|---|
equals, getRef, hashCode, toString, toStub |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public Tombstone getTombstone(String aGUID)
throws DIException,
RemoteException
TombstoneManager
getTombstone in interface TombstoneManageraGUID - Tombstone GUID.
DIException - if an error occurs while getting the Tombstone object.
RemoteException - if a communication-related exception occurs.
public Tombstone[] getAssemblyLineTombstones(String aAssemblyLineName,
String aConfigID)
throws DIException,
RemoteException
TombstoneManager
getAssemblyLineTombstones in interface TombstoneManageraAssemblyLineName - The name of the AssemblyLine.aConfigID - The name of the AssmeblyLine's configuration.
DIException - if an error occurs while getting the Tombstone objects.
RemoteException - if a communication-related exception occurs.
public Tombstone[] getAssemblyLineTombstones(String aAssemblyLineName,
String aConfigID,
int aRecentNumberOfTombstones)
throws DIException,
RemoteException
TombstoneManager
getAssemblyLineTombstones in interface TombstoneManageraAssemblyLineName - The name of the AssemblyLine.aConfigID - The name of the AssmeblyLine's configuration.aRecentNumberOfTombstones - The recent n number of tombsones to be returned.
DIException
RemoteException
public Tombstone[] getAssemblyLineTombstones(String aAssemblyLineName,
String aConfigID,
Date aStartTime,
Date aEndTime)
throws DIException,
RemoteException
TombstoneManager
getAssemblyLineTombstones in interface TombstoneManageraAssemblyLineName - 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.
RemoteException - if a communication-related exception occurs.
public Tombstone[] getEventHandlerTombstones(String aEventHandlerName,
String aConfigID)
throws DIException,
RemoteException
TombstoneManager
getEventHandlerTombstones in interface TombstoneManageraEventHandlerName - 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.
RemoteException - if a communication-related exception occurs.
public Tombstone[] getEventHandlerTombstones(String aEventHandlerName,
String aConfigID,
Date aStartTime,
Date aEndTime)
throws DIException,
RemoteException
TombstoneManager
getEventHandlerTombstones in interface TombstoneManageraEventHandlerName - 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.
RemoteException - if a communication-related exception occurs.
public Tombstone[] getConfigInstanceTombstones(String aConfigID)
throws DIException,
RemoteException
TombstoneManager
getConfigInstanceTombstones in interface TombstoneManageraConfigID - The configuration name.
DIException - if an error occurs while getting the Tombstone objects for the specified Config Instance.
RemoteException - if a communication-related exception occurs.
public Tombstone[] getConfigInstanceTombstones(String aConfigID,
Date aStartTime,
Date aEndTime)
throws DIException,
RemoteException
TombstoneManager
getConfigInstanceTombstones in interface TombstoneManageraConfigID - 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.
RemoteException - if a communication-related exception occurs.
public Tombstone[] getTombstones(Date aStartTime,
Date aEndTime)
throws DIException,
RemoteException
TombstoneManager
getTombstones in interface TombstoneManageraStartTime - peroid start time.aEndTime - period end time.
DIException - if an error occurs while getting the Tombstone objects for the specified interval.
RemoteException - if a communication-related exception occurs.
public int deleteTombstones(int aDays)
throws DIException,
RemoteException
TombstoneManager
deleteTombstones in interface TombstoneManageraDays - Number of days.
DIException - if an error occurs while deleting Tombstone records.
RemoteException - if a communication-related exception occurs.
public int keepMostRecentTombstones(int aMostResentToKeep)
throws DIException,
RemoteException
TombstoneManager
keepMostRecentTombstones in interface TombstoneManageraMostResentToKeep - number of most recent tombstones to keep.
DIException - if an error occurs while deleting Tombstone records.
RemoteException - if a communication-related exception occurs.
public int deleteALTombstones(String aAssemblyLineName,
String aConfigID)
throws DIException,
RemoteException
TombstoneManager
deleteALTombstones in interface TombstoneManageraAssemblyLineName - The AssemblyLine name.aConfigID - The AssemblyLine's configuration name.
DIException - if an error occurs while deleting Tombstone records.
RemoteException - if a communication-related exception occurs.
public int deleteALTombstones(String aAssemblyLineName,
String aConfigID,
int aDays)
throws DIException,
RemoteException
TombstoneManager
deleteALTombstones in interface TombstoneManageraAssemblyLineName - The AssemblyLine name.aConfigID - The AssemblyLine's configuration name.aDays - Number of days.
DIException - if an error occurs while deleting Tombstone records.
RemoteException - if a communication-related exception occurs.
public int keepMostRecentALTombstones(String aAssemblyLineName,
String aConfigID,
int aMostResentToKeep)
throws DIException,
RemoteException
TombstoneManager
keepMostRecentALTombstones in interface TombstoneManageraAssemblyLineName - 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.
RemoteException - if a communication-related exception occurs.
public int deleteEHTombstones(String aEventHandlerName,
String aConfigID)
throws DIException,
RemoteException
TombstoneManager
deleteEHTombstones in interface TombstoneManageraEventHandlerName - The EventHandler name.aConfigID - The EventHandler's configuration name.
DIException - if an error occurs while deleting Tombstone records.
RemoteException - if a communication-related exception occurs.
public int deleteEHTombstones(String aEventHandlerName,
String aConfigID,
int aDays)
throws DIException,
RemoteException
TombstoneManager
deleteEHTombstones in interface TombstoneManageraEventHandlerName - The EventHandler name.aConfigID - The EventHandler's configuration name.aDays - number of days.
DIException - if an error occurs while deleting Tombstone records.
RemoteException - if a communication-related exception occurs.
public int keepMostRecentEHTombstones(String aEventHandlerName,
String aConfigID,
int aMostResentToKeep)
throws DIException,
RemoteException
TombstoneManager
keepMostRecentEHTombstones in interface TombstoneManageraEventHandlerName - 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.
RemoteException - if a communication-related exception occurs.
public int deleteCITombstones(String aConfigID)
throws DIException,
RemoteException
TombstoneManager
deleteCITombstones in interface TombstoneManageraConfigID - Configuration name.
DIException - if an error occurs while deleting Tombstone records.
RemoteException - if a communication-related exception occurs.
public int deleteCITombstones(String aConfigID,
int aDays)
throws DIException,
RemoteException
TombstoneManager
deleteCITombstones in interface TombstoneManageraConfigID - Configuration name.aDays - Number of days.
DIException - if an error occurs while deleting Tombstone records.
RemoteException - if a communication-related exception occurs.
public int keepMostRecentCITombstones(String aConfigID,
int aMostResentToKeep)
throws DIException,
RemoteException
TombstoneManager
keepMostRecentCITombstones in interface TombstoneManageraConfigID - Configuration name.aMostResentToKeep - Number of most recent tombstones to keep.
DIException - if an error occurs while deleting Tombstone records.
RemoteException - if a communication-related exception occurs.
public boolean deleteTombstone(String aGUID)
throws DIException,
RemoteException
TombstoneManager
deleteTombstone in interface TombstoneManageraGUID - Tombstone GUID.
DIException - if an error occurs while deleting Tombstone record.
RemoteException - if a communication-related exception occurs.
public static TombstoneManagerImpl createInstance(TombstoneManager aLocalTombstoneManager,
SessionImpl aSession)
throws DIException,
RemoteException
DIException
RemoteException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||