AutoCloseable
AsyncReadWriteLock.ReadLockToken
, AsyncReadWriteLock.WriteLockToken
public static interface AsyncLock.LockToken extends AutoCloseable
releaseLock()
Modifier and Type | Method | Description |
---|---|---|
default void |
close() |
Releases this lock, allowing others to acquire it.
|
void |
releaseLock() |
Releases this lock, allowing others to acquire it.
|
void releaseLock()
default void close()
close
in interface AutoCloseable
Copyright © 2018. All rights reserved.