public final class FastThreadLocalInt extends FastThreadLocal
int
. See
FastThreadLocalFactory
for details and restrictions of VM thread local variables.Modifier and Type | Method and Description |
---|---|
boolean |
compareAndSet(int expect,
int update) |
boolean |
compareAndSet(org.graalvm.nativeimage.IsolateThread thread,
int expect,
int update) |
int |
get() |
int |
get(org.graalvm.nativeimage.IsolateThread thread) |
int |
getVolatile() |
int |
getVolatile(org.graalvm.nativeimage.IsolateThread thread) |
void |
set(int value) |
void |
set(org.graalvm.nativeimage.IsolateThread thread,
int value) |
void |
setVolatile(int value) |
void |
setVolatile(org.graalvm.nativeimage.IsolateThread thread,
int value) |
getLocationIdentity
public int get()
public int get(org.graalvm.nativeimage.IsolateThread thread)
public void set(int value)
public void set(org.graalvm.nativeimage.IsolateThread thread, int value)
public int getVolatile()
public int getVolatile(org.graalvm.nativeimage.IsolateThread thread)
public void setVolatile(int value)
public void setVolatile(org.graalvm.nativeimage.IsolateThread thread, int value)
public boolean compareAndSet(int expect, int update)
public boolean compareAndSet(org.graalvm.nativeimage.IsolateThread thread, int expect, int update)