public class InstanceExperimentsRegister extends Object
This class is suitable for control of "instance experiments", i.e. experiments which affect the entire Confluence instance,
rather than experiments which affect individual users (for which you should use
DarkFeaturesManager or
DarkFeatureManager).
Note that this class provides an alternative to Icebat for defining per-rack instance experiments. In icebat you would define the experiment by causing a system property to be defined at startup if the instance is running on a given rack, whereas this register looks at the rack parameters directly.
The Experiment annotations have no functional purpose, but serve as documentation.
| Constructor and Description |
|---|
InstanceExperimentsRegister() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getPagePermissionsBulkSqlMinimumThreshold() |
static boolean |
isAllExternalisedToMemcached()
All caches must be externalised to memcached in vertigo mode.
|
static boolean |
isFirstBatchExternalisedToMemcached() |
static boolean |
isMemcachedAvailable()
Infers whether or not a memcached service is running and available.
|
static boolean |
isMethodStackTraceMetricsLoggingEnabled() |
static boolean |
isPageDaoGetPageExternalisedToMemcached() |
static boolean |
isPagePermissionsBulkSqlEnabled() |
static boolean |
isSecondBatchExternalisedToMemcached() |
static boolean |
isThirdBatchExternalisedToMemcached() |
static boolean |
isUTCTimezoneEnabled() |
static boolean |
isVisibleChildrenSqlQueryEnabled() |
static float |
requestMetricsSampleRate() |
public static boolean isVisibleChildrenSqlQueryEnabled()
public static boolean isPagePermissionsBulkSqlEnabled()
public static int getPagePermissionsBulkSqlMinimumThreshold()
public static boolean isMethodStackTraceMetricsLoggingEnabled()
public static boolean isPageDaoGetPageExternalisedToMemcached()
public static boolean isFirstBatchExternalisedToMemcached()
public static boolean isSecondBatchExternalisedToMemcached()
public static boolean isThirdBatchExternalisedToMemcached()
public static boolean isAllExternalisedToMemcached()
public static boolean isMemcachedAvailable()
public static boolean isUTCTimezoneEnabled()
public static float requestMetricsSampleRate()
Copyright © 2003–2017 Atlassian. All rights reserved.