PhasedLatch

sealed abstract
Companion
object
class Object
trait Matchable
class Any

Value members

Abstract methods

@throws(scala.Predef.classOf[scala.InterruptedException])
def awaitPhase(phase: Int): IO[Unit]

Await for the specified phase.

Await for the specified phase.

@throws(scala.Predef.classOf[scala.InterruptedException])
def awaitPhaseFor(phase: Int, period: Long, unit: TimeUnit): IO[Boolean]

Await the specified phase for the specified period.

Await the specified phase for the specified period.

def currentPhase: IO[Int]
def release(): IO[Unit]

Release the current phase.

Release the current phase.

Concrete methods

@throws(scala.Predef.classOf[scala.InterruptedException])
final
def await(): IO[Unit]

Await the current phase.

Await the current phase.

@throws(scala.Predef.classOf[scala.InterruptedException])
final
def awaitFor(time: Long, unit: TimeUnit): IO[Boolean]

Await the current phase for the specified period.

Await the current phase for the specified period.