Record Class End
java.lang.Object
java.lang.Record
io.kubfly.sdk.reflector.End
- Record Components:
origin- where it comes from, shared by the items of its instancekey- its key: the instance and its number, of its own: given when the body returnedtime- its timelate- by how much it was late, msframe- the frame it ends: thekeyof itsBeginduration- its duration, nsthreadId- the thread on which the frame ends (Thread.threadId()),None— no thread (Go)threadName- the name of that thread (Some("")— a thread without a name),None— no threadfailure- the exception of its body,None— it completed
- All Implemented Interfaces:
Item, Serializable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongduration()Returns the value of thedurationrecord component.final booleanIndicates whether some other object is "equal to" this one.failure()Returns the value of thefailurerecord component.frame()Returns the value of theframerecord component.final inthashCode()Returns a hash code value for this object.key()Returns the value of thekeyrecord component.kind()The kind.longlate()Returns the value of thelaterecord component.origin()Returns the value of theoriginrecord component.threadId()Returns the value of thethreadIdrecord component.Returns the value of thethreadNamerecord component.longtime()Returns the value of thetimerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
End
public End(Origin origin, ItemKey key, long time, long late, ItemKey frame, long duration, Option<Long> threadId, Option<String> threadName, Option<Failure> failure) Creates an instance of aEndrecord class.- Parameters:
origin- the value for theoriginrecord componentkey- the value for thekeyrecord componenttime- the value for thetimerecord componentlate- the value for thelaterecord componentframe- the value for theframerecord componentduration- the value for thedurationrecord componentthreadId- the value for thethreadIdrecord componentthreadName- the value for thethreadNamerecord componentfailure- the value for thefailurerecord component
-
-
Method Details
-
kind
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
origin
-
key
-
time
-
late
-
frame
-
duration
-
threadId
-
threadName
Returns the value of thethreadNamerecord component.- Returns:
- the value of the
threadNamerecord component
-
failure
-