Documentation ¶
Index ¶
- type Disk
- func (s *Disk) AddVolume(volumeListString string, collection string, replicaPlacement string, ...) (err error)
- func (s *Disk) CheckCompactVolume(volumeIdString string, garbageThresholdString string) (error, bool)
- func (s *Disk) CommitCompactVolume(volumeIdString string) error
- func (s *Disk) CompactVolume(volumeIdString string) error
- func (s *Disk) Delete(i util.VIDType, n *needle.Needle) (uint32, error)
- func (s *Disk) DeleteVolume(vid util.VIDType) error
- func (s *Disk) FindVolume(vid util.VIDType) *volume.Volume
- func (s *Disk) HasVolume(i util.VIDType) bool
- func (s *Disk) ReadVolumeNeedle(i util.VIDType, n *needle.Needle) (int, error)
- func (s *Disk) Status() []*volume.VolumeInfo
- func (s *Disk) Write(i util.VIDType, n *needle.Needle) (size uint32, isUnchanged bool, err error)
- type Location
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Disk ¶
func (*Disk) CheckCompactVolume ¶
func (*Disk) CommitCompactVolume ¶
func (*Disk) CompactVolume ¶
func (*Disk) ReadVolumeNeedle ¶
func (*Disk) Status ¶
func (s *Disk) Status() []*volume.VolumeInfo
Click to show internal directories.
Click to hide internal directories.