src/storage/source/SetCachePageIterator.cc
SetCachePageIterator::SetCachePageIterator(PageCachePtr cache, UserSet* set) {
    this->cache = cache;
    this->set = set;
    this->iter = this->set->getDirtyPageSet()->begin();
}
// NOTE: the constructor can only be invoked in UserSet::getIterators(), where it will be protected
// by lockDirtyPageSet();
the constructor can only be invoked in UserSet::getIterators(), where it will be protected
by lockDirtyPageSet().
the constructor can only be invoked in UserSet :: getIterators () where it will be protected by lockDirtyPageSet () .
SetCachePageIterator::SetCachePageIterator(PageCachePtr cache, UserSet* set) {
    this->cache = cache;
    this->set = set;
    this->iter = this->set->getDirtyPageSet()->begin();
}
SetCachePageIterator :: SetCachePageIterator ( PageCachePtr cache , UserSet * set ) { this -> cache = cache ; this -> set = set ; this -> iter = this -> set -> getDirtyPageSet ( ) -> begin ( ) ; }
NOTE: the constructor can only be invoked in UserSet::getIterators(), where it will be protected
by lockDirtyPageSet();
NOTE : the constructor can only be invoked in UserSet :: getIterators () where it will be protected by lockDirtyPageSet () ;