Record Class ServerTickTimeSample
java.lang.Object
java.lang.Record
net.minecraft.util.profiling.jfr.sample.ServerTickTimeSample
- Record Components:
- time-
- averageTickMs-
- Mappings:
- Namespace - Name - named - net/minecraft/util/profiling/jfr/sample/ServerTickTimeSample- intermediary - net/minecraft/class_6532- official - bpz- named - time- intermediary - comp_52- official - a- named - averageTickMs- intermediary - comp_53- official - b
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final DurationThe field for theaverageTickMsrecord component.private final InstantThe field for thetimerecord component.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionReturns the value of theaverageTickMsrecord component.final booleanIndicates whether some other object is "equal to" this one.static ServerTickTimeSamplefromEvent(RecordedEvent event) final inthashCode()Returns a hash code value for this object.time()Returns the value of thetimerecord component.final StringtoString()Returns a string representation of this record class.
- 
Field Details- 
timeThe field for thetimerecord component.
- 
averageTickMsThe field for theaverageTickMsrecord component.
 
- 
- 
Constructor Details- 
ServerTickTimeSample
 
- 
- 
Method Details- 
fromEvent- Mappings:
- Namespace - Name - Mixin selector - named - fromEvent- Lnet/minecraft/util/profiling/jfr/sample/ServerTickTimeSample;fromEvent(Ljdk/jfr/consumer/RecordedEvent;)Lnet/minecraft/util/profiling/jfr/sample/ServerTickTimeSample;- intermediary - method_38058- Lnet/minecraft/class_6532;method_38058(Ljdk/jfr/consumer/RecordedEvent;)Lnet/minecraft/class_6532;- official - a- Lbpz;a(Ljdk/jfr/consumer/RecordedEvent;)Lbpz;
 
- 
toStringReturns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
- 
hashCodepublic final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
- 
equalsIndicates 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. All components in this record class are compared withObjects::equals(Object,Object).
- 
timeReturns the value of thetimerecord component.- Returns:
- the value of the timerecord component
 
- 
averageTickMsReturns the value of theaverageTickMsrecord component.- Returns:
- the value of the averageTickMsrecord component
 
 
-