com.atlassian.bamboo.concurrent
Class Phaser
java.lang.Object
com.atlassian.bamboo.concurrent.Phaser
@ExperimentalApi
public class Phaser
- extends Object
A quick and dirty implementation of Phaser. Shouldn't be used in business code unless proper UTs are written.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Phaser
public Phaser()
Phaser
public Phaser(int parties)
register
public void register()
arrive
public int arrive()
arriveAndAwaitAdvance
public void arriveAndAwaitAdvance()
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.