AccessMode
class AccessMode
| kotlin.Any | ||
| ↳ | kotlin.Enum<java.lang.invoke.VarHandle.AccessMode> | |
| ↳ | java.lang.invoke.VarHandle.AccessMode | |
The set of access modes that specify how a variable, referenced by a VarHandle, is accessed.
Summary
| Enum values | |
|---|---|
| The access mode whose access is specified by the corresponding method  | |
| The access mode whose access is specified by the corresponding method  | |
| The access mode whose access is specified by the corresponding method  | |
| The access mode whose access is specified by the corresponding method  | |
| The access mode whose access is specified by the corresponding method  | |
| The access mode whose access is specified by the corresponding method  | |
| The access mode whose access is specified by the corresponding method  | |
| The access mode whose access is specified by the corresponding method  | |
| The access mode whose access is specified by the corresponding method  | |
| The access mode whose access is specified by the corresponding method  | |
| The access mode whose access is specified by the corresponding method  | |
| The access mode whose access is specified by the corresponding method  | |
| The access mode whose access is specified by the corresponding method  | |
| The access mode whose access is specified by the corresponding method  | |
| The access mode whose access is specified by the corresponding method  | |
| The access mode whose access is specified by the corresponding method  | |
| The access mode whose access is specified by the corresponding method  | |
| The access mode whose access is specified by the corresponding method  | |
| The access mode whose access is specified by the corresponding method  | |
| The access mode whose access is specified by the corresponding method  | |
| The access mode whose access is specified by the corresponding method  | |
| The access mode whose access is specified by the corresponding method  | |
| The access mode whose access is specified by the corresponding method  | |
| The access mode whose access is specified by the corresponding method  | |
| The access mode whose access is specified by the corresponding method  | |
| The access mode whose access is specified by the corresponding method  | |
| The access mode whose access is specified by the corresponding method  | |
| The access mode whose access is specified by the corresponding method  | |
| The access mode whose access is specified by the corresponding method  | |
| The access mode whose access is specified by the corresponding method  | |
| The access mode whose access is specified by the corresponding method  | |
| Public methods | |
|---|---|
| String! | Returns the  | 
| static VarHandle.AccessMode! | valueFromMethodName(methodName: String!)Returns the  | 
Enum values
COMPARE_AND_EXCHANGE
enum val COMPARE_AND_EXCHANGE : VarHandle.AccessMode
The access mode whose access is specified by the corresponding method VarHandle.compareAndExchange
COMPARE_AND_EXCHANGE_ACQUIRE
enum val COMPARE_AND_EXCHANGE_ACQUIRE : VarHandle.AccessMode
The access mode whose access is specified by the corresponding method VarHandle.compareAndExchangeAcquire
COMPARE_AND_EXCHANGE_RELEASE
enum val COMPARE_AND_EXCHANGE_RELEASE : VarHandle.AccessMode
The access mode whose access is specified by the corresponding method VarHandle.compareAndExchangeRelease
COMPARE_AND_SET
enum val COMPARE_AND_SET : VarHandle.AccessMode
The access mode whose access is specified by the corresponding method VarHandle.compareAndSet
GET
enum val GET : VarHandle.AccessMode
The access mode whose access is specified by the corresponding method VarHandle.get
GET_ACQUIRE
enum val GET_ACQUIRE : VarHandle.AccessMode
The access mode whose access is specified by the corresponding method VarHandle.getAcquire
GET_AND_ADD
enum val GET_AND_ADD : VarHandle.AccessMode
The access mode whose access is specified by the corresponding method VarHandle.getAndAdd
GET_AND_ADD_ACQUIRE
enum val GET_AND_ADD_ACQUIRE : VarHandle.AccessMode
The access mode whose access is specified by the corresponding method VarHandle.getAndAddAcquire
GET_AND_ADD_RELEASE
enum val GET_AND_ADD_RELEASE : VarHandle.AccessMode
The access mode whose access is specified by the corresponding method VarHandle.getAndAddRelease
GET_AND_BITWISE_AND
enum val GET_AND_BITWISE_AND : VarHandle.AccessMode
The access mode whose access is specified by the corresponding method VarHandle.getAndBitwiseAnd
GET_AND_BITWISE_AND_ACQUIRE
enum val GET_AND_BITWISE_AND_ACQUIRE : VarHandle.AccessMode
The access mode whose access is specified by the corresponding method VarHandle.getAndBitwiseAndAcquire
GET_AND_BITWISE_AND_RELEASE
enum val GET_AND_BITWISE_AND_RELEASE : VarHandle.AccessMode
The access mode whose access is specified by the corresponding method VarHandle.getAndBitwiseAndRelease
GET_AND_BITWISE_OR
enum val GET_AND_BITWISE_OR : VarHandle.AccessMode
The access mode whose access is specified by the corresponding method VarHandle.getAndBitwiseOr
GET_AND_BITWISE_OR_ACQUIRE
enum val GET_AND_BITWISE_OR_ACQUIRE : VarHandle.AccessMode
The access mode whose access is specified by the corresponding method VarHandle.getAndBitwiseOrAcquire
GET_AND_BITWISE_OR_RELEASE
enum val GET_AND_BITWISE_OR_RELEASE : VarHandle.AccessMode
The access mode whose access is specified by the corresponding method VarHandle.getAndBitwiseOrRelease
GET_AND_BITWISE_XOR
enum val GET_AND_BITWISE_XOR : VarHandle.AccessMode
The access mode whose access is specified by the corresponding method VarHandle.getAndBitwiseXor
GET_AND_BITWISE_XOR_ACQUIRE
enum val GET_AND_BITWISE_XOR_ACQUIRE : VarHandle.AccessMode
The access mode whose access is specified by the corresponding method VarHandle.getAndBitwiseXorAcquire
GET_AND_BITWISE_XOR_RELEASE
enum val GET_AND_BITWISE_XOR_RELEASE : VarHandle.AccessMode
The access mode whose access is specified by the corresponding method VarHandle.getAndBitwiseXorRelease
GET_AND_SET
enum val GET_AND_SET : VarHandle.AccessMode
The access mode whose access is specified by the corresponding method VarHandle.getAndSet
GET_AND_SET_ACQUIRE
enum val GET_AND_SET_ACQUIRE : VarHandle.AccessMode
The access mode whose access is specified by the corresponding method VarHandle.getAndSetAcquire
GET_AND_SET_RELEASE
enum val GET_AND_SET_RELEASE : VarHandle.AccessMode
The access mode whose access is specified by the corresponding method VarHandle.getAndSetRelease
GET_OPAQUE
enum val GET_OPAQUE : VarHandle.AccessMode
The access mode whose access is specified by the corresponding method VarHandle.getOpaque
GET_VOLATILE
enum val GET_VOLATILE : VarHandle.AccessMode
The access mode whose access is specified by the corresponding method VarHandle.getVolatile
SET
enum val SET : VarHandle.AccessMode
The access mode whose access is specified by the corresponding method VarHandle.set
SET_OPAQUE
enum val SET_OPAQUE : VarHandle.AccessMode
The access mode whose access is specified by the corresponding method VarHandle.setOpaque
SET_RELEASE
enum val SET_RELEASE : VarHandle.AccessMode
The access mode whose access is specified by the corresponding method VarHandle.setRelease
SET_VOLATILE
enum val SET_VOLATILE : VarHandle.AccessMode
The access mode whose access is specified by the corresponding method VarHandle.setVolatile
WEAK_COMPARE_AND_SET
enum val WEAK_COMPARE_AND_SET : VarHandle.AccessMode
The access mode whose access is specified by the corresponding method VarHandle.weakCompareAndSet
WEAK_COMPARE_AND_SET_ACQUIRE
enum val WEAK_COMPARE_AND_SET_ACQUIRE : VarHandle.AccessMode
The access mode whose access is specified by the corresponding method VarHandle.weakCompareAndSetAcquire
WEAK_COMPARE_AND_SET_PLAIN
enum val WEAK_COMPARE_AND_SET_PLAIN : VarHandle.AccessMode
The access mode whose access is specified by the corresponding method VarHandle.weakCompareAndSetPlain
WEAK_COMPARE_AND_SET_RELEASE
enum val WEAK_COMPARE_AND_SET_RELEASE : VarHandle.AccessMode
The access mode whose access is specified by the corresponding method VarHandle.weakCompareAndSetRelease
Public methods
methodName
fun methodName(): String!
Returns the VarHandle signature-polymorphic method name associated with this AccessMode value.
| Return | |
|---|---|
| String! | the signature-polymorphic method name | 
See Also
valueFromMethodName
static fun valueFromMethodName(methodName: String!): VarHandle.AccessMode!
Returns the AccessMode value associated with the specified VarHandle signature-polymorphic method name.
| Parameters | |
|---|---|
| methodName | String!: the signature-polymorphic method name | 
| Return | |
|---|---|
| VarHandle.AccessMode! | the AccessModevalue | 
| Exceptions | |
|---|---|
| java.lang.IllegalArgumentException | if there is no AccessModevalue associated with method name (indicating the method name does not correspond to aVarHandlesignature-polymorphic method name). | 
See Also
