class MeteredSegmentedBytesStore extends WrappedStateStore.AbstractStateStore implements SegmentedBytesStore {

    @Override
    public byte[] get(final Bytes key) {
        final long startNs = time.nanoseconds();
        try {
            return inner.get(key);
        } finally {
            this.metrics.recordLatency(this.getTime, startNs, time.nanoseconds());
        }
    }

      MeteredSegmentedBytesStore(final SegmentedBytesStore inner,
                               final String metricScope,
                               final Time time);

}