NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
in-memory-storage-persistent.hpp
Go to the documentation of this file.
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
22 #ifndef NDN_UTIL_IN_MEMORY_STORAGE_PERSISTENT_HPP
23 #define NDN_UTIL_IN_MEMORY_STORAGE_PERSISTENT_HPP
24 
25 #include "in-memory-storage.hpp"
26 
27 namespace ndn {
28 namespace util {
29 
34 {
35 public:
37 
38  explicit
39  InMemoryStoragePersistent(boost::asio::io_service& ioService);
40 
41  virtual
43 
51  virtual bool
53 };
54 
55 } // namespace util
56 } // namespace ndn
57 
58 #endif // NDN_UTIL_IN_MEMORY_STORAGE_PERSISTENT_HPP
Copyright (c) 2011-2015 Regents of the University of California.
virtual bool evictItem()=0
Removes one Data packet from in-memory storage based on derived class implemented replacement policy...
Represents in-memory storage.
Provides application cache with persistent storage, of which no replacement policy will be employed...
#define NDN_CXX_PUBLIC_WITH_TESTS_ELSE_PROTECTED
Definition: common.hpp:42