Package | Description |
---|---|
org.osgi.service.coordinator |
Coordinator Package Version 1.0.
|
Modifier and Type | Method and Description |
---|---|
Coordination |
Coordinator.begin(java.lang.String name,
long timeMillis)
Create a new Coordination and make it the
current
Coordination . |
Coordination |
Coordinator.create(java.lang.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 |
---|---|
java.util.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(java.lang.String message,
Coordination coordination,
int type)
Create a new Coordination Exception.
|
CoordinationException(java.lang.String message,
Coordination coordination,
int type,
java.lang.Throwable cause)
Create a new Coordination Exception with a cause.
|
Copyright © OSGi Alliance (2000, 2018). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0