void notifyListener ( ) { Node < K , V > node ; while ( ( node = pendingNotifications . poll ( ) ) != null ) { listener . onEviction ( node . key , node . getValue ( ) ) ; } }
Notifies the listener of entries that were evicted .