Class ClientRegionCollector
java.lang.Object
org.springframework.data.gemfire.config.schema.support.RegionCollector
org.springframework.data.gemfire.config.schema.support.ClientRegionCollector
- All Implemented Interfaces:
SchemaObjectCollector<org.apache.geode.cache.Region>
The
ClientRegionCollector
class is an extension of the RegionCollector
which applies additional
filtering to find only client Regions
in a given context.- Since:
- 2.0.0
- See Also:
-
GemFireCache
Region
ApplicationContext
SchemaObjectCollector
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSet<org.apache.geode.cache.Region>
collectFrom
(org.apache.geode.cache.GemFireCache gemfireCache) Collects all schema objects of typeSchemaObjectCollector
defined in theGemFireCache
.Set<org.apache.geode.cache.Region>
collectFrom
(org.springframework.context.ApplicationContext applicationContext) Collects all schema objects of typeSchemaObjectCollector
declared in the givenApplicationContext
.
-
Constructor Details
-
ClientRegionCollector
public ClientRegionCollector()
-
-
Method Details
-
collectFrom
public Set<org.apache.geode.cache.Region> collectFrom(org.springframework.context.ApplicationContext applicationContext) Description copied from interface:SchemaObjectCollector
Collects all schema objects of typeSchemaObjectCollector
declared in the givenApplicationContext
.- Specified by:
collectFrom
in interfaceSchemaObjectCollector<org.apache.geode.cache.Region>
- Overrides:
collectFrom
in classRegionCollector
- Parameters:
applicationContext
- SpringApplicationContext
from which to collect schema objects of typeSchemaObjectCollector
.- Returns:
- a
Set
of all schema objects of typeSchemaObjectCollector
declared in theApplicationContext
; returns an emptySet
if no schema object of typeSchemaObjectCollector
could be found. - See Also:
-
ApplicationContext
Iterable
-
collectFrom
public Set<org.apache.geode.cache.Region> collectFrom(org.apache.geode.cache.GemFireCache gemfireCache) Description copied from interface:SchemaObjectCollector
Collects all schema objects of typeSchemaObjectCollector
defined in theGemFireCache
.- Specified by:
collectFrom
in interfaceSchemaObjectCollector<org.apache.geode.cache.Region>
- Overrides:
collectFrom
in classRegionCollector
- Parameters:
gemfireCache
-GemFireCache
from which to collect schema objects of typeSchemaObjectCollector
.- Returns:
- a
Set
of all schema objects of typeSchemaObjectCollector
defined in theGemFireCache
; returns an emptySet
if no schema object of typeSchemaObjectCollector
could be found. - See Also:
-
GemFireCache
Iterable
-