GigaSpaces XAP 9.7.2 API

org.openspaces.admin.zone.config
Class AbstractZonesConfig

java.lang.Object
  extended by org.openspaces.admin.config.AbstractConfig
      extended by 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

Constructor Summary
protected AbstractZonesConfig(Map<String,String> properties)
           
 
Method Summary
 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.
 
Methods inherited from class org.openspaces.admin.config.AbstractConfig
equals, getProperties, getStringProperties, hashCode, setProperties, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.openspaces.admin.zone.config.ZonesConfig
getProperties, isSatisfiedBy
 

Constructor Detail

AbstractZonesConfig

protected AbstractZonesConfig(Map<String,String> properties)
Parameters:
properties -
Method Detail

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

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.