Documentation ¶
Index ¶
- type VolatilityMonitor
- func (i *VolatilityMonitor) Add(block int)
- func (i *VolatilityMonitor) AddAll()
- func (i *VolatilityMonitor) CancelWrites(offset int64, length int64)
- func (i *VolatilityMonitor) Close() error
- func (i *VolatilityMonitor) Flush() error
- func (i *VolatilityMonitor) GetNext() *storage.BlockInfo
- func (i *VolatilityMonitor) GetTotalVolatility() int
- func (i *VolatilityMonitor) GetVolatility(block int) int
- func (i *VolatilityMonitor) ReadAt(buffer []byte, offset int64) (int, error)
- func (i *VolatilityMonitor) Remove(block int)
- func (i *VolatilityMonitor) SendSiloEvent(eventType storage.EventType, eventData storage.EventData) []storage.EventReturnData
- func (i *VolatilityMonitor) Size() uint64
- func (i *VolatilityMonitor) WriteAt(buffer []byte, offset int64) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VolatilityMonitor ¶
type VolatilityMonitor struct { storage.ProviderWithEvents // contains filtered or unexported fields }
func NewVolatilityMonitor ¶
func (*VolatilityMonitor) Add ¶
func (i *VolatilityMonitor) Add(block int)
func (*VolatilityMonitor) AddAll ¶
func (i *VolatilityMonitor) AddAll()
func (*VolatilityMonitor) CancelWrites ¶ added in v0.0.5
func (i *VolatilityMonitor) CancelWrites(offset int64, length int64)
func (*VolatilityMonitor) Close ¶
func (i *VolatilityMonitor) Close() error
func (*VolatilityMonitor) Flush ¶
func (i *VolatilityMonitor) Flush() error
func (*VolatilityMonitor) GetNext ¶
func (i *VolatilityMonitor) GetNext() *storage.BlockInfo
func (*VolatilityMonitor) GetTotalVolatility ¶
func (i *VolatilityMonitor) GetTotalVolatility() int
func (*VolatilityMonitor) GetVolatility ¶
func (i *VolatilityMonitor) GetVolatility(block int) int
func (*VolatilityMonitor) ReadAt ¶
func (i *VolatilityMonitor) ReadAt(buffer []byte, offset int64) (int, error)
func (*VolatilityMonitor) Remove ¶
func (i *VolatilityMonitor) Remove(block int)
func (*VolatilityMonitor) SendSiloEvent ¶ added in v0.0.10
func (i *VolatilityMonitor) SendSiloEvent(eventType storage.EventType, eventData storage.EventData) []storage.EventReturnData
Relay events to embedded StorageProvider
func (*VolatilityMonitor) Size ¶
func (i *VolatilityMonitor) Size() uint64
Click to show internal directories.
Click to hide internal directories.