@Override
    public String getName(EventBufferHolder eventBufferHolder) {
        if (registeredObjects.get(eventBufferHolder) != null) {
            return registeredObjects.get(eventBufferHolder).getName();
        } else {
            return null;
        }
    }
@param eventBufferHolder Event buffer holder
@return Name of the BufferedEvents tracker.
modules/siddhi-core/src/main/java/io/siddhi/core/util/statistics/metrics/SiddhiBufferedEventsMetric.java