MCPcopy
hub / github.com/grafana/tempo / GetCompactionInput

Method GetCompactionInput

modules/backendscheduler/work/job.go:126–136  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

124}
125
126func (j *Job) GetCompactionInput() []string {
127 j.mtx.Lock()
128 defer j.mtx.Unlock()
129
130 switch j.Type {
131 case tempopb.JobType_JOB_TYPE_COMPACTION:
132 return j.JobDetail.Compaction.Input
133 default:
134 return nil
135 }
136}
137
138func (j *Job) GetCompactionOutput() []string {
139 j.mtx.Lock()

Calls

no outgoing calls