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:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      protected byte flags 
      protected WSStats[] stats 
    • Constructor Summary

      Constructors 
      Constructor and Description
      StatResult()
      Creates a new empty StatResult with no errors
    • Method Summary

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

        protected byte flags
    • 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
IBM WebSphere Application ServerTM
Release 8.5