2026-03-17 13:31:18 -07:00

18 lines
362 B
Java

package com.tridium.util.backport.concurrent.locks;
import com.tridium.util.backport.concurrent.TimeUnit;
public interface Lock {
void lock();
void lockInterruptibly() throws InterruptedException;
Condition newCondition();
boolean tryLock();
boolean tryLock(long j, TimeUnit timeUnit) throws InterruptedException;
void unlock();
}