com.netflix.atlas.core.model.ConstantBlock
Simple block type where all data points have the same value.
Value parameters
size
number of data points to store in the block
start
start time for the block (epoch in milliseconds)
value
value for the data points
Attributes
Graph
Reset zoom Hide graph Show graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Members list
Number of bytes required to store this block in a simple binary representation.
Number of bytes required to store this block in a simple binary representation.
Attributes
Return the value for a given position in the block. All implementations should make this a constant time operation.
Return the value for a given position in the block. All implementations should make this a constant time operation.
Value parameters
pos
position to read, value should be in the interval [0,size).
Attributes
Return the value for a given position in the block. All implementations should make this a constant time operation. The default implementation assumes a single value.
Return the value for a given position in the block. All implementations should make this a constant time operation. The default implementation assumes a single value.
Value parameters
aggr
the aggregate value to read from the block
pos
position to read, value should be in the interval [0,size).
Attributes
Inherited from:
Block
Attributes
Inherited from:
Product
Attributes
Inherited from:
Product
Used to get a quick estimate of the size of numeric primatives and arrays of numeric primitives.
Used to get a quick estimate of the size of numeric primatives and arrays of numeric primitives.
Attributes
Inherited from:
Block
Returns a copy of the block as a simple array-backed block.
Returns a copy of the block as a simple array-backed block.
Attributes
Inherited from:
Block