20#ifndef GEODE_CACHESTATISTICS_H_
21#define GEODE_CACHESTATISTICS_H_
26#include "internal/geode_globals.hpp"
50 typedef std::chrono::system_clock::time_point time_point;
100 virtual void setLastAccessedTime(time_point lat);
101 virtual void setLastModifiedTime(time_point lmt);
103 std::atomic<time_point::duration::rep> m_lastAccessTime;
104 std::atomic<time_point::duration::rep> m_lastModifiedTime;
106 friend class LocalRegion;
Defines common statistical information for both the region and its entries.
Definition: CacheStatistics.hpp:48
virtual time_point getLastAccessedTime() const
For an entry, returns the last time it was accessed via Region.get.
virtual time_point getLastModifiedTime() const
For an entry, returns the time that the entry's value was last modified.