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, setValue
public 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()
AbstractDS
isCounter
in class AbstractDS
Copyright © 2021. All rights reserved.