Documentation
¶
Index ¶
- Constants
- type ScrubCommDTask
- func (c *ScrubCommDTask) Adder(taskFunc harmonytask.AddTaskFunc)
- func (c *ScrubCommDTask) CanAccept(ids []harmonytask.TaskID, engine *harmonytask.TaskEngine) (*harmonytask.TaskID, error)
- func (c *ScrubCommDTask) Do(taskID harmonytask.TaskID, stillOwned func() bool) (done bool, err error)
- func (c *ScrubCommDTask) TypeDetails() harmonytask.TaskTypeDetails
Constants ¶
View Source
const MinSchedInterval = 100 * time.Second
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ScrubCommDTask ¶
type ScrubCommDTask struct {
// contains filtered or unexported fields
}
func NewCommDCheckTask ¶
func NewCommDCheckTask(db *harmonydb.DB, sc *ffi.SealCalls) *ScrubCommDTask
func (*ScrubCommDTask) Adder ¶
func (c *ScrubCommDTask) Adder(taskFunc harmonytask.AddTaskFunc)
func (*ScrubCommDTask) CanAccept ¶
func (c *ScrubCommDTask) CanAccept(ids []harmonytask.TaskID, engine *harmonytask.TaskEngine) (*harmonytask.TaskID, error)
func (*ScrubCommDTask) Do ¶
func (c *ScrubCommDTask) Do(taskID harmonytask.TaskID, stillOwned func() bool) (done bool, err error)
func (*ScrubCommDTask) TypeDetails ¶
func (c *ScrubCommDTask) TypeDetails() harmonytask.TaskTypeDetails
Click to show internal directories.
Click to hide internal directories.