Constructor and Description |
---|
NamedMapFactory() |
Modifier and Type | Method and Description |
---|---|
static <K,V> NamedMap<K,V> |
getMap(String name)
Returns a
NamedMap instance for the given name. |
static <K,V> NamedMap<K,V> |
getMap(String name,
CustomSerializer<K> keySerializer,
CustomSerializer<V> valueSerializer)
Returns a
NamedMap instance for the given name, and assigns the specified custom key and value serializers to it. |
public static <K,V> NamedMap<K,V> getMap(String name)
NamedMap
instance for the given name.K
- key typeV
- value typename
- map namepublic static <K,V> NamedMap<K,V> getMap(String name, CustomSerializer<K> keySerializer, CustomSerializer<V> valueSerializer)
NamedMap
instance for the given name, and assigns the specified custom key and value serializers to it.K
- key typeV
- value typename
- map namekeySerializer
- custom serializer for the keysvalueSerializer
- custom serializer for the valuesCopyright (C) 2007-2014 ScaleOut Software, Inc.