public abstract class AbstractZonesConfig extends AbstractConfig implements ZonesConfig
Modifier | Constructor and Description |
---|---|
protected |
AbstractZonesConfig(Map<String,String> properties) |
Modifier and Type | Method and Description |
---|---|
Set<String> |
getZones()
returns the zones attached to this config.
|
void |
setZones(Set<String> zones) |
void |
validate()
Checks the content of this config is valid.
|
equals, getProperties, getStringProperties, hashCode, setProperties, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getProperties, isSatisfiedBy
public void validate() throws IllegalStateException
ZonesConfig
validate
in interface ZonesConfig
IllegalStateException
- - if state is found to be illegalpublic Set<String> getZones()
ZonesConfig
getZones
in interface ZonesConfig
public void setZones(Set<String> zones)
setZones
in interface ZonesConfig
zones
- A unique list of labels(tags) that represent different zonesCopyright © GigaSpaces.