Package gov.nasa.jpl.aerie.merlin.worker
Record Class WorkerAppConfiguration
java.lang.Object
java.lang.Record
gov.nasa.jpl.aerie.merlin.worker.WorkerAppConfiguration
-
Constructor Summary
ConstructorsConstructorDescriptionWorkerAppConfiguration(Path merlinFileStore, gov.nasa.jpl.aerie.merlin.server.config.Store store, long simulationProgressPollPeriodMillis, Instant untruePlanStart) Creates an instance of aWorkerAppConfigurationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of themerlinFileStorerecord component.longReturns the value of thesimulationProgressPollPeriodMillisrecord component.gov.nasa.jpl.aerie.merlin.server.config.Storestore()Returns the value of thestorerecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theuntruePlanStartrecord component.
-
Constructor Details
-
WorkerAppConfiguration
public WorkerAppConfiguration(Path merlinFileStore, gov.nasa.jpl.aerie.merlin.server.config.Store store, long simulationProgressPollPeriodMillis, Instant untruePlanStart) Creates an instance of aWorkerAppConfigurationrecord class.- Parameters:
merlinFileStore- the value for themerlinFileStorerecord componentstore- the value for thestorerecord componentsimulationProgressPollPeriodMillis- the value for thesimulationProgressPollPeriodMillisrecord componentuntruePlanStart- the value for theuntruePlanStartrecord component
-
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
merlinFileStore
Returns the value of themerlinFileStorerecord component.- Returns:
- the value of the
merlinFileStorerecord component
-
store
public gov.nasa.jpl.aerie.merlin.server.config.Store store()Returns the value of thestorerecord component.- Returns:
- the value of the
storerecord component
-
simulationProgressPollPeriodMillis
public long simulationProgressPollPeriodMillis()Returns the value of thesimulationProgressPollPeriodMillisrecord component.- Returns:
- the value of the
simulationProgressPollPeriodMillisrecord component
-
untruePlanStart
Returns the value of theuntruePlanStartrecord component.- Returns:
- the value of the
untruePlanStartrecord component
-