public final class GlobalMemoryAccessorRegistry extends Object
GlobalMemoryAccessor implementations by their GlobalMemoryAccessorType.| Modifier and Type | Field and Description | 
|---|---|
static GlobalMemoryAccessor | 
AMEM
Like  
MEM, but an instance specialized for aligned memory access. | 
static boolean | 
AMEM_AVAILABLE
 | 
static GlobalMemoryAccessor | 
MEM
A  
GlobalMemoryAccessor that allows both aligned and unaligned native memory access. | 
static boolean | 
MEM_AVAILABLE
 | 
| Modifier and Type | Method and Description | 
|---|---|
static GlobalMemoryAccessor | 
getDefaultGlobalMemoryAccessor()
Returns the default  
GlobalMemoryAccessor instance. | 
static GlobalMemoryAccessor | 
getGlobalMemoryAccessor(GlobalMemoryAccessorType type)
Returns the  
MemoryAccessor instance appropriate to the given GlobalMemoryAccessorType. | 
public static final GlobalMemoryAccessor MEM
GlobalMemoryAccessor that allows both aligned and unaligned native memory access.public static final boolean MEM_AVAILABLE
public static final GlobalMemoryAccessor AMEM
MEM, but an instance specialized for aligned memory access. Requesting
 unaligned memory access from this instance will result in low-level JVM crash on platforms
 which do not support it.public static final boolean AMEM_AVAILABLE
public static GlobalMemoryAccessor getGlobalMemoryAccessor(GlobalMemoryAccessorType type)
MemoryAccessor instance appropriate to the given GlobalMemoryAccessorType.public static GlobalMemoryAccessor getDefaultGlobalMemoryAccessor()
GlobalMemoryAccessor instance.Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.