Class ClientRegionShortcutToDataPolicyConverter

java.lang.Object
org.springframework.data.gemfire.client.ClientRegionShortcutToDataPolicyConverter
All Implemented Interfaces:
org.springframework.core.convert.converter.Converter<org.apache.geode.cache.client.ClientRegionShortcut,org.apache.geode.cache.DataPolicy>

public class ClientRegionShortcutToDataPolicyConverter extends Object implements org.springframework.core.convert.converter.Converter<org.apache.geode.cache.client.ClientRegionShortcut,org.apache.geode.cache.DataPolicy>
Spring Converter to convert a ClientRegionShortcut into a DataPolicy.
Since:
2.0.2
See Also:
  • Field Details

  • Constructor Details

    • ClientRegionShortcutToDataPolicyConverter

      public ClientRegionShortcutToDataPolicyConverter()
  • Method Details

    • convert

      @Nullable public org.apache.geode.cache.DataPolicy convert(org.apache.geode.cache.client.ClientRegionShortcut clientRegionShortcut)
      Converts the given ClientRegionShortcut into a corresponding DataPolicy.
      Specified by:
      convert in interface org.springframework.core.convert.converter.Converter<org.apache.geode.cache.client.ClientRegionShortcut,org.apache.geode.cache.DataPolicy>
      Parameters:
      clientRegionShortcut - ClientRegionShortcut to convert.
      Returns:
      a corresponding DataPolicy for the given ClientRegionShortcut.
      See Also:
      • ClientRegionShortcut
      • DataPolicy