Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { RetentionInterval time.Duration DLQRetentionInterval time.Duration SingleCGVisibleExtentGracePeriod time.Duration ExtentDeleteDeferPeriod time.Duration NumWorkers int LocalZone string }
Options are the options used to initialize RetentionManager
type RetentionManager ¶
RetentionManager context
func New ¶
func New(opts *Options, metadata metadata.TChanMetadataService, clientFactory common.ClientFactory, m3Client metrics.Client, logger bark.Logger) *RetentionManager
New initializes context for a new instance of retention manager
func (*RetentionManager) Run ¶
func (t *RetentionManager) Run()
Run does a 'one-shot' run of retention manager
func (*RetentionManager) Start ¶
func (t *RetentionManager) Start()
Start starts the various go-routines asynchronously
Click to show internal directories.
Click to hide internal directories.