frostfs-node/pkg/local_object_storage/blobovnicza/metrics.go
Dmitrii Stepanov c4e1d8eb07 [#602] node: Fix blobovnicza typos
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2023-08-18 11:14:10 +03:00

16 lines
429 B
Go

package blobovnicza
type Metrics interface {
IncOpenBlobovniczaCount()
DecOpenBlobovniczaCount()
AddOpenBlobovniczaSize(size uint64)
SubOpenBlobovniczaSize(size uint64)
}
type NoopMetrics struct{}
func (m *NoopMetrics) IncOpenBlobovniczaCount() {}
func (m *NoopMetrics) DecOpenBlobovniczaCount() {}
func (m *NoopMetrics) AddOpenBlobovniczaSize(uint64) {}
func (m *NoopMetrics) SubOpenBlobovniczaSize(uint64) {}