com.hazelcast.map.impl
Class EntryViews

java.lang.Object
  extended by com.hazelcast.map.impl.EntryViews

public final class EntryViews
extends Object

A class providing static factory methods that create various entry view objects.


Method Summary
static
<K,V> EntryView<K,V>
convertToLazyEntryView(EntryView 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.