public class RegionCollector extends Object implements SchemaObjectCollector<org.apache.geode.cache.Region>
RegionCollector class is an implementation of the SchemaObjectCollector that is capable of
inspecting a context and finding all Region schema object instances that have been declared in that context.GemFireCache,
Region,
ApplicationContext,
SchemaObjectCollector| Constructor and Description |
|---|
RegionCollector() |
| Modifier and Type | Method and Description |
|---|---|
Set<org.apache.geode.cache.Region> |
collectFrom(ApplicationContext applicationContext)
Collects all schema objects of type
T declared in the given ApplicationContext. |
Set<org.apache.geode.cache.Region> |
collectFrom(org.apache.geode.cache.GemFireCache gemfireCache)
Collects all schema objects of type
T defined in the GemFireCache. |
public Set<org.apache.geode.cache.Region> collectFrom(ApplicationContext applicationContext)
SchemaObjectCollectorT declared in the given ApplicationContext.collectFrom in interface SchemaObjectCollector<org.apache.geode.cache.Region>applicationContext - Spring ApplicationContext from which to collect schema objects
of type T.Set of all schema objects of type T declared in the ApplicationContext;
returns an empty Set if no schema object of type T could be found.ApplicationContext,
Iterablepublic Set<org.apache.geode.cache.Region> collectFrom(org.apache.geode.cache.GemFireCache gemfireCache)
SchemaObjectCollectorT defined in the GemFireCache.collectFrom in interface SchemaObjectCollector<org.apache.geode.cache.Region>gemfireCache - GemFireCache from which to collect schema objects of type T.Set of all schema objects of type T defined in the GemFireCache;
returns an empty Set if no schema object of type T could be found.GemFireCache,
IterableCopyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.