seaweedfs/weed/storage/needle/needle_value_map.go

9 lines
216 B
Go
Raw Normal View History

2017-05-27 05:51:25 +00:00
package needle
type NeedleValueMap interface {
Set(key Key, offset, size uint32) (oldOffset, oldSize uint32)
Delete(key Key) uint32
Get(key Key) (*NeedleValue, bool)
Visit(visit func(NeedleValue) error) error
}