com.ibm.ws.tpv.engine.buffer

Class StatResult

  1. java.lang.Object
  2. extended bycom.ibm.ws.tpv.engine.buffer.StatResult
All implemented interfaces:
java.io.Serializable

  1. public class StatResult
  2. extends java.lang.Object
  3. implements java.io.Serializable
See Also:
Serialized Form

Field Summary

Modifier and Type Field and Description
  1. protected
  2. byte
flags
  1. protected
  2. WSStats[]
stats

Constructor Summary

Constructor and Description
StatResult()
Creates a new empty StatResult with no errors

Method Summary

Modifier and Type Method and Description
  1. boolean
getEndOfFile()
Returns the EndOfFile flag
  1. int
getLength()
The number of Stats in this result
  1. WSStats
getStat(int i)
Get the requested Stat object
  1. WSStats[]
getStatsArray()
Get the entire array of Stats
  1. long
getTime(int i)
Get the timestamp for the specified Stats
  1. long[]
getTimeArray()
Get the entire array of timestamps
  1. boolean
getUpdateAvailable()
Returns the update available
  1. void
setEndOfFile(boolean b)
Sets the boolean endOfFile
  1. void
setStats(WSStats[] stats)
Sets the Stats array associated with this StatResult
  1. void
setTime(long[] time)
Sets the timestamp array associated with this StatResult
  1. void
setUpdateAvailable(boolean update)
Sets the update available byte of the StatResult
  1. java.lang.String
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

  1. protected byte flags

stats

  1. protected WSStats[] stats

Constructor Detail

StatResult

  1. public StatResult()
Creates a new empty StatResult with no errors

Method Detail

setUpdateAvailable

  1. public void setUpdateAvailable( boolean update)
Sets the update available byte of the StatResult
Parameters:
update -

setStats

  1. public void setStats(WSStats[] stats)
Sets the Stats array associated with this StatResult
Parameters:
stats -

setTime

  1. public void setTime(long[] time)
Sets the timestamp array associated with this StatResult
Parameters:
time -

setEndOfFile

  1. public void setEndOfFile(boolean b)
Sets the boolean endOfFile
Parameters:
b -

getEndOfFile

  1. public boolean getEndOfFile()
Returns the EndOfFile flag
Returns:
boolean

getUpdateAvailable

  1. public boolean getUpdateAvailable( )
Returns the update available
Returns:
boolean

getLength

  1. public int getLength()
The number of Stats in this result
Returns:
int

getStat

  1. public WSStats getStat(int i)
Get the requested Stat object
Parameters:
i -
Returns:
Stats

getStatsArray

  1. public WSStats[] getStatsArray( )
Get the entire array of Stats
Returns:
Stats[]

getTime

  1. public long getTime(int i)
Get the timestamp for the specified Stats
Parameters:
i -
Returns:
long

getTimeArray

  1. public long[] getTimeArray()
Get the entire array of timestamps
Returns:
long[]

toString

  1. public java.lang.String toString( )
Returns a string representation of StatResult
Overrides:
toString in class java.lang.Object