public interface UserCoordinatorService
Modifier and Type | Method and Description |
---|---|
Outcome |
coordinate(CompletionStatus cs)
If the application requires and if the coordination protocol supports
it, then this method can be used to execute a coordination protocol on
the currently enlisted participants at any time prior to the termination
of the coordination scope.
|
CoordinatorId |
identifier() |
Qualifier[] |
qualifiers() |
Status |
status() |
Status status() throws SystemException
SystemException
- Thrown if any error occurs.Status
Outcome coordinate(CompletionStatus cs) throws WrongStateException, ProtocolViolationException, NoCoordinatorException, SystemException
cs
- The completion status to use when determining
how to execute the protocol.WrongStateException
- Thrown if the coordinator is in a state
the does not allow coordination to occur.ProtocolViolationException
- Thrown if the protocol is violated
in some manner during execution.SystemException
- Thrown if any other error occurs.NoCoordinatorException
Qualifier[] qualifiers() throws NoCoordinatorException, SystemException
SystemException
- Thrown if any error occurs.NoCoordinatorException
CoordinatorId identifier() throws NoCoordinatorException, SystemException
SystemException
- Thrown if any error occurs.NoCoordinatorException
Copyright © 2021 JBoss by Red Hat. All rights reserved.