public class RegionShortcutToDataPolicyConverter
extends java.lang.Object
implements org.springframework.core.convert.converter.Converter<org.apache.geode.cache.RegionShortcut,org.apache.geode.cache.DataPolicy>
Converter
to convert a RegionShortcut
into a DataPolicy
.DataPolicy
,
RegionShortcut
,
Converter
,
RegionShortcutWrapper
Modifier and Type | Field and Description |
---|---|
static RegionShortcutToDataPolicyConverter |
INSTANCE |
Constructor and Description |
---|
RegionShortcutToDataPolicyConverter() |
Modifier and Type | Method and Description |
---|---|
org.apache.geode.cache.DataPolicy |
convert(org.apache.geode.cache.RegionShortcut regionShortcut)
Converts the given
RegionShortcut into a corresponding DataPolicy . |
public static final RegionShortcutToDataPolicyConverter INSTANCE
@Nullable public org.apache.geode.cache.DataPolicy convert(org.apache.geode.cache.RegionShortcut regionShortcut)
RegionShortcut
into a corresponding DataPolicy
.convert
in interface org.springframework.core.convert.converter.Converter<org.apache.geode.cache.RegionShortcut,org.apache.geode.cache.DataPolicy>
regionShortcut
- RegionShortcut
to convert.DataPolicy
for the given RegionShortcut
.RegionShortcut
,
DataPolicy