|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tivoli.twg.monitor.TWGMonRecordedData
This is the TWGMonRecordedData class. This class encapsulates a set of paired times and TWGMonCurrentData points.
Constructor Summary | |
---|---|
TWGMonRecordedData(int rc)
This is the constructor used to build the object for command timeout |
|
TWGMonRecordedData(IntelByteBuffer iBuf)
This is the constructor for building the object from a byte buffer |
|
TWGMonRecordedData(int rc,
long time)
This is the constructor used to build the object without data |
|
TWGMonRecordedData(long time)
This is the constructor used to build the object with just the timestamp |
|
TWGMonRecordedData(com.tivoli.twg.monitor.TWGMonRecordedInfo recInfo)
This is the constructor for building the object |
Method Summary | |
---|---|
void |
addPoint(long timeStamp,
TWGMonCurrentData newPoint)
Add a recorded data point to the list. |
void |
addPoint(TWGMonCurrentData newPoint)
Add a recorded data point to the list. |
long[] |
getAllKeys()
get all the keys (time instances) to map the data. |
TWGMonCurrentData[] |
getAllObjects()
get all the data objects. |
int |
getDataType()
Gets the data type for the recorded data |
int |
getIntelByteBufferSize()
Determines and returns the IntelByteBuffer size requirment for the object the method is called on |
TWGMonCurrentData |
getPoint(long timeStamp)
Get a recorded data point from the list. |
int |
getPointCount()
get count of number of recorded points in the list. |
int |
getRC()
get the return code for this list |
com.tivoli.twg.monitor.TWGMonRecordedInfo |
getRecInfo()
get the RecordedInfo refernce |
long |
getTimeStamp()
get the new timeStamp to use for the next getRecordedData() call |
java.util.Enumeration |
getTimeStamps()
Gets an enumeration of time stamps in the list. |
void |
mergeWith(TWGMonRecordedData newList)
Combine the contents of another point list with this list. |
void |
setRC(int parm)
set the return code for this list |
void |
setRecInfo(com.tivoli.twg.monitor.TWGMonRecordedInfo parm)
set the RecordedInfo variable |
void |
setRecordedTable(LongKeyTable parm)
set the LongKeyTable variable to a new, filled in table |
void |
setTimeStamp(long parm)
set the new timeStamp for this active attribute |
java.lang.String |
toString()
get a textual string that can be dumped that describes the list and its contents |
java.lang.String |
toStringPoints()
get a textual string that can be dumped that only outputs the data points |
IntelByteBuffer |
writeIntelByteBuffer(IntelByteBuffer iBuf)
Writes the class variables into the passed in IntelByteBuffer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TWGMonRecordedData(com.tivoli.twg.monitor.TWGMonRecordedInfo recInfo)
recInfo
- recorded info for this objectpublic TWGMonRecordedData(int rc)
rc
- return code to reflect for this object when data is not available
due to a timeoutpublic TWGMonRecordedData(int rc, long time)
rc
- return code to reflect for this object when data is not availabletime
- timestamp for this objectpublic TWGMonRecordedData(long time)
public TWGMonRecordedData(IntelByteBuffer iBuf) throws TWGByteStreamException
iBuf
- contains the byte stream to rebuild the object with
TWGByteStreamException
- thrown to indicate that the byte buffer
being used build the object contained improper dataMethod Detail |
public int getIntelByteBufferSize()
public IntelByteBuffer writeIntelByteBuffer(IntelByteBuffer iBuf)
iBuf
- byte buffer to save state of object into
public int getRC()
public long getTimeStamp()
public com.tivoli.twg.monitor.TWGMonRecordedInfo getRecInfo()
public TWGMonCurrentData getPoint(long timeStamp)
timeStamp
- time stamp of data point to retreivepublic int getPointCount()
public long[] getAllKeys()
public TWGMonCurrentData[] getAllObjects()
public java.util.Enumeration getTimeStamps()
public int getDataType()
public void setRC(int parm)
parm
- result code fro these recorded data pointspublic void setRecInfo(com.tivoli.twg.monitor.TWGMonRecordedInfo parm)
parm
- reference to a RecordedInfo objectpublic void setRecordedTable(LongKeyTable parm)
parm
- reference to a setup table objectpublic void setTimeStamp(long parm)
parm
- timeStamp to use for next get callpublic void addPoint(long timeStamp, TWGMonCurrentData newPoint)
timeStamp
- time stamp of new data pointnewPoint
- new recorded data point to savepublic void addPoint(TWGMonCurrentData newPoint)
newPoint
- new recorded data point to savepublic void mergeWith(TWGMonRecordedData newList)
public java.lang.String toStringPoints()
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |