Package org.springframework.data.gemfire
Class RegionShortcutToDataPolicyConverter
java.lang.Object
org.springframework.data.gemfire.RegionShortcutToDataPolicyConverter
- All Implemented Interfaces:
Converter<RegionShortcut,
DataPolicy>
public class RegionShortcutToDataPolicyConverter
extends Object
implements Converter<RegionShortcut,DataPolicy>
- Since:
- 2.0.2
- Author:
- John Blum
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconvert
(RegionShortcut regionShortcut) Converts the givenRegionShortcut
into a correspondingDataPolicy
.
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
RegionShortcutToDataPolicyConverter
public RegionShortcutToDataPolicyConverter()
-
-
Method Details
-
convert
Converts the givenRegionShortcut
into a correspondingDataPolicy
.- Specified by:
convert
in interfaceConverter<RegionShortcut,
DataPolicy> - Parameters:
regionShortcut
-RegionShortcut
to convert.- Returns:
- a corresponding
DataPolicy
for the givenRegionShortcut
. - See Also:
-