void function ( final long arg0 , final long arg1 ) { synchronized ( listeners ) { for ( Entry loc0 : listeners ) { if ( arg0 >= loc0 . threshold ) { loc0 . listener . memoryUsageNotification ( arg0 , arg1 ) ; } } } }
notifies all listeners that memory is running short . concode_field_sep LinkedList<Entry> listeners concode_elem_sep long lowThreshold concode_elem_sep Listener listener concode_elem_sep long threshold concode_elem_sep int MAX_PERCENTAGE concode_field_sep long getLowThreshold concode_elem_sep Logger getLogger concode_elem_sep long convertPercentageToThreshold concode_elem_sep boolean removeListener concode_elem_sep void updateListenerThreshold concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep void removeAllListener concode_elem_sep int usagePercentage concode_elem_sep void resetFromTest concode_elem_sep long generateLowThreshold concode_elem_sep int convertThresholdToPercentage concode_elem_sep void notifyNewLowThreshold concode_elem_sep int getDefaultThresholdPercentage concode_elem_sep boolean addListener concode_elem_sep boolean addListener