public synchronized void accept ( CacheVisitor < K , V > visitor ) { expungeExpiredEntries ( ) ; Map < K , V > cached = getCachedEntries ( ) ; visitor . visit ( cached ) ; }
it is a heavyweight method .