BlockStore

com.netflix.atlas.core.db.BlockStore
trait BlockStore

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def blockList: List[Block]
def cleanup(cutoff: Long): Unit

Removes all blocks where the start time is before the specified cutoff.

Removes all blocks where the start time is before the specified cutoff.

Attributes

def fetch(start: Long, end: Long, aggr: Int): Array[Double]
def get(start: Long): Option[Block]
def hasData: Boolean

Returns true if this block store has data.

Returns true if this block store has data.

Attributes

def update(timestamp: Long, value: Double, rollup: Boolean): Unit

Updates the store with a datapoint.

Updates the store with a datapoint.

Attributes

def update(timestamp: Long): Unit

Force and update with no data. This can be used to trigger the rotation and compression of the currently updating block if no data is received after the block boundary. The timestamp should be the start of the block to process.

Force and update with no data. This can be used to trigger the rotation and compression of the currently updating block if no data is received after the block boundary. The timestamp should be the start of the block to process.

Attributes