public class ClientRegionCollector extends RegionCollector
ClientRegionCollector
class is an extension of the RegionCollector
which applies additional
filtering to find only client Regions
in a given context.GemFireCache
,
Region
,
ApplicationContext
,
SchemaObjectCollector
Constructor and Description |
---|
ClientRegionCollector() |
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)
SchemaObjectCollector
T
declared in the given ApplicationContext
.collectFrom
in interface SchemaObjectCollector<org.apache.geode.cache.Region>
collectFrom
in class RegionCollector
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
,
Iterable
public Set<org.apache.geode.cache.Region> collectFrom(org.apache.geode.cache.GemFireCache gemfireCache)
SchemaObjectCollector
T
defined in the GemFireCache
.collectFrom
in interface SchemaObjectCollector<org.apache.geode.cache.Region>
collectFrom
in class RegionCollector
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
,
Iterable
Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.