Spring Data for VMware GemFire
Package org.springframework.data.gemfire
Class RegionShortcutToDataPolicyConverter
java.lang.Object
org.springframework.data.gemfire.RegionShortcutToDataPolicyConverter
- All Implemented Interfaces:
- org.springframework.core.convert.converter.Converter<org.apache.geode.cache.RegionShortcut,- org.apache.geode.cache.DataPolicy> 
public class RegionShortcutToDataPolicyConverter
extends Object
implements org.springframework.core.convert.converter.Converter<org.apache.geode.cache.RegionShortcut,org.apache.geode.cache.DataPolicy> 
Spring 
Converter to convert a RegionShortcut into a DataPolicy.- Since:
- 2.0.2
- See Also:
- 
- DataPolicy
- RegionShortcut
- Converter
- RegionShortcutWrapper
 
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionorg.apache.geode.cache.DataPolicyconvert(org.apache.geode.cache.RegionShortcut regionShortcut) Converts the givenRegionShortcutinto a correspondingDataPolicy.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.core.convert.converter.ConverterandThen
- 
Field Details- 
INSTANCE
 
- 
- 
Constructor Details- 
RegionShortcutToDataPolicyConverterpublic RegionShortcutToDataPolicyConverter()
 
- 
- 
Method Details- 
convert@Nullable public org.apache.geode.cache.DataPolicy convert(org.apache.geode.cache.RegionShortcut regionShortcut) Converts the givenRegionShortcutinto a correspondingDataPolicy.- Specified by:
- convertin interface- org.springframework.core.convert.converter.Converter<org.apache.geode.cache.RegionShortcut,- org.apache.geode.cache.DataPolicy> 
- Parameters:
- regionShortcut-- RegionShortcutto convert.
- Returns:
- a corresponding DataPolicyfor the givenRegionShortcut.
- See Also:
- 
- RegionShortcut
- DataPolicy
 
 
 
- 
