public final class LockOperation
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
| static LockOperation | GETGet the lock defined by the values of the mode and obj fields, for
    the specified locker. | 
| static LockOperation | GET_TIMEOUTIdentical to LockOperation GET except that the value in the timeout
    field overrides any previously specified timeout value for this
    lock. | 
| static LockOperation | PUTThe lock to which the lock field refers is released. | 
| static LockOperation | PUT_ALLAll locks held by the specified locker are released. | 
| static LockOperation | PUT_OBJAll locks held on obj are released. | 
| static LockOperation | TIMEOUTCause the specified locker to timeout immediately. | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.String | toString() | 
public static final LockOperation GET
Environment.lockVector, if the lock field is non-null, a reference to the
    acquired lock is stored there.  (This reference is invalidated by
    any call to Environment.lockVector or Environment.putLock that releases the lock.)public static final LockOperation GET_TIMEOUT
public static final LockOperation PUT
public static final LockOperation PUT_ALL
Environment.lockVector
    which appear before the PUT_ALL operation are released; those
    acquired in operations appearing after the PUT_ALL operation are not
    released.public static final LockOperation PUT_OBJ
Environment.lockVector
    that appear before the PUT_OBJ operation operation are released;
    those acquired in operations appearing after the PUT_OBJ operation
    are not released.public static final LockOperation TIMEOUT
Copyright (c) 2004,2014 Oracle. All rights reserved.