To
get or set the optimisations enabled
flag for a composition,
use the following sis-console
commands, Ant task, or related MBean operations.
This is a SIS feature for IN. |
Console commands
isOptimisationsEnabled
Command |
isoptimisationsenabled <ra-entity> <composition-id> Determine if processing optimisations are enabled for a composition |
---|---|
Example |
To determine if optimisations are enabled for the composition with identifier $ ./sis-console isoptimisationsenabled sis name=4000,vendor=OpenCloud,version=1.0 Optimisations for CompositionID[name=4000,vendor=OpenCloud,version=1.0] are disabled |
setOptimisationsEnabled
Command |
setoptimisationsenabled <ra-entity> <composition-id> <boolean> Enable/disable processing optimisations for a composition |
---|---|
Example |
To enable optimisations for the composition with identifier $ ./sis-console setoptimsationsenabled sis name=4000,vendor=OpenCloud,version=1.0 true Optimisations for CompositionID[name=4000,vendor=OpenCloud,version=1.0] enabled |
Ant task
updateincomposition
Task |
<updateincomposition optimisationsEnabled="..."> <composition name="..." vendor="..." version="..."/> </updateincomposition> |
---|---|
Example |
To enable optimisations for the composition with identifier <sis-in-management> <updateincomposition optimisationsEnabled="true"> <composition name="4000" vendor="OpenCloud" version="1.0"/> </updateincomposition> </sis-in-management> |
MBean operations
MBean |
---|
getOptimisationsEnabled
Operation |
public boolean getOptimisationsEnabled(CompositionID id) throws NullPointerException, UnrecognizedComponentException, ManagementException; |
---|
setOptimisationsEnabled
Operation |
public void setOptimisationsEnabled(CompositionID id, boolean enabled) throws NullPointerException, UnrecognizedComponentException, ManagementException; |
---|