public class ReleasableLock extends Object implements Releasable
Constructor and Description |
---|
ReleasableLock(Lock lock) |
Modifier and Type | Method and Description |
---|---|
ReleasableLock |
acquire() |
void |
close() |
Boolean |
isHeldByCurrentThread() |
public ReleasableLock(Lock lock)
public void close()
close
in interface AutoCloseable
close
in interface Releasable
public ReleasableLock acquire() throws EngineException
EngineException
public Boolean isHeldByCurrentThread()
Copyright © 2009–2016. All rights reserved.