seaweedfs/weed/filesys/page_writer/dirty_pages.go
2021-12-20 01:11:43 -08:00

9 lines
225 B
Go

package page_writer
type DirtyPages interface {
AddPage(offset int64, data []byte)
FlushData() error
ReadDirtyDataAt(data []byte, startOffset int64) (maxStop int64)
GetStorageOptions() (collection, replication string)
}