@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_AUTO_FIX_CATALOG_REF_ON_REBIND
When rebinding, an entity could reference a catalog item that no longer exists. 
 | 
static java.lang.String | 
FEATURE_BACKWARDS_COMPATIBILITY_INFER_CATALOG_ITEM_ON_REBIND
When rebinding to state created from very old versions, the catalogItemId properties will be missing which
 results in errors when OSGi bundles are used. 
 | 
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_PROPERTY_PREFIX  | 
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_SSH_ASYNC_EXEC
When executing over ssh, whether to support the "async exec" approach, or only the classic approach. 
 | 
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 | 
static java.lang.String | 
FEATURE_VALIDATE_LOCATION_SSH_KEYS  | 
| 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 void | 
init(BrooklynProperties props)
Initialises the feature-enablement from brooklyn properties. 
 | 
static boolean | 
isEnabled(java.lang.String property)  | 
static boolean | 
setEnablement(java.lang.String property,
             boolean val)  | 
public static final java.lang.String FEATURE_PROPERTY_PREFIX
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.STANDBYpublic 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 final java.lang.String FEATURE_BACKWARDS_COMPATIBILITY_INFER_CATALOG_ITEM_ON_REBIND
public static final java.lang.String FEATURE_AUTO_FIX_CATALOG_REF_ON_REBIND
public static final java.lang.String FEATURE_SSH_ASYNC_EXEC
ShellTool.PROP_EXEC_ASYNC is configured it
 will still use the classic ssh approach.public static final java.lang.String FEATURE_VALIDATE_LOCATION_SSH_KEYS
public static void init(BrooklynProperties props)
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)