public class JMXDataSource extends Object implements Cloneable
Constructor and Description |
---|
JMXDataSource()
Constructor
|
JMXDataSource(JMXDataSource second)
Class copy constructor.
|
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Used to get a duplicate of self.
|
int |
getHeartbeat()
getHeartbeat
|
String |
getInstance()
Returns the object's instance id.
|
String |
getMax()
getMax
|
String |
getMin()
getMin
|
String |
getName()
Returns the object's name.
|
String |
getOid()
Returns the object's identifier.
|
AttributeType |
getType()
Returns the object's data type.
|
void |
setHeartbeat(int heartbeat)
setHeartbeat
|
void |
setInstance(String instance)
This method is used to assign the object's instance id.
|
void |
setMax(String maximum)
setMax
|
void |
setMin(String minimum)
setMin
|
void |
setName(String name)
This method is used to assign the data source name.
|
void |
setOid(String oid)
This method is used to assign the object's identifier.
|
void |
setType(AttributeType type)
This method is used to assign the object's expected data type.
|
String |
toString()
This method is responsible for returning a String object which represents
the content of this RRDDataSource object.
|
public JMXDataSource()
public JMXDataSource(JMXDataSource second)
second
- The object to make a duplicate of.public void setOid(String oid)
oid
- -
object identifier in dotted decimal notation (e.g.,
".1.3.6.1.2.1.1.1")public void setInstance(String instance)
instance
- -
instance identifier (to be appended to oid)public void setName(String name)
name
- a String
object.public String getOid()
public String getInstance()
public String getName()
public void setType(AttributeType type)
type
- -
object's data typepublic void setHeartbeat(int heartbeat)
setHeartbeat
heartbeat
- a int.public AttributeType getType()
public int getHeartbeat()
getHeartbeat
public Object clone()
Copyright © 2021. All rights reserved.