Block

com.netflix.atlas.core.model.Block
See theBlock companion trait
object Block

Helper functions for working with blocks.

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Block.type

Members list

Value members

Concrete methods

def add(block1: Block, block2: Block): Block

Add the data from two blocks.

Add the data from two blocks.

Attributes

def compress(block: ArrayBlock): Block

Attempts to compress an array block into a more compact type. If compression fails to provide savings the orignal block will be returned.

Attempts to compress an array block into a more compact type. If compression fails to provide savings the orignal block will be returned.

Attributes

Compresses a block if it is not already a compressed type.

Compresses a block if it is not already a compressed type.

Attributes

Attempts to compress an array block into a more compact type including options that may lead to some loss of precision.

Attempts to compress an array block into a more compact type including options that may lead to some loss of precision.

Attributes

def merge(block1: Block, block2: Block): Block

Merge the data from two blocks. The general policy is that a value is preferred over NaN. If there are different values for a given time the larger value will be selected.

Merge the data from two blocks. The general policy is that a value is preferred over NaN. If there are different values for a given time the larger value will be selected.

Attributes

Concrete fields

final val Count: 1
val MAX_SIZE: Int
final val Max: 3
final val Min: 2
final val Sum: 0