Serializable, Comparable<VarHandle.AccessMode>public static enum VarHandle.AccessMode extends Enum<VarHandle.AccessMode>
| Enum Constant | Description |
|---|---|
COMPARE_AND_EXCHANGE |
The access mode whose access is specified by the corresponding
method
VarHandle.compareAndExchange |
COMPARE_AND_EXCHANGE_ACQUIRE |
The access mode whose access is specified by the corresponding
method
VarHandle.compareAndExchangeAcquire |
COMPARE_AND_EXCHANGE_RELEASE |
The access mode whose access is specified by the corresponding
method
VarHandle.compareAndExchangeRelease |
COMPARE_AND_SET |
The access mode whose access is specified by the corresponding
method
VarHandle.compareAndSet |
GET |
The access mode whose access is specified by the corresponding
method
VarHandle.get |
GET_ACQUIRE |
The access mode whose access is specified by the corresponding
method
VarHandle.getAcquire |
GET_AND_ADD |
The access mode whose access is specified by the corresponding
method
VarHandle.getAndAdd |
GET_AND_ADD_ACQUIRE |
The access mode whose access is specified by the corresponding
method
VarHandle.getAndAddAcquire |
GET_AND_ADD_RELEASE |
The access mode whose access is specified by the corresponding
method
VarHandle.getAndAddRelease |
GET_AND_BITWISE_AND |
The access mode whose access is specified by the corresponding
method
VarHandle.getAndBitwiseAnd |
GET_AND_BITWISE_AND_ACQUIRE |
The access mode whose access is specified by the corresponding
method
VarHandle.getAndBitwiseAndAcquire |
GET_AND_BITWISE_AND_RELEASE |
The access mode whose access is specified by the corresponding
method
VarHandle.getAndBitwiseAndRelease |
GET_AND_BITWISE_OR |
The access mode whose access is specified by the corresponding
method
VarHandle.getAndBitwiseOr |
GET_AND_BITWISE_OR_ACQUIRE |
The access mode whose access is specified by the corresponding
method
VarHandle.getAndBitwiseOrAcquire |
GET_AND_BITWISE_OR_RELEASE |
The access mode whose access is specified by the corresponding
method
VarHandle.getAndBitwiseOrRelease |
GET_AND_BITWISE_XOR |
The access mode whose access is specified by the corresponding
method
VarHandle.getAndBitwiseXor |
GET_AND_BITWISE_XOR_ACQUIRE |
The access mode whose access is specified by the corresponding
method
VarHandle.getAndBitwiseXorAcquire |
GET_AND_BITWISE_XOR_RELEASE |
The access mode whose access is specified by the corresponding
method
VarHandle.getAndBitwiseXorRelease |
GET_AND_SET |
The access mode whose access is specified by the corresponding
method
VarHandle.getAndSet |
GET_AND_SET_ACQUIRE |
The access mode whose access is specified by the corresponding
method
VarHandle.getAndSetAcquire |
GET_AND_SET_RELEASE |
The access mode whose access is specified by the corresponding
method
VarHandle.getAndSetRelease |
GET_OPAQUE |
The access mode whose access is specified by the corresponding
method
VarHandle.getOpaque |
GET_VOLATILE |
The access mode whose access is specified by the corresponding
method
VarHandle.getVolatile |
SET |
The access mode whose access is specified by the corresponding
method
VarHandle.set |
SET_OPAQUE |
The access mode whose access is specified by the corresponding
method
VarHandle.setOpaque |
SET_RELEASE |
The access mode whose access is specified by the corresponding
method
VarHandle.setRelease |
SET_VOLATILE |
The access mode whose access is specified by the corresponding
method
VarHandle.setVolatile |
WEAK_COMPARE_AND_SET |
The access mode whose access is specified by the corresponding
method
VarHandle.weakCompareAndSet |
WEAK_COMPARE_AND_SET_ACQUIRE |
The access mode whose access is specified by the corresponding
method
VarHandle.weakCompareAndSetAcquire |
WEAK_COMPARE_AND_SET_PLAIN |
The access mode whose access is specified by the corresponding
method
VarHandle.weakCompareAndSetPlain |
WEAK_COMPARE_AND_SET_RELEASE |
The access mode whose access is specified by the corresponding
method
VarHandle.weakCompareAndSetRelease |
| Modifier and Type | Method | Description |
|---|---|---|
String |
methodName() |
Returns the
VarHandle signature-polymorphic method name
associated with this AccessMode value |
static VarHandle.AccessMode |
valueFromMethodName(String methodName) |
Returns the
AccessMode value associated with the specified
VarHandle signature-polymorphic method name. |
static VarHandle.AccessMode |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static VarHandle.AccessMode[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VarHandle.AccessMode GET
VarHandle.getpublic static final VarHandle.AccessMode SET
VarHandle.setpublic static final VarHandle.AccessMode GET_VOLATILE
VarHandle.getVolatilepublic static final VarHandle.AccessMode SET_VOLATILE
VarHandle.setVolatilepublic static final VarHandle.AccessMode GET_ACQUIRE
VarHandle.getAcquirepublic static final VarHandle.AccessMode SET_RELEASE
VarHandle.setReleasepublic static final VarHandle.AccessMode GET_OPAQUE
VarHandle.getOpaquepublic static final VarHandle.AccessMode SET_OPAQUE
VarHandle.setOpaquepublic static final VarHandle.AccessMode COMPARE_AND_SET
VarHandle.compareAndSetpublic static final VarHandle.AccessMode COMPARE_AND_EXCHANGE
VarHandle.compareAndExchangepublic static final VarHandle.AccessMode COMPARE_AND_EXCHANGE_ACQUIRE
VarHandle.compareAndExchangeAcquirepublic static final VarHandle.AccessMode COMPARE_AND_EXCHANGE_RELEASE
VarHandle.compareAndExchangeReleasepublic static final VarHandle.AccessMode WEAK_COMPARE_AND_SET_PLAIN
VarHandle.weakCompareAndSetPlainpublic static final VarHandle.AccessMode WEAK_COMPARE_AND_SET
VarHandle.weakCompareAndSetpublic static final VarHandle.AccessMode WEAK_COMPARE_AND_SET_ACQUIRE
VarHandle.weakCompareAndSetAcquirepublic static final VarHandle.AccessMode WEAK_COMPARE_AND_SET_RELEASE
VarHandle.weakCompareAndSetReleasepublic static final VarHandle.AccessMode GET_AND_SET
VarHandle.getAndSetpublic static final VarHandle.AccessMode GET_AND_SET_ACQUIRE
VarHandle.getAndSetAcquirepublic static final VarHandle.AccessMode GET_AND_SET_RELEASE
VarHandle.getAndSetReleasepublic static final VarHandle.AccessMode GET_AND_ADD
VarHandle.getAndAddpublic static final VarHandle.AccessMode GET_AND_ADD_ACQUIRE
VarHandle.getAndAddAcquirepublic static final VarHandle.AccessMode GET_AND_ADD_RELEASE
VarHandle.getAndAddReleasepublic static final VarHandle.AccessMode GET_AND_BITWISE_OR
VarHandle.getAndBitwiseOrpublic static final VarHandle.AccessMode GET_AND_BITWISE_OR_RELEASE
VarHandle.getAndBitwiseOrReleasepublic static final VarHandle.AccessMode GET_AND_BITWISE_OR_ACQUIRE
VarHandle.getAndBitwiseOrAcquirepublic static final VarHandle.AccessMode GET_AND_BITWISE_AND
VarHandle.getAndBitwiseAndpublic static final VarHandle.AccessMode GET_AND_BITWISE_AND_RELEASE
VarHandle.getAndBitwiseAndReleasepublic static final VarHandle.AccessMode GET_AND_BITWISE_AND_ACQUIRE
VarHandle.getAndBitwiseAndAcquirepublic static final VarHandle.AccessMode GET_AND_BITWISE_XOR
VarHandle.getAndBitwiseXorpublic static final VarHandle.AccessMode GET_AND_BITWISE_XOR_RELEASE
VarHandle.getAndBitwiseXorReleasepublic static final VarHandle.AccessMode GET_AND_BITWISE_XOR_ACQUIRE
VarHandle.getAndBitwiseXorAcquirepublic static VarHandle.AccessMode[] values()
for (VarHandle.AccessMode c : VarHandle.AccessMode.values()) System.out.println(c);
public static VarHandle.AccessMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String methodName()
VarHandle signature-polymorphic method name
associated with this AccessMode valuevalueFromMethodName(java.lang.String)public static VarHandle.AccessMode valueFromMethodName(String methodName)
AccessMode value associated with the specified
VarHandle signature-polymorphic method name.methodName - the signature-polymorphic method nameAccessMode valueIllegalArgumentException - if there is no AccessMode
value associated with method name (indicating the method
name does not correspond to a VarHandle
signature-polymorphic method name).methodName Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Debian+0-9b155-1