class LockConflict
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) static LockConflict |
ALLOW |
(package private) static LockConflict |
BLOCK |
(package private) static LockConflict |
RESTART |
Modifier and Type | Method and Description |
---|---|
(package private) boolean |
getAllowed()
This method is called first to determine whether the locks is allowed.
|
(package private) boolean |
getRestart()
This method is called when getAllowed returns false to determine whether
an exception should be thrown to cause the requester's operation to be
restarted.
|
static final LockConflict ALLOW
static final LockConflict BLOCK
static final LockConflict RESTART
boolean getAllowed()
boolean getRestart()
Copyright (c) 2004-2012 Oracle. All rights reserved.