protected < T extends DSet . Entry > void requestEntryRemove ( String name , DSet < T > set , Comparable < ? > key ) { // if we're on the authoritative server, we update the set immediately T oldEntry = null ; if ( isAuthoritative ( ) ) { oldEntry = set . removeKey ( key ) ; if ( oldEntry == null ) { log . warning ( "Requested to remove non-element" , "set" , name , "key" , key , new Exception ( ) ) ; } } // dispatch an entry removed event postEvent ( new EntryRemovedEvent < T > ( _oid , name , key ) . setOldEntry ( oldEntry ) ) ; }
Calls by derived instances when a set remover method was called .