Package net.minecraft.resource
Record Class ProfiledResourceReload.Summary
java.lang.Object
java.lang.Record
net.minecraft.resource.ProfiledResourceReload.Summary
- Record Components:
name-prepareTimeMs-preparationCount-applyTimeMs-reloadCount-
- Enclosing class:
ProfiledResourceReload
public static record ProfiledResourceReload.Summary(String name, AtomicLong prepareTimeMs, AtomicLong preparationCount, AtomicLong applyTimeMs, AtomicLong reloadCount)
extends Record
The profiling summary for each reloader in the reload.
- Mappings:
Namespace Name named net/minecraft/resource/ProfiledResourceReload$Summaryintermediary net/minecraft/class_4010$class_4046official avj$anamed nameintermediary comp_3206official anamed prepareTimeMsintermediary comp_3207official bnamed preparationCountintermediary comp_3687official cnamed applyTimeMsintermediary comp_3208official dnamed reloadCountintermediary comp_3688official e
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final AtomicLongThe field for theapplyTimeMsrecord component.private final StringThe field for thenamerecord component.private final AtomicLongThe field for thepreparationCountrecord component.private final AtomicLongThe field for theprepareTimeMsrecord component.private final AtomicLongThe field for thereloadCountrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionSummary(String name, AtomicLong atomicLong, AtomicLong atomicLong2, AtomicLong atomicLong3, AtomicLong atomicLong4) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theapplyTimeMsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.Returns the value of thepreparationCountrecord component.Returns the value of theprepareTimeMsrecord component.Returns the value of thereloadCountrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
name
The field for thenamerecord component. -
prepareTimeMs
The field for theprepareTimeMsrecord component. -
preparationCount
The field for thepreparationCountrecord component. -
applyTimeMs
The field for theapplyTimeMsrecord component. -
reloadCount
The field for thereloadCountrecord component.
-
-
Constructor Details
-
Summary
public Summary(String name, AtomicLong atomicLong, AtomicLong atomicLong2, AtomicLong atomicLong3, AtomicLong atomicLong4) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/resource/ProfiledResourceReload$Summary;<init>(Ljava/lang/String;Ljava/util/concurrent/atomic/AtomicLong;Ljava/util/concurrent/atomic/AtomicLong;Ljava/util/concurrent/atomic/AtomicLong;Ljava/util/concurrent/atomic/AtomicLong;)Vintermediary <init>Lnet/minecraft/class_4010$class_4046;<init>(Ljava/lang/String;Ljava/util/concurrent/atomic/AtomicLong;Ljava/util/concurrent/atomic/AtomicLong;Ljava/util/concurrent/atomic/AtomicLong;Ljava/util/concurrent/atomic/AtomicLong;)Vofficial <init>Lavj$a;<init>(Ljava/lang/String;Ljava/util/concurrent/atomic/AtomicLong;Ljava/util/concurrent/atomic/AtomicLong;Ljava/util/concurrent/atomic/AtomicLong;Ljava/util/concurrent/atomic/AtomicLong;)V
-
-
Method Details
-
toString
Returns 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. -
hashCode
public 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. -
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. All components in this record class are compared withObjects::equals(Object,Object). -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
prepareTimeMs
Returns the value of theprepareTimeMsrecord component.- Returns:
- the value of the
prepareTimeMsrecord component
-
preparationCount
Returns the value of thepreparationCountrecord component.- Returns:
- the value of the
preparationCountrecord component
-
applyTimeMs
Returns the value of theapplyTimeMsrecord component.- Returns:
- the value of the
applyTimeMsrecord component
-
reloadCount
Returns the value of thereloadCountrecord component.- Returns:
- the value of the
reloadCountrecord component
-