forked from TrueCloudLab/frostfs-node
16 lines
317 B
Go
16 lines
317 B
Go
package blobovnicza
|
|
|
|
type Metrics interface {
|
|
IncOpenCount()
|
|
DecOpenCount()
|
|
|
|
IncSize(size uint64)
|
|
DecSize(size uint64)
|
|
}
|
|
|
|
type noopMetrics struct{}
|
|
|
|
func (m *noopMetrics) IncOpenCount() {}
|
|
func (m *noopMetrics) DecOpenCount() {}
|
|
func (m *noopMetrics) IncSize(uint64) {}
|
|
func (m *noopMetrics) DecSize(uint64) {}
|