Exemple #1
0
 public PagingCache(pagingAlgorithems pagingAlgorithem, bool usesPriority, pageInHandeler pageInEvent)
 {
     this.pagingAlgorithem = pagingAlgorithem;
     this.usesPriority     = usesPriority;
     this.pageInEvent      = pageInEvent;
     pageOutEvent          = null;
     pageSizeEvent         = null;
     pages = new ArrayList();
 }
Exemple #2
0
 protected PagingCache(PagingCache b)
 {
     this.cacheSizeBytes   = b.cacheSizeBytes;
     this.pages            = (ArrayList)b.pages.Clone();
     this.pagingAlgorithem = b.pagingAlgorithem;
     this.usesPriority     = b.usesPriority;
     this.pageInEvent      = b.pageInEvent;
     this.pageOutEvent     = b.pageOutEvent;
     this.pageSizeEvent    = b.pageSizeEvent;
 }