Class/Object

com.netflix.atlas.core.index

BatchUpdateTagIndex

Related Docs: object BatchUpdateTagIndex | package index

Permalink

class BatchUpdateTagIndex[T <: TaggedItem] extends MutableTagIndex[T]

Mutable tag index that batches updates and atomically swaps in a new index in the background at a configured interval.

Linear Supertypes
MutableTagIndex[T], TagIndex[T], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BatchUpdateTagIndex
  2. MutableTagIndex
  3. TagIndex
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BatchUpdateTagIndex(registry: Registry, newIndex: (Array[T]) ⇒ TagIndex[T])(implicit arg0: ClassTag[T])

    Permalink

    registry

    Spectator registry to use for reporting metrics.

    newIndex

    Function to create a new index from the set of items.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def buildTime: Long

    Permalink

    Returns the timestamp for when the current index was built.

  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def findItems(query: TagQuery): List[T]

    Permalink
    Definition Classes
    BatchUpdateTagIndexTagIndex
  10. def findKeys(query: TagQuery): List[String]

    Permalink
    Definition Classes
    BatchUpdateTagIndexTagIndex
  11. def findTags(query: TagQuery): List[Tag]

    Permalink
    Definition Classes
    BatchUpdateTagIndexTagIndex
  12. def findValues(query: TagQuery): List[String]

    Permalink
    Definition Classes
    BatchUpdateTagIndexTagIndex
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  19. def numPending: Int

    Permalink

    Returns the number of pending updates.

  20. def rebuildIndex(items: List[T]): Unit

    Permalink
  21. def rebuildIndex(): Unit

    Permalink

    Rebuild the index to include all of the pending updates that have accumulated.

    Rebuild the index to include all of the pending updates that have accumulated. Any expired items will also be removed.

  22. def size: Int

    Permalink
    Definition Classes
    BatchUpdateTagIndexTagIndex
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  25. def update(items: List[T]): Unit

    Permalink

    Update the index with the given items.

    Update the index with the given items.

    Definition Classes
    BatchUpdateTagIndexMutableTagIndex
  26. def update(item: T): Unit

    Permalink
  27. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from MutableTagIndex[T]

Inherited from TagIndex[T]

Inherited from AnyRef

Inherited from Any

Ungrouped