Package io.netty.util.internal
Class VarHandleFactory
- java.lang.Object
-
- io.netty.util.internal.VarHandleFactory
-
final class VarHandleFactory extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private static MethodHandleFIND_VAR_HANDLEprivate static VarHandleINT_BE_ARRAY_VIEWprivate static VarHandleINT_BE_BYTE_BUFFER_VIEWprivate static VarHandleINT_LE_ARRAY_VIEWprivate static VarHandleINT_LE_BYTE_BUFFER_VIEWprivate static VarHandleLONG_BE_ARRAY_VIEWprivate static VarHandleLONG_BE_BYTE_BUFFER_VIEWprivate static VarHandleLONG_LE_ARRAY_VIEWprivate static VarHandleLONG_LE_BYTE_BUFFER_VIEWprivate static MethodHandlePRIVATE_LOOKUP_INprivate static VarHandleSHORT_BE_ARRAY_VIEWprivate static VarHandleSHORT_BE_BYTE_BUFFER_VIEWprivate static VarHandleSHORT_LE_ARRAY_VIEWprivate static VarHandleSHORT_LE_BYTE_BUFFER_VIEWprivate static java.lang.ThrowableUNAVAILABILITY_CAUSE
-
Constructor Summary
Constructors Modifier Constructor Description privateVarHandleFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static VarHandleintBeArrayView()static VarHandleintBeByteBufferView()static VarHandleintLeArrayView()static VarHandleintLeByteBufferView()static booleanisSupported()static VarHandlelongBeArrayView()static VarHandlelongBeByteBufferView()static VarHandlelongLeArrayView()static VarHandlelongLeByteBufferView()static VarHandleprivateFindVarHandle(java.lang.invoke.MethodHandles.Lookup lookup, java.lang.Class<?> declaringClass, java.lang.String name, java.lang.Class<?> type)private static java.lang.invoke.MethodHandles.LookupprivateLookup(java.lang.invoke.MethodHandles.Lookup lookup, java.lang.Class<?> targetClass)static VarHandleshortBeArrayView()static VarHandleshortBeByteBufferView()static VarHandleshortLeArrayView()static VarHandleshortLeByteBufferView()static java.lang.ThrowableunavailableCause()
-
-
-
Field Detail
-
FIND_VAR_HANDLE
private static final MethodHandle FIND_VAR_HANDLE
-
PRIVATE_LOOKUP_IN
private static final MethodHandle PRIVATE_LOOKUP_IN
-
LONG_LE_ARRAY_VIEW
private static final VarHandle LONG_LE_ARRAY_VIEW
-
LONG_BE_ARRAY_VIEW
private static final VarHandle LONG_BE_ARRAY_VIEW
-
INT_LE_ARRAY_VIEW
private static final VarHandle INT_LE_ARRAY_VIEW
-
INT_BE_ARRAY_VIEW
private static final VarHandle INT_BE_ARRAY_VIEW
-
SHORT_LE_ARRAY_VIEW
private static final VarHandle SHORT_LE_ARRAY_VIEW
-
SHORT_BE_ARRAY_VIEW
private static final VarHandle SHORT_BE_ARRAY_VIEW
-
LONG_LE_BYTE_BUFFER_VIEW
private static final VarHandle LONG_LE_BYTE_BUFFER_VIEW
-
LONG_BE_BYTE_BUFFER_VIEW
private static final VarHandle LONG_BE_BYTE_BUFFER_VIEW
-
INT_LE_BYTE_BUFFER_VIEW
private static final VarHandle INT_LE_BYTE_BUFFER_VIEW
-
INT_BE_BYTE_BUFFER_VIEW
private static final VarHandle INT_BE_BYTE_BUFFER_VIEW
-
SHORT_LE_BYTE_BUFFER_VIEW
private static final VarHandle SHORT_LE_BYTE_BUFFER_VIEW
-
SHORT_BE_BYTE_BUFFER_VIEW
private static final VarHandle SHORT_BE_BYTE_BUFFER_VIEW
-
UNAVAILABILITY_CAUSE
private static final java.lang.Throwable UNAVAILABILITY_CAUSE
-
-
Method Detail
-
isSupported
public static boolean isSupported()
-
unavailableCause
public static java.lang.Throwable unavailableCause()
-
privateLookup
private static java.lang.invoke.MethodHandles.Lookup privateLookup(java.lang.invoke.MethodHandles.Lookup lookup, java.lang.Class<?> targetClass)
-
privateFindVarHandle
public static VarHandle privateFindVarHandle(java.lang.invoke.MethodHandles.Lookup lookup, java.lang.Class<?> declaringClass, java.lang.String name, java.lang.Class<?> type)
-
longLeArrayView
public static VarHandle longLeArrayView()
-
longBeArrayView
public static VarHandle longBeArrayView()
-
intLeArrayView
public static VarHandle intLeArrayView()
-
intBeArrayView
public static VarHandle intBeArrayView()
-
shortLeArrayView
public static VarHandle shortLeArrayView()
-
shortBeArrayView
public static VarHandle shortBeArrayView()
-
longLeByteBufferView
public static VarHandle longLeByteBufferView()
-
longBeByteBufferView
public static VarHandle longBeByteBufferView()
-
intLeByteBufferView
public static VarHandle intLeByteBufferView()
-
intBeByteBufferView
public static VarHandle intBeByteBufferView()
-
shortLeByteBufferView
public static VarHandle shortLeByteBufferView()
-
shortBeByteBufferView
public static VarHandle shortBeByteBufferView()
-
-