Class PostgresResultsCellRepository.PostgresResultsCell
java.lang.Object
gov.nasa.jpl.aerie.merlin.server.remotes.postgres.PostgresResultsCellRepository.PostgresResultsCell
- All Implemented Interfaces:
- ResultsProtocol.OwnerRole,- ResultsProtocol.ReaderRole,- ResultsProtocol.WriterRole
- Enclosing class:
- PostgresResultsCellRepository
public static final class PostgresResultsCellRepository.PostgresResultsCell
extends Object
implements ResultsProtocol.OwnerRole
- 
Constructor SummaryConstructorsConstructorDescriptionPostgresResultsCell(DataSource dataSource, SimulationRecord simulation, long datasetId) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidcancel()After calling cancel, `get` is no longer legal to invoke.voidfailWith(gov.nasa.jpl.aerie.merlin.driver.SimulationFailure reason) get()booleanvoidreportIncompleteResults(gov.nasa.jpl.aerie.merlin.driver.SimulationResults results) voidreportSimulationExtent(gov.nasa.jpl.aerie.merlin.protocol.types.Duration extent) voidsucceedWith(gov.nasa.jpl.aerie.merlin.driver.SimulationResults results) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface gov.nasa.jpl.aerie.merlin.server.ResultsProtocol.WriterRolefailWith
- 
Constructor Details- 
PostgresResultsCell
 
- 
- 
Method Details- 
get- Specified by:
- getin interface- ResultsProtocol.ReaderRole
 
- 
cancelpublic void cancel()Description copied from interface:ResultsProtocol.ReaderRoleAfter calling cancel, `get` is no longer legal to invoke.- Specified by:
- cancelin interface- ResultsProtocol.ReaderRole
 
- 
isCanceledpublic boolean isCanceled()- Specified by:
- isCanceledin interface- ResultsProtocol.WriterRole
 
- 
succeedWithpublic void succeedWith(gov.nasa.jpl.aerie.merlin.driver.SimulationResults results) - Specified by:
- succeedWithin interface- ResultsProtocol.WriterRole
 
- 
failWithpublic void failWith(gov.nasa.jpl.aerie.merlin.driver.SimulationFailure reason) - Specified by:
- failWithin interface- ResultsProtocol.WriterRole
 
- 
reportIncompleteResultspublic void reportIncompleteResults(gov.nasa.jpl.aerie.merlin.driver.SimulationResults results) - Specified by:
- reportIncompleteResultsin interface- ResultsProtocol.WriterRole
 
- 
reportSimulationExtentpublic void reportSimulationExtent(gov.nasa.jpl.aerie.merlin.protocol.types.Duration extent) - Specified by:
- reportSimulationExtentin interface- ResultsProtocol.WriterRole
 
 
-