| Package | Description |
|---|---|
| net.openhft.chronicle.core |
| Modifier and Type | Method and Description |
|---|---|
int |
Memory.addInt(long address,
int increment)
Adds the specified increment to the value at the given memory address and returns the updated value.
|
int |
UnsafeMemory.addInt(long address,
int increment)
Atomically adds the given increment to an integer value at the specified memory address.
|
long |
Memory.addLong(long address,
long increment)
Adds the specified increment to the value at the given memory address and returns the updated value.
|
long |
UnsafeMemory.addLong(long address,
long increment)
Atomically adds the given increment to a long value at the specified memory address.
|
long |
Memory.addLong(Object object,
long offset,
long increment)
Adds the specified increment to the value at the given offset in the object and returns the updated value.
|
long |
UnsafeMemory.addLong(Object object,
long offset,
long increment)
Atomically adds the given increment to a long value at the specified offset in the given object.
|
boolean |
Memory.compareAndSwapInt(long address,
int expected,
int value)
Compares the value at the specified memory address with the expected value and, if equal, sets it to the new value.
|
boolean |
UnsafeMemory.compareAndSwapInt(long address,
int expected,
int value)
Performs an atomic compare-and-swap operation on an integer value at the specified memory address.
|
boolean |
Memory.compareAndSwapInt(Object object,
long offset,
int expected,
int value)
Compares the value at the specified offset in the object with the expected value and, if equal, sets it to the new value.
|
boolean |
UnsafeMemory.compareAndSwapInt(Object object,
long offset,
int expected,
int value)
Performs an atomic compare-and-swap operation on an integer field of the specified object.
|
boolean |
Memory.compareAndSwapLong(long address,
long expected,
long value)
Compares the value at the specified memory address with the expected value and, if equal, sets it to the new value.
|
boolean |
UnsafeMemory.compareAndSwapLong(long address,
long expected,
long value)
Performs an atomic compare-and-swap operation on a long value at the specified memory address.
|
boolean |
Memory.compareAndSwapLong(Object object,
long offset,
long expected,
long value)
Compares the value at the specified offset in the object with the expected value and, if equal, sets it to the new value.
|
boolean |
UnsafeMemory.compareAndSwapLong(Object object,
long offset,
long expected,
long value)
Performs an atomic compare-and-swap operation on a long field of the specified object.
|
int |
Memory.getAndSetInt(long address,
int value)
Atomically sets the value at the specified address to the given value and returns the previous value
|
int |
UnsafeMemory.getAndSetInt(long address,
int value)
Performs an atomic get-and-set operation on an integer value at the specified memory address.
|
int |
Memory.getAndSetInt(Object object,
long offset,
int value)
Atomically sets the value at the specified offset in the object to the given value and returns the previous value.
|
int |
UnsafeMemory.getAndSetInt(Object object,
long offset,
int value)
Performs an atomic get-and-set operation on an integer field of the specified object.
|
Copyright © 2024. All rights reserved.