java.lang.Object
com.blackhillsoftware.smf.Data
com.blackhillsoftware.smf.SmfData
com.blackhillsoftware.smf.cics.monitoring.CicsClock
All Implemented Interfaces:
Comparable<CicsClock>

public class CicsClock extends SmfData implements Comparable<CicsClock>
CICS Clock (Type S) monitoring data. CicsClock implements Comparable based on the timer value. The ordering is not consistent with equals - the timer value may be equal but the count or flag values differ.
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Data
    • timer

      public Duration timer()
      The timer portion of the clock as a Duration.
      Returns:
      Duration timer value
      See Also:
    • timerSeconds

      public double timerSeconds()
      The timer portion of the clock in seconds.
      Returns:
      double timer value
    • timerRawValue

      public BigInteger timerRawValue()
      The timer portion of the clock raw value
      Returns:
      BigInteger timer value
    • flags

      public int flags()
      The 8 reserved bits in the clock, used for flags.
      Returns:
      int 8 flags bits in the lower 8 bits
    • count

      public int count()
      Returns:
      int the count value for the clock
    • periodCount

      @Deprecated public int periodCount()
      Deprecated.
      - use count()
      Returns:
      int the number of measurement periods represented by the clock
    • create

      public static CicsClock create(byte[] Data, int offset, int length)
      create is intended for internal use only. Instances of this section are created by the parent record or section.
      Parameters:
      Data - Array of bytes containing data for this section
      offset - Offset of this section in the data
      length - length of the section
    • compareTo

      public int compareTo(CicsClock o)
      Specified by:
      compareTo in interface Comparable<CicsClock>