@FunctionalInterface protected static interface ResourceCapableCacheDataImporterExporter.CacheResourceResolver extends ResourceResolver
ResourceResolver
,
GemFireCache
,
Region
Modifier and Type | Method and Description |
---|---|
java.util.Optional<org.springframework.core.io.Resource> |
resolve(org.apache.geode.cache.Region<?,?> region)
Tries to resolve a
Resource to a location containing data for the given Region . |
default java.util.Optional<org.springframework.core.io.Resource> |
resolve(java.lang.String location)
Tries to resolve a
Resource handle from the given, non-null location
(e.g. |
getClassLoader, require
java.util.Optional<org.springframework.core.io.Resource> resolve(@NonNull org.apache.geode.cache.Region<?,?> region)
Resource
to a location
containing data for the given Region
.
The Region
is used to determine the location
of the Resource
to load.region
- Region
used to resolve the Resource
.Optional
Resource
handle to a location
containing data
for the given Region
.Resource
,
Region
,
Optional
default java.util.Optional<org.springframework.core.io.Resource> resolve(@NonNull java.lang.String location)
ResourceResolver
Resource
handle from the given, non-null location
(e.g. filesystem path
).resolve
in interface ResourceResolver
location
- location
identifying the Resource
to resolve;
must not be null.Optional
Resource
handle for the given location
.Resource
,
Optional