public class V8Locker extends Object
Modifier and Type | Method and Description |
---|---|
void |
acquire()
Acquire the lock if it's currently not acquired by another
thread.
|
void |
checkThread()
Checks if the locker has access to the current thread.
|
boolean |
hasLock()
Check if the current thread holds this lock.
|
void |
release()
Release the lock if it's currently held by the calling thread.
|
public void acquire()
public void release()
public void checkThread()
public boolean hasLock()
Copyright © 2016. All rights reserved.