private void checkEmpty(){
  for (int i=0; i < gridCount(); i++) {
    IgniteCache<Integer,String> cache=jcache(i);
    assertEquals(0,cache.localSize());
    assertEquals(0,cache.size());
    for (    CachePeekMode peekMode : CachePeekMode.values()) {
      assertEquals(0,cache.localSize(peekMode));
      assertEquals(0,cache.size(peekMode));
    }
  }
  checkPrimarySize(0);
}

private void checkEmpty ( ) { for ( int i = 0 ; i < gridCount ( ) ; i ++ ) { IgniteCache < Integer , String > cache = jcache ( i ) ; assertEquals ( 0 , cache . localSize ( ) ) ; assertEquals ( 0 , cache . size ( ) ) ; for ( CachePeekMode peekMode : CachePeekMode . values ( ) ) { assertEquals ( 0 , cache . localSize ( peekMode ) ) ; assertEquals ( 0 , cache . size ( peekMode ) ) ; } } checkPrimarySize ( 0 ) ; }
checks size is zero .
