public interface LRAParticipant extends Serializable
LRAManagement.joinLRA(LRAParticipant, URL, Long,
java.util.concurrent.TimeUnit)| Modifier and Type | Method and Description |
|---|---|
Future<Void> |
compensateWork(URL lraId)
Notifies the participant that the LRA is cancelling
|
Future<Void> |
completeWork(URL lraId)
Notifies the participant that the LRA is closing
|
Future<Void> completeWork(URL lraId) throws javax.ws.rs.NotFoundException, TerminationException
lraId - the LRA that is closingjavax.ws.rs.NotFoundException - the participant does not know about this LRATerminationException - the participant was unable to complete and will
never be able to do soFuture<Void> compensateWork(URL lraId) throws javax.ws.rs.NotFoundException, TerminationException
lraId - the LRA that is closingjavax.ws.rs.NotFoundException - the participant does not know about this LRATerminationException - the participant was unable to complete and
will never be able to do soCopyright © 2018 Eclipse Foundation. All rights reserved.