Package alluxio.util
Class FeatureUtils
- java.lang.Object
-
- alluxio.util.FeatureUtils
-
public final class FeatureUtils extends java.lang.Object
Utilities to detect features that Alluxio is running with.
-
-
Constructor Summary
Constructors Constructor Description FeatureUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isBackupDelegationEnabled()
Utility to check back delegation is enabled.static boolean
isBlockStoreRocks()
Utility to check the master block metastore is rocks.static boolean
isDailyBackupEnabled()
Utility to check daily backup is enabled.static boolean
isEmbeddedJournal()
Utility to check the master journal type is embedded journal.static boolean
isInodeStoreRocks()
Utility to check the master inode metastore is rocks.static boolean
isMasterAuditLoggingEnabled()
Utility to check master audit logging is enabled.static boolean
isPageStoreEnabled()
Utility to check page store is enabled.static boolean
isPersistenceBlacklistEmpty()
Utility to check persistence black list is empty.static boolean
isUnsafeDirectPersistEnabled()
Utility to check unsafe direct persistence is enabled.static boolean
isZookeeperEnabled()
Utility to check Zookeeper is enabled.
-
-
-
Method Detail
-
isEmbeddedJournal
public static boolean isEmbeddedJournal()
Utility to check the master journal type is embedded journal.- Returns:
- true, if running with embedded journal
-
isInodeStoreRocks
public static boolean isInodeStoreRocks()
Utility to check the master inode metastore is rocks.- Returns:
- true, if running with rocks
-
isBlockStoreRocks
public static boolean isBlockStoreRocks()
Utility to check the master block metastore is rocks.- Returns:
- true, if running with rocks
-
isZookeeperEnabled
public static boolean isZookeeperEnabled()
Utility to check Zookeeper is enabled.- Returns:
- true, if Zookeeper is enabled
-
isBackupDelegationEnabled
public static boolean isBackupDelegationEnabled()
Utility to check back delegation is enabled.- Returns:
- true, if backup delegation is enabled
-
isDailyBackupEnabled
public static boolean isDailyBackupEnabled()
Utility to check daily backup is enabled.- Returns:
- true, if daily backup is enabled
-
isPersistenceBlacklistEmpty
public static boolean isPersistenceBlacklistEmpty()
Utility to check persistence black list is empty.- Returns:
- true, if persistence black list is empty
-
isUnsafeDirectPersistEnabled
public static boolean isUnsafeDirectPersistEnabled()
Utility to check unsafe direct persistence is enabled.- Returns:
- true, if unsafe direct persistence is enabled
-
isMasterAuditLoggingEnabled
public static boolean isMasterAuditLoggingEnabled()
Utility to check master audit logging is enabled.- Returns:
- true, if master audir logging is enabled
-
isPageStoreEnabled
public static boolean isPageStoreEnabled()
Utility to check page store is enabled.- Returns:
- true, if page store is enabled
-
-