org.apache.hadoop.hbase.util
Class UnsafeAvailChecker
java.lang.Object
org.apache.hadoop.hbase.util.UnsafeAvailChecker
@InterfaceAudience.Private
public class UnsafeAvailChecker
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isAvailable
public static boolean isAvailable()
- Returns:
- true when running JVM is having sun's Unsafe package available in it and it is
accessible.
unaligned
public static boolean unaligned()
- Returns:
- true when running JVM is having sun's Unsafe package available in it and underlying
system having unaligned-access capability.
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.