Class Partition
- java.lang.Object
-
- com.inductiveautomation.gateway.tags.history.partitions.Partition
-
public class Partition extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static int
FLAG_NO_SEED
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getBlockSize()
long
getEnd()
Flags
getFlags()
java.lang.String
getName()
long
getStart()
boolean
isMatch(long time, long blockSize)
Returns whether the time is contained in this partition, and if the block size matches.void
setBlockSize(long valueMS)
void
setEnd(long end)
void
setFlags(Flags f)
void
setName(java.lang.String name)
void
setStart(long start)
java.lang.String
toString()
-
-
-
Field Detail
-
FLAG_NO_SEED
public static final int FLAG_NO_SEED
- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String name)
-
getStart
public long getStart()
-
setStart
public void setStart(long start)
-
getEnd
public long getEnd()
-
setEnd
public void setEnd(long end)
-
getBlockSize
public long getBlockSize()
-
setBlockSize
public void setBlockSize(long valueMS)
-
getFlags
public Flags getFlags()
-
setFlags
public void setFlags(Flags f)
-
isMatch
public boolean isMatch(long time, long blockSize)
Returns whether the time is contained in this partition, and if the block size matches.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-