Package org.openspaces.admin.zone.config
Interface ZonesConfig
- All Known Implementing Classes:
AbstractZonesConfig,AnyZonesConfig,AtLeastOneZoneConfig,ExactZonesConfig,RequiredZonesConfig
public interface ZonesConfig
- Since:
- 9.1.0
- Author:
- elip
-
Method Summary
Modifier and TypeMethodDescriptiongetZones()returns the zones attached to this config.booleanisSatisfiedBy(ExactZonesConfig zoneStatisticsConfig) voidvoidvalidate()Checks the content of this config is valid.
-
Method Details
-
getProperties
- Returns:
- the internal key/value string representation
-
validate
Checks the content of this config is valid.- Throws:
IllegalStateException- - if state is found to be illegal
-
getZones
returns the zones attached to this config. -
setZones
- Parameters:
zones- A unique list of labels(tags) that represent different zones
-
isSatisfiedBy
- Returns:
- true iff the specified zones satisfies or equals this zones requirement
-