public class JcrClusterConfig extends JcrPluginConfig implements IClusterConfig
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
nodeModel
Constructor and Description |
---|
JcrClusterConfig(JcrNodeModel nodeModel) |
Modifier and Type | Method and Description |
---|---|
Set<Map.Entry<String,Object>> |
entrySet() |
boolean |
equals(Object other)
Equivalence of observables; observation will only be started on one instance.
|
List<IPluginConfig> |
getPlugins()
The plugin configurations in the cluster.
|
List<String> |
getProperties()
Properties that specify additional plugin behavior.
|
List<PropertyDescriptor> |
getPropertyDescriptors()
Descriptors of additional plugin properties.
|
List<String> |
getReferences()
The keys for services that are used by plugins in the cluster.
|
List<String> |
getServices()
The list of keys for services.
|
int |
hashCode() |
void |
setPlugins(List<IPluginConfig> plugins)
Update the plugins in the cluster.
|
void |
startObservation()
When the first
IObserver of this observable is registered with the observer
registry, observation is started. |
void |
stopObservation()
When the last
IObserver unregisters, observation is stopped. |
clear, detach, get, getBoolean, getCharSequence, getDouble, getDouble, getDuration, getInt, getInt, getKey, getLong, getLong, getName, getNodeModel, getObservationContext, getPluginConfig, getPluginConfigSet, getString, getString, getStringArray, getStringValue, getTime, isImmutable, makeImmutable, put, setObservationContext, sync, toString, unwrap, unwrapConfig, wrap, wrapConfig
add, getAsBoolean, getAsBoolean, getAsDouble, getAsDouble, getAsDuration, getAsDuration, getAsEnum, getAsEnum, getAsEnum, getAsInteger, getAsInteger, getAsLong, getAsLong, getAsTime, getAsTime, putAll, remove
clone, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
getName, getPluginConfig, getPluginConfigSet
getAsBoolean, getAsBoolean, getAsDouble, getAsDouble, getAsDuration, getAsDuration, getAsEnum, getAsEnum, getAsEnum, getAsInteger, getAsInteger, getAsLong, getAsLong, getAsTime, getAsTime, getBoolean, getCharSequence, getDouble, getDouble, getDuration, getInt, getInt, getKey, getLong, getLong, getString, getString, getStringArray, getStringValue, getTime, isImmutable, makeImmutable
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
setObservationContext
public JcrClusterConfig(JcrNodeModel nodeModel)
public List<IPluginConfig> getPlugins()
IClusterConfig
getPlugins
in interface IClusterConfig
public void setPlugins(List<IPluginConfig> plugins)
IClusterConfig
setPlugins
in interface IClusterConfig
public List<String> getServices()
IClusterConfig
IRenderService
.
The returned list is only mutable when the configuration is used as a template.
getServices
in interface IClusterConfig
public List<String> getReferences()
IClusterConfig
The returned list is only mutable when the configuration is used as a template.
getReferences
in interface IClusterConfig
public List<String> getProperties()
IClusterConfig
The returned list is only mutable when the configuration is used as a template.
getProperties
in interface IClusterConfig
public List<PropertyDescriptor> getPropertyDescriptors()
IClusterConfig
Changes to the returned list have no effect on actual configuration.
getPropertyDescriptors
in interface IClusterConfig
public boolean equals(Object other)
IObservable
equals
in interface Map<String,Object>
equals
in interface IObservable
equals
in class JcrPluginConfig
public int hashCode()
hashCode
in interface Map<String,Object>
hashCode
in interface IObservable
hashCode
in class JcrPluginConfig
IObservable.equals(Object)
public void startObservation()
IObservable
IObserver
of this observable is registered with the observer
registry, observation is started. Implementations must notify observers until observation
is stopped.
An implementation should register listeners with external data sources, when appropriate. It is possible for an observable to register as an observer for another observable.
startObservation
in interface IObservable
startObservation
in class JcrPluginConfig
public void stopObservation()
IObservable
IObserver
unregisters, observation is stopped. Any listeners
or observers registered by the observable must be unregistered by the implementation.stopObservation
in interface IObservable
stopObservation
in class JcrPluginConfig
Copyright © 2007–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.