@Beta
public class BrooklynFeatureEnablement
extends java.lang.Object
setEnablement(String, boolean)
.
For example, start brooklyn with -Dbrooklyn.experimental.feature.policyPersistence=true
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
FEATURE_CATALOG_PERSISTENCE_PROPERTY |
static java.lang.String |
FEATURE_DEFAULT_STANDBY_IS_HOT_PROPERTY
whether the default standby mode is
HighAvailabilityMode.HOT_STANDBY or falling back to the traditional
HighAvailabilityMode.STANDBY |
static java.lang.String |
FEATURE_ENRICHER_PERSISTENCE_PROPERTY |
static java.lang.String |
FEATURE_FEED_PERSISTENCE_PROPERTY |
static java.lang.String |
FEATURE_FEED_REGISTRATION_PROPERTY
whether feeds are automatically registered when set on entities, so that they are persisted
|
static java.lang.String |
FEATURE_POLICY_PERSISTENCE_PROPERTY |
static java.lang.String |
FEATURE_RENAME_THREADS
Renaming threads can really helps with debugging etc; however it's a massive performance hit (2x)
|
static java.lang.String |
FEATURE_USE_BROOKLYN_LIVE_OBJECTS_DATAGRID_STORAGE
whether to attempt to use
BrooklynStorage (datagrid) as a backing store for data;
note this is not compatible with FEATURE_DEFAULT_STANDBY_IS_HOT_PROPERTY
which uses a blob/file store and a larger-granularity rebind process than was intended with the datagrid |
Constructor and Description |
---|
BrooklynFeatureEnablement() |
Modifier and Type | Method and Description |
---|---|
static boolean |
disable(java.lang.String property) |
static boolean |
enable(java.lang.String property) |
static boolean |
isEnabled(java.lang.String property) |
static boolean |
setEnablement(java.lang.String property,
boolean val) |
public static final java.lang.String FEATURE_POLICY_PERSISTENCE_PROPERTY
public static final java.lang.String FEATURE_ENRICHER_PERSISTENCE_PROPERTY
public static final java.lang.String FEATURE_FEED_PERSISTENCE_PROPERTY
public static final java.lang.String FEATURE_FEED_REGISTRATION_PROPERTY
public static final java.lang.String FEATURE_CATALOG_PERSISTENCE_PROPERTY
public static final java.lang.String FEATURE_DEFAULT_STANDBY_IS_HOT_PROPERTY
HighAvailabilityMode.HOT_STANDBY
or falling back to the traditional
HighAvailabilityMode.STANDBY
public static final java.lang.String FEATURE_USE_BROOKLYN_LIVE_OBJECTS_DATAGRID_STORAGE
BrooklynStorage
(datagrid) as a backing store for data;
note this is not compatible with FEATURE_DEFAULT_STANDBY_IS_HOT_PROPERTY
which uses a blob/file store and a larger-granularity rebind process than was intended with the datagridpublic static final java.lang.String FEATURE_RENAME_THREADS
We get 55000 tasks per sec with this off, 28k/s with this on.
Defaults to false if system property is not set.
public static boolean isEnabled(java.lang.String property)
public static boolean enable(java.lang.String property)
public static boolean disable(java.lang.String property)
public static boolean setEnablement(java.lang.String property, boolean val)