Documentation ¶
Index ¶
- Constants
- type IoSegment
- type IoSegmentInfo
- type IoStats
- func (s *IoStats) BufferHit()
- func (s *IoStats) BufferHitRate() float64
- func (s *IoStats) Close()
- func (s *IoStats) RamHit()
- func (s *IoStats) RamHitRate() float64
- func (s *IoStats) ReadTimeRecord(d time.Duration)
- func (s *IoStats) SegmentReadTimeRecord(d time.Duration)
- func (s *IoStats) SegmentSkipped()
- func (s *IoStats) StorageHit()
- func (s *IoStats) String() string
- func (s *IoStats) Wrapped()
- func (s *IoStats) WriteTimeRecord(d time.Duration)
- type KVBoltDB
- type KVIoDB
- type Kvdb
Constants ¶
View Source
const ( KB = 1024 MB = 1024 * KB GB = 1024 * MB TB = 1024 * GB )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IoSegmentInfo ¶
type IoSegmentInfo struct {
// contains filtered or unexported fields
}
type IoStats ¶
type IoStats struct {
// contains filtered or unexported fields
}
func NewIoStats ¶
func NewIoStats() *IoStats
func (*IoStats) BufferHitRate ¶
func (*IoStats) RamHitRate ¶
func (*IoStats) ReadTimeRecord ¶
func (*IoStats) SegmentReadTimeRecord ¶
func (*IoStats) SegmentSkipped ¶
func (s *IoStats) SegmentSkipped()
func (*IoStats) StorageHit ¶
func (s *IoStats) StorageHit()
func (*IoStats) WriteTimeRecord ¶
type KVBoltDB ¶
type KVBoltDB struct {
// contains filtered or unexported fields
}
func NewKVBoltDB ¶
Click to show internal directories.
Click to hide internal directories.