com.netflix.atlas.core.index.BatchUpdateTagIndex
See theBatchUpdateTagIndex companion object
class BatchUpdateTagIndex[T <: TaggedItem](registry: Registry, newIndex: (Array[T]) => TagIndex[T])(implicit evidence$1: ClassTag[T]) extends MutableTagIndex[T]
Mutable tag index that batches updates and atomically swaps in a new index in the background at a configured interval.
Value parameters
- newIndex
-
Function to create a new index from the set of items.
- registry
-
Spectator registry to use for reporting metrics.
Attributes
- Companion
- object
- Graph
-
- Supertypes
Members list
In this article