Class SuspendLockInfo
java.lang.Object
com.blackhillsoftware.smf.Data
com.blackhillsoftware.smf.SmfData
com.blackhillsoftware.smf.smf98.zos.SuspendLockInfo
SMF 98 subtype 1 Suspend Lock Information section
Obtain from
-
Method Summary
Modifier and TypeMethodDescriptionlong
SMF98_1_SuspLock_Info_Already_Susp value, throws exception if SMF98_1_SuspLock_Info_Already_Susp overflows 64 bit signed integer.SMF98_1_SuspLock_Info_Already_Susp value as a BigInteger.SMF98_1_SuspLock_Info_AvgTimeTOD as a Duration.long
SMF98_1_SuspLock_Info_AvgTimeTOD raw value.double
SMF98_1_SuspLock_Info_AvgTimeTOD in seconds.SMF98_1_SuspLock_Info_Cont_TimeTOD as a Duration.long
SMF98_1_SuspLock_Info_Cont_TimeTOD raw value.double
SMF98_1_SuspLock_Info_Cont_TimeTOD in seconds.long
count()
SMF98_1_SuspLock_Info_Count value, throws exception if SMF98_1_SuspLock_Info_Count overflows 64 bit signed integer.SMF98_1_SuspLock_Info_Count value as a BigInteger.static SuspendLockInfo
create
(byte[] Data, int offset, int length) create is intended for internal use only.Methods inherited from class com.blackhillsoftware.smf.SmfData
createSection, getTriplet
-
Method Details
-
count
public long count()SMF98_1_SuspLock_Info_Count value, throws exception if SMF98_1_SuspLock_Info_Count overflows 64 bit signed integer.- Returns:
- long SMF98_1_SuspLock_Info_Count
- Throws:
IllegalArgumentException
- If the value of SMF98_1_SuspLock_Info_Count exceeds the maximum value of a signed 64 bit integer (i.e. the high order bit is set in SMF98_1_SuspLock_Info_Count). UsecountAsBigInteger()
if this is possible.
-
countAsBigInteger
SMF98_1_SuspLock_Info_Count value as a BigInteger.count()
may provide better performance if the value will not exceed the maximum value for a signed long.- Returns:
- BigInteger SMF98_1_SuspLock_Info_Count
-
alreadySusp
public long alreadySusp()SMF98_1_SuspLock_Info_Already_Susp value, throws exception if SMF98_1_SuspLock_Info_Already_Susp overflows 64 bit signed integer.- Returns:
- long SMF98_1_SuspLock_Info_Already_Susp
- Throws:
IllegalArgumentException
- If the value of SMF98_1_SuspLock_Info_Already_Susp exceeds the maximum value of a signed 64 bit integer (i.e. the high order bit is set in SMF98_1_SuspLock_Info_Already_Susp). UsealreadySuspAsBigInteger()
if this is possible.
-
alreadySuspAsBigInteger
SMF98_1_SuspLock_Info_Already_Susp value as a BigInteger.alreadySusp()
may provide better performance if the value will not exceed the maximum value for a signed long.- Returns:
- BigInteger SMF98_1_SuspLock_Info_Already_Susp
-
contTimeTod
SMF98_1_SuspLock_Info_Cont_TimeTOD as a Duration.- Returns:
- Duration SMF98_1_SuspLock_Info_Cont_TimeTOD
- See Also:
-
contTimeTodSeconds
public double contTimeTodSeconds()SMF98_1_SuspLock_Info_Cont_TimeTOD in seconds.- Returns:
- double SMF98_1_SuspLock_Info_Cont_TimeTOD converted to seconds
-
contTimeTodRawValue
public long contTimeTodRawValue()SMF98_1_SuspLock_Info_Cont_TimeTOD raw value.- Returns:
- long SMF98_1_SuspLock_Info_Cont_TimeTOD raw value
-
avgTimeTod
SMF98_1_SuspLock_Info_AvgTimeTOD as a Duration.- Returns:
- Duration SMF98_1_SuspLock_Info_AvgTimeTOD
- See Also:
-
avgTimeTodSeconds
public double avgTimeTodSeconds()SMF98_1_SuspLock_Info_AvgTimeTOD in seconds.- Returns:
- double SMF98_1_SuspLock_Info_AvgTimeTOD converted to seconds
-
avgTimeTodRawValue
public long avgTimeTodRawValue()SMF98_1_SuspLock_Info_AvgTimeTOD raw value.- Returns:
- long SMF98_1_SuspLock_Info_AvgTimeTOD raw value
-
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
-