org.openspaces.admin.zone.config
Class AbstractZonesConfig
java.lang.Object
org.openspaces.admin.config.AbstractConfig
org.openspaces.admin.zone.config.AbstractZonesConfig
- All Implemented Interfaces:
- ZonesConfig
- Direct Known Subclasses:
- ExactZonesConfig, RequiredZonesConfig
public abstract class AbstractZonesConfig
- extends AbstractConfig
- implements ZonesConfig
- Since:
- 9.1.0
- Author:
- elip
AbstractZonesConfig
protected AbstractZonesConfig(Map<String,String> properties)
- Parameters:
properties
-
validate
public void validate()
throws IllegalStateException
- Description copied from interface:
ZonesConfig
- Checks the content of this config is valid.
- Specified by:
validate
in interface ZonesConfig
- Throws:
IllegalStateException
- - if state is found to be illegal
getZones
public Set<String> getZones()
- Description copied from interface:
ZonesConfig
- returns the zones attached to this config.
- Specified by:
getZones
in interface ZonesConfig
- Returns:
setZones
public void setZones(Set<String> zones)
- Specified by:
setZones
in interface ZonesConfig
- Parameters:
zones
- A unique list of labels(tags) that represent different zones
Copyright © GigaSpaces.