public class TenantGlobals extends Object
Modifier and Type | Field and Description |
---|---|
static int |
TENANT_FLAG_CPU_ACCOUNTING_ENABLED
Bit to indicate that if cpu accounting feature is enabled
|
static int |
TENANT_FLAG_CPU_THROTTLING_ENABLED
Bit to indicate that if cpu throttling feature is enabled
|
static int |
TENANT_FLAG_DATA_ISOLATION_ENABLED
Bit to indicate that if data isolation feature is enabled
|
static int |
TENANT_FLAG_HEAP_THROTTLING_ENABLED
Bit to indicate that if heap throttling feature is enabled
|
static int |
TENANT_FLAG_MULTI_TENANT_ENABLED
Bit to indicate that if the multi-tenant feature is enabled.
|
Constructor and Description |
---|
TenantGlobals() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isCpuAccountingEnabled()
Test if cpu accounting feature is enabled.
|
static boolean |
isCpuThrottlingEnabled()
Test if cpu throttling feature is enabled.
|
static boolean |
isDataIsolationEnabled()
Test if data isolation feature is enabled.
|
static boolean |
isHeapThrottlingEnabled()
Test if heap throttling feature is enabled.
|
static boolean |
isTenantEnabled()
Test if multi-tenant feature is enabled.
|
public static final int TENANT_FLAG_MULTI_TENANT_ENABLED
public static final int TENANT_FLAG_HEAP_THROTTLING_ENABLED
public static final int TENANT_FLAG_CPU_THROTTLING_ENABLED
public static final int TENANT_FLAG_DATA_ISOLATION_ENABLED
public static final int TENANT_FLAG_CPU_ACCOUNTING_ENABLED
public static boolean isTenantEnabled()
public static boolean isHeapThrottlingEnabled()
public static boolean isCpuThrottlingEnabled()
public static boolean isCpuAccountingEnabled()
public static boolean isDataIsolationEnabled()
"Copyright 2018, Alibaba, Inc."