com.hazelcast.map.impl
Class EntryViews
java.lang.Object
com.hazelcast.map.impl.EntryViews
public final class EntryViews
- extends Object
A class providing static factory methods that create various entry view objects.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
createNullEntryView
public static <K,V> EntryView<K,V> createNullEntryView(K key)
- Creates a null entry view that has only key and no value.
- Type Parameters:
K
- the type of key.V
- the type of value.- Parameters:
key
- the key object which will be wrapped in EntryView
.
- Returns:
- returns null entry view.
createSimpleEntryView
public static <K,V> EntryView<K,V> createSimpleEntryView(K key,
V value,
Record record)
createSimpleEntryView
public static <K,V> EntryView<K,V> createSimpleEntryView()
createLazyEntryView
public static <K,V> EntryView<K,V> createLazyEntryView(K key,
V value,
Record record,
SerializationService serializationService,
MapMergePolicy mergePolicy)
convertToLazyEntryView
public static <K,V> EntryView<K,V> convertToLazyEntryView(EntryView entryView,
SerializationService serializationService,
MapMergePolicy mergePolicy)
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.