question: 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 ) ; }
target:  Checks size is zero.