public static enum VarHandle.AccessMode extends Enum<VarHandle.AccessMode>
| Enum Constant and Description |
|---|
addAndGet
The access mode whose access is specified by the corresponding
method
VarHandle.addAndGet |
compareAndExchangeAcquire
The access mode whose access is specified by the corresponding
method
VarHandle.compareAndExchangeAcquire |
compareAndExchangeRelease
The access mode whose access is specified by the corresponding
method
VarHandle.compareAndExchangeRelease |
compareAndExchangeVolatile
The access mode whose access is specified by the corresponding
method
VarHandle.compareAndExchangeVolatile |
compareAndSet
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 |
getAcquire
The access mode whose access is specified by the corresponding
method
VarHandle.getAcquire |
getAndAdd
The access mode whose access is specified by the corresponding
method
VarHandle.getAndAdd |
getAndSet
The access mode whose access is specified by the corresponding
method
VarHandle.getAndSet |
getOpaque
The access mode whose access is specified by the corresponding
method
VarHandle.getOpaque |
getVolatile
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 |
setOpaque
The access mode whose access is specified by the corresponding
method
VarHandle.setOpaque |
setRelease
The access mode whose access is specified by the corresponding
method
VarHandle.setRelease |
setVolatile
The access mode whose access is specified by the corresponding
method
VarHandle.setVolatile |
weakCompareAndSet
The access mode whose access is specified by the corresponding
method
VarHandle.weakCompareAndSet |
weakCompareAndSetAcquire
The access mode whose access is specified by the corresponding
method
VarHandle.weakCompareAndSetAcquire |
weakCompareAndSetRelease
The access mode whose access is specified by the corresponding
method
VarHandle.weakCompareAndSetRelease |
| Modifier and Type | Method and Description |
|---|---|
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 addAndGet
VarHandle.addAndGetpublic static final VarHandle.AccessMode compareAndExchangeAcquire
VarHandle.compareAndExchangeAcquirepublic static final VarHandle.AccessMode compareAndExchangeRelease
VarHandle.compareAndExchangeReleasepublic static final VarHandle.AccessMode compareAndExchangeVolatile
VarHandle.compareAndExchangeVolatilepublic static final VarHandle.AccessMode compareAndSet
VarHandle.compareAndSetpublic static final VarHandle.AccessMode get
VarHandle.getpublic static final VarHandle.AccessMode getAcquire
VarHandle.getAcquirepublic static final VarHandle.AccessMode getAndAdd
VarHandle.getAndAddpublic static final VarHandle.AccessMode getAndSet
VarHandle.getAndSetpublic static final VarHandle.AccessMode getOpaque
VarHandle.getOpaquepublic static final VarHandle.AccessMode getVolatile
VarHandle.getVolatilepublic static final VarHandle.AccessMode set
VarHandle.setpublic static final VarHandle.AccessMode setOpaque
VarHandle.setOpaquepublic static final VarHandle.AccessMode setRelease
VarHandle.setReleasepublic static final VarHandle.AccessMode setVolatile
VarHandle.setVolatilepublic static final VarHandle.AccessMode weakCompareAndSet
VarHandle.weakCompareAndSetpublic static final VarHandle.AccessMode weakCompareAndSetAcquire
VarHandle.weakCompareAndSetAcquirepublic static final VarHandle.AccessMode weakCompareAndSetRelease
VarHandle.weakCompareAndSetReleasepublic 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 null 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, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-internal+0-2016-04-14-195246.buildd.src