public class Syncro extends ReentrantLock implements AutoCloseable
Modifier and Type | Method and Description |
---|---|
void |
close() |
Syncro |
open() |
getHoldCount, getOwner, getQueuedThreads, getQueueLength, getWaitingThreads, getWaitQueueLength, hasQueuedThread, hasQueuedThreads, hasWaiters, isFair, isHeldByCurrentThread, isLocked, lock, lockInterruptibly, newCondition, toString, tryLock, tryLock, unlock
public Syncro open()
public void close()
close
in interface AutoCloseable
Copyright © 2019 The Apache Software Foundation. All rights reserved.