org.python.modules._threading.ConditionSupportingLock Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jython-slim Show documentation
Show all versions of jython-slim Show documentation
Jython is an implementation of the high-level, dynamic, object-oriented
language Python written in 100% Pure Java, and seamlessly integrated with
the Java platform. It thus allows you to run Python on any Java platform.
package org.python.modules._threading;
/**
* The protocol needed for a Lock object to work with a Condition
* object.
*/
interface ConditionSupportingLock
{
java.util.concurrent.locks.Lock getLock();
boolean acquire();
boolean acquire(boolean blocking);
void release();
boolean _is_owned();
int getWaitQueueLength(java.util.concurrent.locks.Condition condition);
}