Hazelcast C++ Client
Public Member Functions | List of all members
hazelcast::client::MapEntryView< K, V > Class Template Reference

MapEntryView represents a readonly view of a map entry. More...

#include <MapEntryView.h>

Public Member Functions

 MapEntryView (std::auto_ptr< map::DataEntryView > v, serialization::pimpl::SerializationService &srv)
 Constructor.
 
std::auto_ptr< K > getKey () const
 
std::auto_ptr< V > getValue () const
 
long getCost () const
 
long getCreationTime () const
 
long getExpirationTime () const
 
long getHits () const
 
long getLastAccessTime () const
 
long getLastStoredTime () const
 
long getLastUpdateTime () const
 
long getVersion () const
 

Detailed Description

template<typename K, typename V>
class hazelcast::client::MapEntryView< K, V >

MapEntryView represents a readonly view of a map entry.

Member Function Documentation

◆ getCost()

template<typename K , typename V >
long hazelcast::client::MapEntryView< K, V >::getCost ( ) const
inline
Returns
Returns the cost for the map entry

◆ getCreationTime()

template<typename K , typename V >
long hazelcast::client::MapEntryView< K, V >::getCreationTime ( ) const
inline
Returns
Returns the map entry creation time

◆ getExpirationTime()

template<typename K , typename V >
long hazelcast::client::MapEntryView< K, V >::getExpirationTime ( ) const
inline
Returns
Returns the expiration time of the entry.

◆ getHits()

template<typename K , typename V >
long hazelcast::client::MapEntryView< K, V >::getHits ( ) const
inline
Returns
Returns the number of hits for the map entry

◆ getKey()

template<typename K , typename V >
std::auto_ptr<K> hazelcast::client::MapEntryView< K, V >::getKey ( ) const
inline
Returns
Returns the deserialized key object for the entry, performs lazy deserialization.

◆ getLastAccessTime()

template<typename K , typename V >
long hazelcast::client::MapEntryView< K, V >::getLastAccessTime ( ) const
inline
Returns
Returns the time that the map entry is last accessed

◆ getLastStoredTime()

template<typename K , typename V >
long hazelcast::client::MapEntryView< K, V >::getLastStoredTime ( ) const
inline
Returns
Returns the last that that the map entry is stored

◆ getLastUpdateTime()

template<typename K , typename V >
long hazelcast::client::MapEntryView< K, V >::getLastUpdateTime ( ) const
inline
Returns
Returns the time that the entry is last updated.

◆ getValue()

template<typename K , typename V >
std::auto_ptr<V> hazelcast::client::MapEntryView< K, V >::getValue ( ) const
inline
Returns
Returns the deserialized value object for the entry, performs lazy deserialization.

◆ getVersion()

template<typename K , typename V >
long hazelcast::client::MapEntryView< K, V >::getVersion ( ) const
inline
Returns
Returns the version of the map entry.

The documentation for this class was generated from the following file: