aboutsummaryrefslogtreecommitdiff
path: root/weed/filesys/dirty_pages.go
blob: 8505323ef37ecc3c6f66548a51a8573c150947bd (plain)
1
2
3
4
5
6
7
8
9
10
package filesys

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