@ Override public int size ( ) { int size = 0 ; for ( SimpleCache < K , V > cache : cacheRegions ) { size += cache . size ( ) ; } return size ; }
Get the size of the cache . This is not 100% accurate if cache is being concurrenly accessed .