mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
11 lines
288 B
Go
11 lines
288 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)
|
|
SetWriteOnly(writeOnly bool)
|
|
GetWriteOnly() (writeOnly bool)
|
|
}
|