GigaSpaces XAP 9.7.2 API

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
 Map<String,String> getProperties()
           
 Set<String> getZones()
          returns the zones attached to this config.
 boolean isSatisfiedBy(ExactZonesConfig zoneStatisticsConfig)
           
 void setZones(Set<String> zones)
           
 void validate()
          Checks the content of this config is valid.
 

Method Detail

getProperties

Map<String,String> getProperties()
Returns:
the internal key/value string representation

validate

void validate()
              throws IllegalStateException
Checks the content of this config is valid.

Throws:
IllegalStateException - - if state is found to be illegal

getZones

Set<String> getZones()
returns the zones attached to this config.

Returns:

setZones

void setZones(Set<String> zones)
Parameters:
zones - A unique list of labels(tags) that represent different zones

isSatisfiedBy

boolean isSatisfiedBy(ExactZonesConfig zoneStatisticsConfig)
Returns:
true iff the specified zones satisfies or equals this zones requirement

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.