public class ClientRegionShortcutToDataPolicyConverter extends Object implements Converter<org.apache.geode.cache.client.ClientRegionShortcut,org.apache.geode.cache.DataPolicy>
DataPolicy
,
ClientRegionShortcut
,
Converter
,
ClientRegionShortcutWrapper
Modifier and Type | Field and Description |
---|---|
static ClientRegionShortcutToDataPolicyConverter |
INSTANCE |
Constructor and Description |
---|
ClientRegionShortcutToDataPolicyConverter() |
Modifier and Type | Method and Description |
---|---|
org.apache.geode.cache.DataPolicy |
convert(org.apache.geode.cache.client.ClientRegionShortcut clientRegionShortcut)
Converts the given
ClientRegionShortcut into a corresponding DataPolicy . |
public static final ClientRegionShortcutToDataPolicyConverter INSTANCE
public ClientRegionShortcutToDataPolicyConverter()
@Nullable public org.apache.geode.cache.DataPolicy convert(org.apache.geode.cache.client.ClientRegionShortcut clientRegionShortcut)
ClientRegionShortcut
into a corresponding DataPolicy
.convert
in interface Converter<org.apache.geode.cache.client.ClientRegionShortcut,org.apache.geode.cache.DataPolicy>
regionShortcut
- ClientRegionShortcut
to convert.DataPolicy
for the given ClientRegionShortcut
.ClientRegionShortcut
,
DataPolicy
Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.