Example usage for Java com.liferay.portal.kernel.concurrent CompeteLatch fields, constructors, methods, implement or subclass
The text is from its open source code.
void | await() This method should only be called by a loser thread. |
boolean | compete() Tells the current thread to join the competition. |
boolean | done() This method should only be called by the winner thread. |