public class DS extends AbstractDS
| Constructor and Description |
|---|
DS() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
formatEquals(DS ds)
Format equals.
|
DSType |
getType()
Gets the type.
|
boolean |
isCounter()
Checks if the data source is counter.
|
void |
setType(DSType type)
Sets the type.
|
void |
setType(String type)
Sets the type.
|
formatEquals, getLastDs, getMax, getMin, getMinHeartbeat, getName, getUnknownSec, getValue, setLastDs, setMax, setMin, setMinHeartbeat, setName, setUnknownSec, setValuepublic DSType getType()
public void setType(DSType type)
type - the new typepublic void setType(String type)
type - the new typepublic boolean formatEquals(DS ds)
ds - the DS objectpublic boolean isCounter()
AbstractDSisCounter in class AbstractDSCopyright © 2021. All rights reserved.