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 March 29 2013. | Portions Copyright 1997-2013 Sun Microsystems, Inc. All rights reserved.