Record Class AotObjectCachingExamples.AotObjectCachingWorkflowResult
java.lang.Object
java.lang.Record
net.jrodolfo.java_evolution.java26.aot_object_caching.AotObjectCachingExamples.AotObjectCachingWorkflowResult
- Record Components:
sourceFile- generated source filecacheFile- generated AOT cache filecacheSize- size of the generated cache in bytescacheCreation- result from the cache-creation child JVMcacheUsage- result from the cache-usage child JVM
- Enclosing class:
AotObjectCachingExamples
public static record AotObjectCachingExamples.AotObjectCachingWorkflowResult(Path sourceFile, Path cacheFile, long cacheSize, AotObjectCachingExamples.CommandResult cacheCreation, AotObjectCachingExamples.CommandResult cacheUsage)
extends Record
Result of the complete AOT object-caching workflow.
-
Constructor Summary
ConstructorsConstructorDescriptionAotObjectCachingWorkflowResult(Path sourceFile, Path cacheFile, long cacheSize, AotObjectCachingExamples.CommandResult cacheCreation, AotObjectCachingExamples.CommandResult cacheUsage) Creates an instance of aAotObjectCachingWorkflowResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecacheCreationrecord component.Returns the value of thecacheFilerecord component.longReturns the value of thecacheSizerecord component.Returns the value of thecacheUsagerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thesourceFilerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AotObjectCachingWorkflowResult
public AotObjectCachingWorkflowResult(Path sourceFile, Path cacheFile, long cacheSize, AotObjectCachingExamples.CommandResult cacheCreation, AotObjectCachingExamples.CommandResult cacheUsage) Creates an instance of aAotObjectCachingWorkflowResultrecord class.- Parameters:
sourceFile- the value for thesourceFilerecord componentcacheFile- the value for thecacheFilerecord componentcacheSize- the value for thecacheSizerecord componentcacheCreation- the value for thecacheCreationrecord componentcacheUsage- the value for thecacheUsagerecord component
-
-
Method Details
-
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. -
sourceFile
Returns the value of thesourceFilerecord component.- Returns:
- the value of the
sourceFilerecord component
-
cacheFile
-
cacheSize
-
cacheCreation
Returns the value of thecacheCreationrecord component.- Returns:
- the value of the
cacheCreationrecord component
-
cacheUsage
Returns the value of thecacheUsagerecord component.- Returns:
- the value of the
cacheUsagerecord component
-