Package | Description |
---|---|
org.osgi.service.coordinator |
Coordinator Package Version 1.0.
|
Modifier and Type | Method and Description |
---|---|
Coordination |
Coordinator.begin(String name,
long timeMillis)
Create a new Coordination and make it the
current
Coordination . |
Coordination |
Coordinator.create(String name,
long timeMillis)
Create a new Coordination.
|
Coordination |
Coordinator.getCoordination(long id)
Returns the Coordination with the specified id.
|
Coordination |
Coordination.getEnclosingCoordination()
Returns the Coordination enclosing this Coordination if this Coordination
is on the thread local Coordination stack.
|
Coordination |
Coordinator.peek()
Returns the current Coordination.
|
Coordination |
Coordinator.pop()
Remove the current Coordination from the thread local Coordination stack.
|
Coordination |
Coordination.push()
Push this Coordination object onto the thread local Coordination stack to
make it the
current Coordination . |
Modifier and Type | Method and Description |
---|---|
Collection<Coordination> |
Coordinator.getCoordinations()
Returns a snapshot of all active Coordinations.
|
Modifier and Type | Method and Description |
---|---|
void |
Participant.ended(Coordination coordination)
Notification that a Coordination has terminated
normally . |
void |
Participant.failed(Coordination coordination)
Notification that a Coordination has terminated as a
failure . |
Constructor and Description |
---|
CoordinationException(String message,
Coordination coordination,
int type)
Create a new Coordination Exception.
|
CoordinationException(String message,
Coordination coordination,
int type,
Throwable cause)
Create a new Coordination Exception with a cause.
|
Copyright © Contributors to the Eclipse Foundation Licensed under the Eclipse Foundation Specification License – v1.0