protected boolean isDuplicate ( String eventID ) { if ( this . receivedEvents == null ) { this . receivedEvents = new LRUCache < String > ( ) ; } return ! this . receivedEvents . add ( eventID ) ; }
Indicates whether or not an event ID is a duplicate .