public class FeaturesSynchronizer extends FeaturesSupport implements org.apache.karaf.cellar.core.Synchronizer
featuresService| Constructor and Description |
|---|
FeaturesSynchronizer() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
void |
init() |
Boolean |
isSyncEnabled(org.apache.karaf.cellar.core.Group group)
Check if the features sync flag is enabled for a cluster group.
|
void |
pull(org.apache.karaf.cellar.core.Group group)
Pull features repositories and features status from a cluster group, and update the local status.
|
void |
push(org.apache.karaf.cellar.core.Group group)
Push local features repositories and features status to a cluster group.
|
getFeaturesService, isFeatureInstalledLocally, isRepositoryRegisteredLocally, pushFeature, pushFeature, pushRepository, removeRepository, setFeaturesServicepublic void init()
init in class FeaturesSupportpublic void destroy()
destroy in class FeaturesSupportpublic void pull(org.apache.karaf.cellar.core.Group group)
pull in interface org.apache.karaf.cellar.core.Synchronizergroup - the cluster group where to pull.public void push(org.apache.karaf.cellar.core.Group group)
push in interface org.apache.karaf.cellar.core.Synchronizergroup - the cluster group where to push.public Boolean isSyncEnabled(org.apache.karaf.cellar.core.Group group)
isSyncEnabled in interface org.apache.karaf.cellar.core.Synchronizergroup - the cluster group.Copyright © 2013 The Apache Software Foundation. All Rights Reserved.