refactor, change file locations
This commit is contained in:
10
weed/filesys/page_writer/dirty_pages.go
Normal file
10
weed/filesys/page_writer/dirty_pages.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package page_writer
|
||||
|
||||
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)
|
||||
}
|
||||
Reference in New Issue
Block a user