Class MemoryBackedHistorian.Tag
- java.lang.Object
-
- com.inductiveautomation.gateway.tsdb.historians.MemoryBackedHistorian.Tag
-
- Enclosing class:
- MemoryBackedHistorian
protected class MemoryBackedHistorian.Tag extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected MemoryBackedHistorian.Tag
next
protected MemoryBackedHistorian.Tag
prev
-
Constructor Summary
Constructors Constructor Description Tag(java.lang.String path, PropertySet props)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
addData(java.lang.Object value, int quality, long ts)
Adds the data, and returns the net datapoints affectedint
dataCount()
void
delete()
void
dropOldest()
DataType
getDataType()
InterpolationMode
getInterpolationMode()
long
getMinTS()
MemoryBackedHistorian.Tag
getNext()
java.lang.String
getPath()
MemoryBackedHistorian.Tag
getPrevious()
PropertySet
getProps()
long
getTimeToLive()
void
moveDown()
void
moveUp()
java.util.List<DataPoint>
query(long start, long end, int index)
protected void
setNext(MemoryBackedHistorian.Tag newNext)
protected void
setPrevious(MemoryBackedHistorian.Tag newPrevious)
protected void
sort()
-
-
-
Field Detail
-
prev
protected MemoryBackedHistorian.Tag prev
-
next
protected MemoryBackedHistorian.Tag next
-
-
Constructor Detail
-
Tag
public Tag(java.lang.String path, PropertySet props)
-
-
Method Detail
-
getTimeToLive
public long getTimeToLive()
-
getProps
public PropertySet getProps()
-
getPath
public java.lang.String getPath()
-
getDataType
public DataType getDataType()
-
getInterpolationMode
@Nonnull public InterpolationMode getInterpolationMode()
-
dataCount
public int dataCount()
-
getMinTS
public long getMinTS()
-
query
public java.util.List<DataPoint> query(long start, long end, int index)
-
addData
public int addData(java.lang.Object value, int quality, long ts)
Adds the data, and returns the net datapoints affected
-
dropOldest
public void dropOldest()
-
sort
protected void sort()
-
moveDown
public void moveDown()
-
moveUp
public void moveUp()
-
delete
public void delete()
-
setNext
protected void setNext(MemoryBackedHistorian.Tag newNext)
-
setPrevious
protected void setPrevious(MemoryBackedHistorian.Tag newPrevious)
-
getNext
public MemoryBackedHistorian.Tag getNext()
-
getPrevious
public MemoryBackedHistorian.Tag getPrevious()
-
-