CompactionTrigger Delegate
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines a condition based on CompactionMessageIndex metrics used by a CompactionStrategy to determine when to trigger compaction and when the target compaction threshold has been met.
public delegate bool CompactionTrigger(CompactionMessageIndex index);
type CompactionTrigger = delegate of CompactionMessageIndex -> bool
Public Delegate Function CompactionTrigger(index As CompactionMessageIndex) As Boolean
Parameters
- index
- CompactionMessageIndex
An index over conversation messages that provides group, token, message, and turn metrics.
Return Value
true to indicate the condition has been met; otherwise false.