Record Class CrawlCleanupService.RunResources
java.lang.Object
java.lang.Record
ai.pipestream.module.pipelineprobe.pipelinecrawl.CrawlCleanupService.RunResources
- Record Components:
intakeAccount- the account the intake side ran underintakeMinted- true if this run createdintakeAccount(delete it and all its drives) rather than the caller supplying a long-lived onepipelineAccount- the account the pipeline side ran underpipelineMinted- true if this run createdpipelineAccountgraphId- the run's pipeline graph id (its versions are deleted)planId- the run's IndexPlan id, or null when the sink wasn't in the graph (then there are no plan/indices to drop)datasourceId- the run's datasource id, deleted only when the intake account was minted by this runretainIndex- true to keep the OS indices, their IndexPlan, and the claim-check drive for inspection; everything else is still deleted
- Enclosing class:
CrawlCleanupService
public static record CrawlCleanupService.RunResources(String intakeAccount, boolean intakeMinted, String pipelineAccount, boolean pipelineMinted, String graphId, String planId, String datasourceId, boolean retainIndex)
extends Record
Everything one run needs torn down. Minted flags distinguish "this
run created the account" (delete it and all its drives) from "the
caller supplied a long-lived account" (delete only the run-scoped
claim-check drive; never touch the account, its datasource, or its
intake/pipeline drives).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedatasourceIdrecord component.final booleanIndicates whether some other object is "equal to" this one.graphId()Returns the value of thegraphIdrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theintakeAccountrecord component.booleanReturns the value of theintakeMintedrecord component.Returns the value of thepipelineAccountrecord component.booleanReturns the value of thepipelineMintedrecord component.planId()Returns the value of theplanIdrecord component.booleanReturns the value of theretainIndexrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
RunResources
public RunResources(String intakeAccount, boolean intakeMinted, String pipelineAccount, boolean pipelineMinted, String graphId, String planId, String datasourceId, boolean retainIndex) Creates an instance of aRunResourcesrecord class.- Parameters:
intakeAccount- the value for theintakeAccountrecord componentintakeMinted- the value for theintakeMintedrecord componentpipelineAccount- the value for thepipelineAccountrecord componentpipelineMinted- the value for thepipelineMintedrecord componentgraphId- the value for thegraphIdrecord componentplanId- the value for theplanIdrecord componentdatasourceId- the value for thedatasourceIdrecord componentretainIndex- the value for theretainIndexrecord 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. -
intakeAccount
Returns the value of theintakeAccountrecord component.- Returns:
- the value of the
intakeAccountrecord component
-
intakeMinted
public boolean intakeMinted()Returns the value of theintakeMintedrecord component.- Returns:
- the value of the
intakeMintedrecord component
-
pipelineAccount
Returns the value of thepipelineAccountrecord component.- Returns:
- the value of the
pipelineAccountrecord component
-
pipelineMinted
public boolean pipelineMinted()Returns the value of thepipelineMintedrecord component.- Returns:
- the value of the
pipelineMintedrecord component
-
graphId
-
planId
-
datasourceId
Returns the value of thedatasourceIdrecord component.- Returns:
- the value of the
datasourceIdrecord component
-
retainIndex
public boolean retainIndex()Returns the value of theretainIndexrecord component.- Returns:
- the value of the
retainIndexrecord component
-