Class CicsClock
java.lang.Object
com.blackhillsoftware.smf.Data
com.blackhillsoftware.smf.SmfData
com.blackhillsoftware.smf.cics.monitoring.CicsClock
- All Implemented Interfaces:
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 Summary
Modifier and TypeMethodDescriptionint
int
count()
static CicsClock
create
(byte[] Data, int offset, int length) create is intended for internal use only.int
flags()
The 8 reserved bits in the clock, used for flags.int
Deprecated.timer()
The timer portion of the clock as a Duration.The timer portion of the clock raw valuedouble
The timer portion of the clock in seconds.toString()
Methods inherited from class com.blackhillsoftware.smf.SmfData
createSection, getTriplet
-
Method Details
-
toString
-
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
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.- usecount()
- Returns:
- int the number of measurement periods represented by the clock
-
create
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 sectionoffset
- Offset of this section in the datalength
- length of the section
-
compareTo
- Specified by:
compareTo
in interfaceComparable<CicsClock>
-
count()