Scala Library
|
|
scala/concurrent/ManagedBlocker.scala
]
trait
ManagedBlocker
extends
AnyRefManagedBlocker
trait...Method Summary | |
abstract def
|
block
: Boolean
Possibly blocks the current thread, for example waiting for
a lock or condition.
|
abstract def
|
isReleasable
: Boolean
Returns true if blocking is unnecessary.
|
Methods inherited from AnyRef | |
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Method Details |
abstract
def
block : Boolean
InterruptedException -
if interrupted while waiting (the method is not required to do so, but is allowed to).abstract
def
isReleasable : Boolean
Scala Library
|
|