Skip to content

Commit

Permalink
Added info Docs to the Eviction struct
Browse files Browse the repository at this point in the history
Signed-off-by: EdricCua <[email protected]>
  • Loading branch information
EdricCua committed Jan 3, 2025
1 parent 7aedc52 commit c37233a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion go/api/command_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -359,8 +359,11 @@ func (restoreOption *RestoreOptions) SetABSTTL() *RestoreOptions {
return restoreOption
}

// For eviction purpose, you may use IDLETIME or FREQ modifiers.
type Eviction struct {
Type EvictionType
// It represent IDLETIME or FREQ.
Type EvictionType
// It represents count(int) of the idletime/frequency of object.
Count int64
}

Expand Down

0 comments on commit c37233a

Please sign in to comment.