public final class EntryViews extends Object
Modifier and Type | Method and Description |
---|---|
static <K,V> EntryView<K,V> |
convertToLazyEntryView(EntryView<K,V> entryView,
SerializationService serializationService,
MapMergePolicy mergePolicy) |
static <K,V> EntryView<K,V> |
createLazyEntryView(K key,
V value,
Record record,
SerializationService serializationService,
MapMergePolicy mergePolicy) |
static <K,V> EntryView<K,V> |
createNullEntryView(K key)
Creates a null entry view that has only key and no value.
|
static <K,V> EntryView<K,V> |
createSimpleEntryView() |
static <K,V> EntryView<K,V> |
createSimpleEntryView(K key,
V value,
Record record) |
static EntryView<Data,Data> |
toSimpleEntryView(Record<Data> record) |
public static <K,V> EntryView<K,V> createNullEntryView(K key)
K
- the type of key.V
- the type of value.key
- the key object which will be wrapped in EntryView
.public static <K,V> EntryView<K,V> createSimpleEntryView()
public static <K,V> EntryView<K,V> createSimpleEntryView(K key, V value, Record record)
public static <K,V> EntryView<K,V> createLazyEntryView(K key, V value, Record record, SerializationService serializationService, MapMergePolicy mergePolicy)
public static <K,V> EntryView<K,V> convertToLazyEntryView(EntryView<K,V> entryView, SerializationService serializationService, MapMergePolicy mergePolicy)
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.