Documentation
¶
Index ¶
Constants ¶
View Source
const ( SQLQueryRetryCounter = "sql_query_retry_count" SQLQueryEndCounter = "sql_query_end_counter" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Measures ¶
func NewMeasures ¶
type Option ¶
type Option func(r *retryConfig)
func WithInterval ¶
func WithIntervalMultiplier ¶
func WithMeasures ¶
func WithRetries ¶
type RetryInsertService ¶
type RetryInsertService struct {
// contains filtered or unexported fields
}
func CreateRetryInsertService ¶
func CreateRetryInsertService(inserter db.Inserter, options ...Option) RetryInsertService
func (RetryInsertService) InsertRecords ¶
func (ri RetryInsertService) InsertRecords(records ...db.Record) error
type RetryListGService ¶
type RetryListGService struct {
// contains filtered or unexported fields
}
func CreateRetryListGService ¶
func CreateRetryListGService(listGetter blacklist.Updater, options ...Option) RetryListGService
func (RetryListGService) GetBlacklist ¶
func (ltg RetryListGService) GetBlacklist() (list []blacklist.BlackListedItem, err error)
type RetryRGService ¶
type RetryRGService struct {
// contains filtered or unexported fields
}
func CreateRetryRGService ¶
func CreateRetryRGService(recordGetter db.RecordGetter, options ...Option) RetryRGService
func (RetryRGService) GetRecords ¶
func (RetryRGService) GetRecordsOfType ¶
type RetryUpdateService ¶
type RetryUpdateService struct {
// contains filtered or unexported fields
}
func CreateRetryUpdateService ¶
func CreateRetryUpdateService(pruner db.Pruner, options ...Option) RetryUpdateService
func (RetryUpdateService) GetRecordIDs ¶
func (RetryUpdateService) PruneRecords ¶
func (ru RetryUpdateService) PruneRecords(records []int) error
Click to show internal directories.
Click to hide internal directories.