Package | Description |
---|---|
net.grinder.synchronisation |
Synchronisation classes.
|
net.grinder.synchronisation.messages |
Messages used by distributed implementations of the synchronisation classes.
|
Modifier and Type | Method and Description |
---|---|
BarrierIdentity |
BarrierIdentityGenerator.next()
Create a new barrier identity.
|
Modifier and Type | Method and Description |
---|---|
protected Set<BarrierIdentity> |
AbstractBarrierGroups.BarrierGroupImplementation.checkCondition()
Check whether the barrier condition is satisfied.
|
protected Set<BarrierIdentity> |
AbstractBarrierGroups.BarrierGroupImplementation.clearWaiters(Set<BarrierIdentity> waiters)
Clear waiters.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractBarrierGroups.BarrierGroupImplementation.addWaiter(BarrierIdentity barrierIdentity)
Add a waiter.
|
void |
BarrierGroup.addWaiter(BarrierIdentity barrierIdentity)
Add a waiter.
|
void |
AbstractBarrierGroups.BarrierGroupImplementation.cancelWaiter(BarrierIdentity barrierIdentity)
Cancel a waiter.
|
void |
BarrierGroup.cancelWaiter(BarrierIdentity barrierIdentity)
Cancel a waiter.
|
Modifier and Type | Method and Description |
---|---|
void |
BarrierImplementation.awaken(Set<BarrierIdentity> waiters) |
void |
BarrierGroup.Listener.awaken(Set<BarrierIdentity> waiters) |
protected Set<BarrierIdentity> |
AbstractBarrierGroups.BarrierGroupImplementation.clearWaiters(Set<BarrierIdentity> waiters)
Clear waiters.
|
protected void |
AbstractBarrierGroups.BarrierGroupImplementation.fireAwaken(Set<BarrierIdentity> oldWaiters)
Call the
BarrierGroup.Listener.awaken(java.util.Set<net.grinder.synchronisation.messages.BarrierIdentity>) method for all of the
listeners. |
Modifier and Type | Method and Description |
---|---|
BarrierIdentity |
CancelWaiterMessage.getBarrierIdentity()
Identifies the waiter.
|
BarrierIdentity |
AddWaiterMessage.getBarrierIdentity()
Identifies the waiter.
|
BarrierIdentity |
BarrierIdentity.Factory.next()
Create a new barrier identity.
|
Modifier and Type | Method and Description |
---|---|
Set<BarrierIdentity> |
OpenBarrierMessage.getWaiters()
Waiters to wake.
|
Constructor and Description |
---|
AddWaiterMessage(String name,
BarrierIdentity barrierIdentity)
Constructor.
|
CancelWaiterMessage(String name,
BarrierIdentity barrierIdentity)
Constructor.
|
Constructor and Description |
---|
OpenBarrierMessage(String name,
Set<BarrierIdentity> waiters)
Constructor.
|
Copyright © 2000-2014. All Rights Reserved.