Documentation ¶
Index ¶
- type BackoffInfo
- type BackoffManager
- func (bm *BackoffManager) CheckAndHandleBackoff(inst int32, attemptedBal lwcproto.ConfigBal, preempter lwcproto.ConfigBal, ...) (bool, int32)
- func (bm *BackoffManager) ClearBackoff(inst int32)
- func (bm *BackoffManager) ShouldBackoff(inst int32, preempter lwcproto.ConfigBal, preempterPhase stdpaxosproto.Phase) bool
- func (bm *BackoffManager) StillRelevant(backoff RetryInfo) bool
- type IntRange
- type RetryInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackoffInfo ¶
type BackoffInfo struct {
// contains filtered or unexported fields
}
type BackoffManager ¶
type BackoffManager struct { BackoffInfo // contains filtered or unexported fields }
func BackoffManagerNew ¶
func (*BackoffManager) CheckAndHandleBackoff ¶
func (bm *BackoffManager) CheckAndHandleBackoff(inst int32, attemptedBal lwcproto.ConfigBal, preempter lwcproto.ConfigBal, prempterPhase stdpaxosproto.Phase) (bool, int32)
func (*BackoffManager) ClearBackoff ¶
func (bm *BackoffManager) ClearBackoff(inst int32)
func (*BackoffManager) ShouldBackoff ¶
func (bm *BackoffManager) ShouldBackoff(inst int32, preempter lwcproto.ConfigBal, preempterPhase stdpaxosproto.Phase) bool
func (*BackoffManager) StillRelevant ¶
func (bm *BackoffManager) StillRelevant(backoff RetryInfo) bool
Click to show internal directories.
Click to hide internal directories.