com.ibm.ws.tpv.engine.buffer
Class StatResult
- java.lang.Object
com.ibm.ws.tpv.engine.buffer.StatResult
All implemented interfaces:
java.io.Serializable
- public class StatResult
- extends java.lang.Object
- implements java.io.Serializable
See Also:
Field Summary
Modifier and Type | Field and Description |
---|---|
|
flags
|
|
stats
|
Constructor Summary
Constructor and Description |
---|
StatResult()
Creates a new empty StatResult with no errors
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getEndOfFile()
Returns the EndOfFile flag
|
|
getLength()
The number of Stats in this result
|
getStat(int i)
Get the requested Stat object
|
|
|
getStatsArray()
Get the entire array of Stats
|
|
getTime(int i)
Get the timestamp for the specified Stats
|
|
getTimeArray()
Get the entire array of timestamps
|
|
getUpdateAvailable()
Returns the update available
|
|
setEndOfFile(boolean b)
Sets the boolean endOfFile
|
|
setStats(WSStats[] stats)
Sets the Stats array associated with this StatResult
|
|
setTime(long[] time)
Sets the timestamp array associated with this StatResult
|
|
setUpdateAvailable(boolean update)
Sets the update available byte of the StatResult
|
|
toString()
Returns a string representation of StatResult
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail
flags
- protected byte flags
stats
- protected WSStats[] stats
Constructor Detail
StatResult
- public StatResult()
Creates a new empty StatResult with no errors
Method Detail
setUpdateAvailable
- public void setUpdateAvailable( boolean update)
Sets the update available byte of the StatResult
Parameters:
update
- setStats
- public void setStats(WSStats[] stats)
Sets the Stats array associated with this StatResult
Parameters:
stats
- setTime
- public void setTime(long[] time)
Sets the timestamp array associated with this StatResult
Parameters:
time
- setEndOfFile
- public void setEndOfFile(boolean b)
Sets the boolean endOfFile
Parameters:
b
- getEndOfFile
- public boolean getEndOfFile()
Returns the EndOfFile flag
Returns:
boolean
getUpdateAvailable
- public boolean getUpdateAvailable( )
Returns the update available
Returns:
boolean
getLength
- public int getLength()
The number of Stats in this result
Returns:
int
getStat
- public WSStats getStat(int i)
Get the requested Stat object
Parameters:
i
- Returns:
Stats
getStatsArray
- public WSStats[] getStatsArray( )
Get the entire array of Stats
Returns:
Stats[]
getTime
- public long getTime(int i)
Get the timestamp for the specified Stats
Parameters:
i
- Returns:
long
getTimeArray
- public long[] getTimeArray()
Get the entire array of timestamps
Returns:
long[]
toString
- public java.lang.String toString( )
Returns a string representation of StatResult
Overrides:
toString
in class java.lang.Object