forked from p53841790/wheat-cache
22 lines
347 B
Go
22 lines
347 B
Go
package middlemsg
|
|
|
|
import "time"
|
|
|
|
const LruCleanContextName = "lru-clean-context"
|
|
|
|
type LruCleanContext struct {
|
|
Keys []string
|
|
BeforeCleanSize int64
|
|
BehindCleanSize int64
|
|
|
|
StartTime time.Time
|
|
EndTime time.Time
|
|
}
|
|
|
|
const LruTTlContextName = "lru-ttl-context"
|
|
|
|
type LruTTlContext struct {
|
|
Keys []string
|
|
CleanTime time.Time
|
|
}
|