net.grinder.synchronisation
Class BarrierIdentityGenerator
java.lang.Object
net.grinder.synchronisation.BarrierIdentityGenerator
- All Implemented Interfaces:
- BarrierIdentity.Factory
public final class BarrierIdentityGenerator
- extends Object
- implements BarrierIdentity.Factory
Identity generator.
- Author:
- Philip Aston
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BarrierIdentityGenerator
public BarrierIdentityGenerator(Serializable scope)
- Constructor.
- Parameters:
scope - The scope of the generated identities.
next
public BarrierIdentity next()
- Create a new barrier identity.
- Specified by:
next in interface BarrierIdentity.Factory
- Returns:
- The new barrier identity.
Copyright © 2000-2013. All Rights Reserved.