com.ibm.wsspi.recovery.handler
Interface RecoveryOperation
- public interface RecoveryOperation
RecoveryOperation
interface defines how the events be managed.
Any sub-system leveraging Recovery needs to implement the interface to delete
or replay the event data in the sub-system with request from Recovery.
The implementation needs to be registered.
Field Summary
Modifier and Type | Field and Description |
---|---|
|
COPYRIGHT
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
deleteEvent(java.lang.String eventId,java.util.Properties context)
Delete the specified event.
|
|
replayEvent(java.lang.String eventId,EventData replayData,java.util.Properties context)
Replay the specified event.
|
retrieveEvent(java.lang.String eventId,java.util.Properties context)
Return the detailed information of the event.
|
Field Detail
COPYRIGHT
- static final java.lang.String COPYRIGHT
See Also:
Method Detail
retrieveEvent
- EventData retrieveEvent(java.lang.String eventId,
- java.util.Properties context)
- throws RecoveryException
Return the detailed information of the event.
deleteEvent
- void deleteEvent(java.lang.String eventId,
- java.util.Properties context)
- throws RecoveryException
Delete the specified event.
This operation is triggered from Recovery client (FEM or custom program).
The metadata in Recovery repository and message/record left in sub-system
will be removed in the same transaction.
replayEvent
- void replayEvent(java.lang.String eventId,
- EventData replayData,
- java.util.Properties context)
- throws RecoveryException
Replay the specified event.
The metadata in Recovery repository and event data in sub-system will
be removed in the same transaction.
Parameters:
eventId
- replayData
- modified data, specify null if no modification required context
- Throws: