MemoryBlockStore

com.netflix.atlas.core.db.MemoryBlockStore
See theMemoryBlockStore companion object
class MemoryBlockStore(step: Long, blockSize: Int, numBlocks: Int) extends BlockStore

Attributes

Companion
object
Graph
Supertypes
trait BlockStore
class Object
trait Matchable
class Any

Members list

Value members

Concrete 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]
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any
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

def update(start: Long, values: List[Double]): Unit

Concrete fields

var hasData: Boolean

Returns true if this block store has data.

Returns true if this block store has data.

Attributes