seaweedfs/weed/filesys/dirty_pages.go

11 lines
284 B
Go
Raw Normal View History

2021-05-09 22:33:01 +00:00
package filesys
type DirtyPages interface {
AddPage(offset int64, data []byte)
FlushData() error
ReadDirtyDataAt(data []byte, startOffset int64) (maxStop int64)
GetStorageOptions() (collection, replication string)
2021-05-10 00:22:30 +00:00
SetWriteOnly(writeOnly bool)
GetWriteOnly() (writeOnly bool)
2021-05-09 22:33:01 +00:00
}