Example #1
0
 private static void MaintanceWork(CacheNode node)
 {
     node.QueryAllOfSomeResource();
     node.GetAllQueriedResource();
     node.GetResource();
     node.PostResourceFromMemory();
     node.QueryResourceByOtherResource();
     node.GetAllQueriedResource();
     node.PostResourceFromMemory();
     node.PostResourceFromMemory();
     node.PostResourceFromMemory();
     node.PostResourceFromMemory();
     node.PostResourceFromScratch();
     node.GetResource();
     node.QueryResourceByOtherResource();
     node.GetAllQueriedResource();
     node.PostResourceFromMemory();
     node.PostResourceFromMemory();
     node.ClearMemory(500);
 }
Example #2
0
 private static void MaintanceWork(CacheNode node)
 {
     node.QueryAllOfSomeResource();
     node.GetAllQueriedResource();          
     node.GetResource();
     node.PostResourceFromMemory();
     node.QueryResourceByOtherResource();
     node.GetAllQueriedResource(); 
     node.PostResourceFromMemory();
     node.PostResourceFromMemory();
     node.PostResourceFromMemory();
     node.PostResourceFromMemory();
     node.PostResourceFromScratch();
     node.GetResource();
     node.QueryResourceByOtherResource();              
     node.GetAllQueriedResource(); 
     node.PostResourceFromMemory();
     node.PostResourceFromMemory();
     node.ClearMemory(500);
 }