public class ResourceLock extends Object implements Serializable
Constructor and Description |
---|
ResourceLock()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
gainExclusiveLock()
This method tries to aquire an exclusive lock.
|
void |
gainSharedLock()
This method tries to aquire a shared lock.
|
void |
releaseExclusiveLock()
Releases the exclusive lock.
|
void |
releaseSharedLock()
Release the shared lock.
|
public void gainSharedLock()
public void releaseSharedLock()
public void gainExclusiveLock()
public void releaseExclusiveLock()
Copyright © 2017 JacORB. All rights reserved.