Mapper

com.netflix.atlas.core.util.Shards.Mapper
class Mapper[T](groups: Array[Group[T]])

Mapper for finding the instance that should receive data for an id or index of a file.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def instanceForId(id: BigInteger): T

Return the instance that should receive the data associated with id.

Return the instance that should receive the data associated with id.

Attributes

def instanceForId(id: ItemId): T

Return the instance that should receive the data associated with id.

Return the instance that should receive the data associated with id.

Attributes

def instanceForIndex(i: Int): T

Return the instance that should receive the data for the file with the specified index.

Return the instance that should receive the data for the file with the specified index.

Attributes