private static void Administration(CacheNode node,int amount) { for (var i = 0; i < amount; i++) { node.PostResourceFromScratch(); node.PostResourceFromScratch("Client1"); node.PostResourceFromScratch("Client2"); node.PostResourceFromScratch("Client3"); node.PostResourceFromScratch("Client4"); node.QueryResourceByOtherResource(); node.GetQueriedResource(); node.PostResourceFromScratch(); } node.ClearMemory(0); }
private static void Administration(CacheNode node, int amount) { for (var i = 0; i < amount; i++) { node.PostResourceFromScratch(); node.PostResourceFromScratch("Client1"); node.PostResourceFromScratch("Client2"); node.PostResourceFromScratch("Client3"); node.PostResourceFromScratch("Client4"); node.QueryResourceByOtherResource(); node.GetQueriedResource(); node.PostResourceFromScratch(); } node.ClearMemory(0); }