public static final class Mutex.Privileged extends Object
try {
enterXAccess ();
yourCustomMethod ();
} finally {
exitXAccess ();
}
can be used.
You must, however, control the related Mutex, i.e. you must be creator of
the Mutex.| Constructor and Description |
|---|
Mutex.Privileged() |
| Modifier and Type | Method and Description |
|---|---|
void |
enterReadAccess() |
void |
enterWriteAccess() |
void |
exitReadAccess() |
void |
exitWriteAccess() |
Built on November 8 2014. | Portions Copyright 1997-2014 Oracle. All rights reserved.