|Enum Constant and Description|
Represents the aligned
Represents the standard
|Modifier and Type||Method and Description|
Returns the enum constant of this type with the specified name.
Returns an array containing the constants of this enum type, in the order they are declared.
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
public static final GlobalMemoryAccessorType STANDARD
GlobalMemoryAccessorwhich correctly handles only aligned memory access. Requesting unaligned memory access from this instance will result in low-level JVM crash on platforms which only support aligned access.
public static final GlobalMemoryAccessorType ALIGNMENT_AWARE
GlobalMemoryAccessor, which checks for and handles unaligned memory access by splitting a larger-size memory operation into several smaller-size ones (which have finer-grained alignment requirements).
public static final GlobalMemoryAccessorType PLATFORM_AWARE
GlobalMemoryAccessorwhich is either
STANDARD, as appropriate to the underlying platform's architecture.
If the underlying platform supports unaligned memory access, it will match the standard
GlobalMemoryAccessor because there's no need for aligmnent checks.
Otherwise it will match the alignment-aware
public static GlobalMemoryAccessorType values()
for (GlobalMemoryAccessorType c : GlobalMemoryAccessorType.values()) System.out.println(c);
public static GlobalMemoryAccessorType valueOf(String name)
Copyright © 2019 Hazelcast, Inc.. All Rights Reserved.