class StreamStatusMetricService {

    @CachedGauge(absolute = true, name = "streams.count", timeout = 30, timeoutUnit = TimeUnit.SECONDS)
    public int getTotalStreams() {
        return streamStatusDao.getAll().size();
    }

    public  StreamStatusMetricService(StreamStatusDao streamStatusDao);

}