Java android.os ConditionVariable fields, constructors, methods, implement or subclass

Example usage for Java android.os ConditionVariable fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.os ConditionVariable.

The text is from its open source code.

Constructor

ConditionVariable(boolean state)
Create the ConditionVariable with the given state.
ConditionVariable()
Create the ConditionVariable in the default closed state.

Method

booleanblock(long timeout)
Block the current thread until the condition is opened or until timeout milliseconds have passed.
voidblock()
Block the current thread until the condition is opened.
voidclose()
Reset the condition to the closed state.
voidopen()
Open the condition, and release all threads that are blocked.