Java com.liferay.portal.kernel.concurrent CompeteLatch fields, constructors, methods, implement or subclass

Example usage for Java com.liferay.portal.kernel.concurrent CompeteLatch fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.liferay.portal.kernel.concurrent CompeteLatch.

The text is from its open source code.

Constructor

Method

voidawait()
This method should only be called by a loser thread.
booleancompete()
Tells the current thread to join the competition.
booleandone()
This method should only be called by the winner thread.