public abstract class AbstractUnsafeProxy extends Object implements UnsafeProxy
INVALID_FIELD_OFFSET| 构造器和说明 |
|---|
AbstractUnsafeProxy() |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getAndAddInt(Object o,
long offset,
int delta)
Atomically adds the given value to the current value of a field
or array element within the given object
o
at the given offset. |
long |
getAndAddLong(Object o,
long offset,
long delta)
Atomically adds the given value to the current value of a field
or array element within the given object
o
at the given offset. |
int |
getAndSetInt(Object o,
long offset,
int newValue)
Atomically exchanges the given value with the current value of
a field or array element within the given object
o
at the given offset. |
long |
getAndSetLong(Object o,
long offset,
long newValue)
Atomically exchanges the given value with the current value of
a field or array element within the given object
o
at the given offset. |
Object |
getAndSetObject(Object o,
long offset,
Object newValue)
Atomically exchanges the given reference value with the current
reference value of a field or array element within the given
object
o at the given offset. |
boolean |
getBoolean(Object o,
int offset)
As of jdk 1.4.1, cast the 32-bit offset argument to a long.
|
byte |
getByte(Object o,
int offset)
As of jdk 1.4.1, cast the 32-bit offset argument to a long.
|
char |
getChar(Object o,
int offset)
As of jdk 1.4.1, cast the 32-bit offset argument to a long.
|
double |
getDouble(Object o,
int offset)
As of jdk 1.4.1, cast the 32-bit offset argument to a long.
|
float |
getFloat(Object o,
int offset)
As of jdk 1.4.1, cast the 32-bit offset argument to a long.
|
int |
getInt(Object o,
int offset)
This method, like all others with 32-bit offsets, was
in a previous release but is now a wrapper which simply casts
the offset to a long value.
|
long |
getLong(Object o,
int offset)
As of jdk 1.4.1, cast the 32-bit offset argument to a long.
|
Object |
getObject(Object o,
int offset)
As of jdk 1.4.1, cast the 32-bit offset argument to a long.
|
short |
getShort(Object o,
int offset)
As of jdk 1.4.1, cast the 32-bit offset argument to a long.
|
void |
putBoolean(Object o,
int offset,
boolean x)
As of jdk 1.4.1, cast the 32-bit offset argument to a long.
|
void |
putByte(Object o,
int offset,
byte x)
As of jdk 1.4.1, cast the 32-bit offset argument to a long.
|
void |
putChar(Object o,
int offset,
char x)
As of jdk 1.4.1, cast the 32-bit offset argument to a long.
|
void |
putDouble(Object o,
int offset,
double x)
As of jdk 1.4.1, cast the 32-bit offset argument to a long.
|
void |
putFloat(Object o,
int offset,
float x)
As of jdk 1.4.1, cast the 32-bit offset argument to a long.
|
void |
putInt(Object o,
int offset,
int x)
As of jdk 1.4.1, cast the 32-bit offset argument to a long.
|
void |
putLong(Object o,
int offset,
long x)
As of jdk 1.4.1, cast the 32-bit offset argument to a long.
|
void |
putObject(Object o,
int offset,
Object x)
As of jdk 1.4.1, cast the 32-bit offset argument to a long.
|
void |
putShort(Object o,
int offset,
short x)
As of jdk 1.4.1, cast the 32-bit offset argument to a long.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddressSize, allocateInstance, allocateMemory, arrayBaseOffset, arrayIndexScale, compareAndSwapInt, compareAndSwapLong, compareAndSwapObject, copyMemory, copyMemory, defineAnonymousClass, defineClass, ensureClassInitialized, fieldOffset, freeMemory, fullFence, getAddress, getBoolean, getBooleanVolatile, getByte, getByte, getByteVolatile, getChar, getChar, getCharVolatile, getDouble, getDouble, getDoubleVolatile, getFloat, getFloat, getFloatVolatile, getInt, getInt, getIntVolatile, getLoadAverage, getLong, getLong, getLongVolatile, getObject, getObjectVolatile, getShort, getShort, getShortVolatile, loadFence, monitorEnter, monitorExit, objectFieldOffset, pageSize, park, putAddress, putBoolean, putBooleanVolatile, putByte, putByte, putByteVolatile, putChar, putChar, putCharVolatile, putDouble, putDouble, putDoubleVolatile, putFloat, putFloat, putFloatVolatile, putInt, putInt, putIntVolatile, putLong, putLong, putLongVolatile, putObject, putObjectVolatile, putOrderedInt, putOrderedLong, putOrderedObject, putShort, putShort, putShortVolatile, reallocateMemory, setMemory, setMemory, shouldBeInitialized, staticFieldBase, staticFieldBase, staticFieldOffset, storeFence, throwException, tryMonitorEnter, unparkpublic int getInt(Object o, int offset)
UnsafeProxyUnsafeProxy.staticFieldOffset(java.lang.reflect.Field).getInt 在接口中 UnsafeProxypublic void putInt(Object o, int offset, int x)
UnsafeProxyUnsafeProxy.staticFieldOffset(java.lang.reflect.Field).putInt 在接口中 UnsafeProxypublic Object getObject(Object o, int offset)
UnsafeProxyUnsafeProxy.staticFieldOffset(java.lang.reflect.Field).getObject 在接口中 UnsafeProxypublic void putObject(Object o, int offset, Object x)
UnsafeProxyUnsafeProxy.staticFieldOffset(java.lang.reflect.Field).putObject 在接口中 UnsafeProxypublic boolean getBoolean(Object o, int offset)
UnsafeProxyUnsafeProxy.staticFieldOffset(java.lang.reflect.Field).getBoolean 在接口中 UnsafeProxypublic void putBoolean(Object o, int offset, boolean x)
UnsafeProxyUnsafeProxy.staticFieldOffset(java.lang.reflect.Field).putBoolean 在接口中 UnsafeProxypublic byte getByte(Object o, int offset)
UnsafeProxyUnsafeProxy.staticFieldOffset(java.lang.reflect.Field).getByte 在接口中 UnsafeProxypublic void putByte(Object o, int offset, byte x)
UnsafeProxyUnsafeProxy.staticFieldOffset(java.lang.reflect.Field).putByte 在接口中 UnsafeProxypublic short getShort(Object o, int offset)
UnsafeProxyUnsafeProxy.staticFieldOffset(java.lang.reflect.Field).getShort 在接口中 UnsafeProxypublic void putShort(Object o, int offset, short x)
UnsafeProxyUnsafeProxy.staticFieldOffset(java.lang.reflect.Field).putShort 在接口中 UnsafeProxypublic char getChar(Object o, int offset)
UnsafeProxyUnsafeProxy.staticFieldOffset(java.lang.reflect.Field).getChar 在接口中 UnsafeProxypublic void putChar(Object o, int offset, char x)
UnsafeProxyUnsafeProxy.staticFieldOffset(java.lang.reflect.Field).putChar 在接口中 UnsafeProxypublic long getLong(Object o, int offset)
UnsafeProxyUnsafeProxy.staticFieldOffset(java.lang.reflect.Field).getLong 在接口中 UnsafeProxypublic void putLong(Object o, int offset, long x)
UnsafeProxyUnsafeProxy.staticFieldOffset(java.lang.reflect.Field).putLong 在接口中 UnsafeProxypublic float getFloat(Object o, int offset)
UnsafeProxyUnsafeProxy.staticFieldOffset(java.lang.reflect.Field).getFloat 在接口中 UnsafeProxypublic void putFloat(Object o, int offset, float x)
UnsafeProxyUnsafeProxy.staticFieldOffset(java.lang.reflect.Field).putFloat 在接口中 UnsafeProxypublic double getDouble(Object o, int offset)
UnsafeProxyUnsafeProxy.staticFieldOffset(java.lang.reflect.Field).getDouble 在接口中 UnsafeProxypublic void putDouble(Object o, int offset, double x)
UnsafeProxyUnsafeProxy.staticFieldOffset(java.lang.reflect.Field).putDouble 在接口中 UnsafeProxypublic int getAndAddInt(Object o, long offset, int delta)
UnsafeProxyo
at the given offset.getAndAddInt 在接口中 UnsafeProxyo - object/array to update the field/element inoffset - field/element offsetdelta - the value to addpublic long getAndAddLong(Object o, long offset, long delta)
UnsafeProxyo
at the given offset.getAndAddLong 在接口中 UnsafeProxyo - object/array to update the field/element inoffset - field/element offsetdelta - the value to addpublic int getAndSetInt(Object o, long offset, int newValue)
UnsafeProxyo
at the given offset.getAndSetInt 在接口中 UnsafeProxyo - object/array to update the field/element inoffset - field/element offsetnewValue - new valuepublic long getAndSetLong(Object o, long offset, long newValue)
UnsafeProxyo
at the given offset.getAndSetLong 在接口中 UnsafeProxyo - object/array to update the field/element inoffset - field/element offsetnewValue - new valuepublic Object getAndSetObject(Object o, long offset, Object newValue)
UnsafeProxyo at the given offset.getAndSetObject 在接口中 UnsafeProxyo - object/array to update the field/element inoffset - field/element offsetnewValue - new valueCopyright © 2022. All rights reserved.