class StreamStatusMetricService {

    @CachedGauge(absolute = true, name = "streams.names", timeout = 30, timeoutUnit = TimeUnit.SECONDS)
    public List<String> getStreamNames() {
        Map<String, StreamStatusDTO> streams = streamStatusDao.getAll();
        List<String> result = new ArrayList<>();
        for (StreamStatusDTO stream : streams.values()) {
            result.add(stream.getStreamName());
        }
        return result;
    }

    public  StreamStatusMetricService(StreamStatusDao streamStatusDao);

}