Mutable buffer for efficiently manipulating metric data.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait LazyTaggedItemtrait TimeSeqtrait TimeSeriestrait TaggedItemclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Add the corresponding positions of the two buffers. The buffers must have the same settings.
Add the corresponding positions of the two buffers. The buffers must have the same settings.
Attributes
Add a constant value to all positions of this buffer.
Add a constant value to all positions of this buffer.
Attributes
Returns a new buffer with values consolidated to a larger step size.
Returns a new buffer with values consolidated to a larger step size.
Attributes
Create a deep copy of this buffer.
Create a deep copy of this buffer.
Attributes
Updates each position by 1 if the corresponding position in the other buffer is a valid number, i.e., is not equal NaN. The buffers must have the same settings. The tags for the new buffer will be the intersection.
Updates each position by 1 if the corresponding position in the other buffer is a valid number, i.e., is not equal NaN. The buffers must have the same settings. The tags for the new buffer will be the intersection.
Attributes
Divide the corresponding positions of the two buffers. The buffers must have the same settings. The tags for the new buffer will be the intersection.
Divide the corresponding positions of the two buffers. The buffers must have the same settings. The tags for the new buffer will be the intersection.
Attributes
Divide a constant value to all positions of this buffer.
Divide a constant value to all positions of this buffer.
Attributes
Compares the receiver object (this
) with the argument object (that
) for equivalence.
Compares the receiver object (this
) with the argument object (that
) for equivalence.
Any implementation of this method should be an equivalence relation:
- It is reflexive: for any instance
x
of typeAny
,x.equals(x)
should returntrue
. - It is symmetric: for any instances
x
andy
of typeAny
,x.equals(y)
should returntrue
if and only ify.equals(x)
returnstrue
. - It is transitive: for any instances
x
,y
, andz
of typeAny
ifx.equals(y)
returnstrue
andy.equals(z)
returnstrue
, thenx.equals(z)
should returntrue
.
If you override this method, you should verify that your implementation remains an equivalence relation. Additionally, when overriding this method it is usually necessary to override hashCode
to ensure that objects which are "equal" (o1.equals(o2)
returns true
) hash to the same scala.Int. (o1.hashCode.equals(o2.hashCode)
).
Value parameters
- that
-
the object to compare against this object for equality.
Attributes
- Returns
-
true
if the receiver object is equivalent to the argument;false
otherwise. - Definition Classes
-
Any
Calculates a hash code value for the object.
Calculates a hash code value for the object.
The default hashing algorithm is platform dependent.
Note that it is allowed for two objects to have identical hash codes (o1.hashCode.equals(o2.hashCode)
) yet not be equal (o1.equals(o2)
returns false
). A degenerate implementation could always return 0
. However, it is required that if two objects are equal (o1.equals(o2)
returns true
) that they have identical hash codes (o1.hashCode.equals(o2.hashCode)
). Therefore, when overriding this method, be sure to verify that the behavior is consistent with the equals
method.
Attributes
- Returns
-
the hash code value for this object.
- Definition Classes
-
Any
Setup this buffer array as a count.
Setup this buffer array as a count.
Attributes
Returns true if the buffer is all NaN values.
Returns true if the buffer is all NaN values.
Attributes
Updates each position we the max value between the two buffers. The buffers must have the same settings. The tags for the new buffer will be the intersection.
Updates each position we the max value between the two buffers. The buffers must have the same settings. The tags for the new buffer will be the intersection.
Attributes
Merge with another metric buffer.
Merge with another metric buffer.
Attributes
Updates each position we the min value between the two buffers. The buffers must have the same settings. The tags for the new buffer will be the intersection.
Updates each position we the min value between the two buffers. The buffers must have the same settings. The tags for the new buffer will be the intersection.
Attributes
Multiply the corresponding positions of the two buffers. The buffers must have the same settings. The tags for the new buffer will be the intersection.
Multiply the corresponding positions of the two buffers. The buffers must have the same settings. The tags for the new buffer will be the intersection.
Attributes
Multiply a constant value to all positions of this buffer.
Multiply a constant value to all positions of this buffer.
Attributes
Returns a new buffer normalized to the specified settings.
Returns a new buffer normalized to the specified settings.
Attributes
Attributes
Subtract the corresponding positions of the two buffers. The buffers must have the same settings. The tags for the new buffer will be the intersection.
Subtract the corresponding positions of the two buffers. The buffers must have the same settings. The tags for the new buffer will be the intersection.
Attributes
Subtract a constant value to all positions of this buffer.
Subtract a constant value to all positions of this buffer.
Attributes
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
Returns a new buffer with values un-consolidated to a smaller step size.
Returns a new buffer with values un-consolidated to a smaller step size.
Attributes
Inherited methods
Attributes
- Inherited from:
- TimeSeries
Attributes
- Inherited from:
- TimeSeries
Attributes
- Inherited from:
- TimeSeq
Attributes
- Inherited from:
- TimeSeries
Attributes
- Inherited from:
- TimeSeries
Code that just needs to iterate over all tags should use this method. Allows for implementations to optimize how the tag data is stored and traversed.
Code that just needs to iterate over all tags should use this method. Allows for implementations to optimize how the tag data is stored and traversed.
Attributes
- Inherited from:
- TaggedItem
Fast loop with no intermediate object creation.
Standard string representation of the id.
Returns true if the item is expired and no data is available.
Attributes
- Inherited from:
- TimeSeries
Attributes
- Inherited from:
- TimeSeries
Attributes
- Inherited from:
- TimeSeries
Attributes
- Inherited from:
- TimeSeries
Attributes
- Inherited from:
- TimeSeries
Concrete fields
The tags associated with this item.
The tags associated with this item.
Attributes
Inherited fields
Unique id based on the tags.