public interface RegionService
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(RegionListener listener)
Subscribe to Region change notifications by supplying a callback
implementation.
|
void |
createRegion(Region region)
Facilitates creation of a new network region.
|
void |
createRegion(Region region,
boolean dataSyncOnly)
Facilitates creation of new network region, without radiating that to
the network elements.
|
void |
createRegions(Collection<Region> regions,
boolean dataSyncOnly)
Facilitates creation of new network regions, without radiating that to
the network elements.
|
void |
deleteRegion(Region region)
Removes a given region from the controller realm.
|
void |
deleteRegion(Region region,
boolean dataSyncOnly)
Removes a given region from the controller realm.
|
Collection<Region> |
getRegions()
Retrieves all the regions that have been configured currently.
|
void |
removeListener(RegionListener listener)
Subscribe to Region change notifications by supplying a callback
implementation.
|
void |
updateRegion(Region region)
Updates a region which was already in existence.
|
void |
updateRegion(Region region,
boolean dataSyncOnly)
Updates a region which was already in existence.Exists for data-sync
amongst the controller cluster.
|
void createRegion(Region region)
region - Region which abstracts the participants of the regionvoid createRegions(Collection<Region> regions, boolean dataSyncOnly)
regions - List of Regions which abstracts the participants of the
regions.dataSyncOnly - true if its purely a data-sync create
operation; false if the region information has to be
delegated to concerned network elements.void createRegion(Region region, boolean dataSyncOnly)
region - Region which abstracts the participants of the region.dataSyncOnly - true if its purely a data-sync create
operation; false if the region information has to be
delegated to concerned network elements.Collection<Region> getRegions()
void updateRegion(Region region)
region - the region abstraction containing new attributesvoid updateRegion(Region region, boolean dataSyncOnly)
region - the region abstraction containing new attributesdataSyncOnly - true value indicates its purely a data-sync update
opvoid deleteRegion(Region region)
region - the region to be removedvoid deleteRegion(Region region, boolean dataSyncOnly)
region - the region to be removeddataSyncOnly - true value indicates its purely a data-sync delete
opvoid addListener(RegionListener listener)
listener - a RegionListener implementationvoid removeListener(RegionListener listener)
listener - a RegionListener implementationCopyright © 2014. All Rights Reserved.