Record Class RuntimeStatus
java.lang.Object
java.lang.Record
ai.redouble.demo.RuntimeStatus
public record RuntimeStatus(boolean dispatcherRunning, List<ProviderStatus> providers, DemoCatalog.Status catalog, List<CatalogEntry> entries, Map<String, Map<String,String>> serving, Map<String, Map<String,String>> servingRefusals, String corpus, String corpusAsOf)
extends Record
The whole status panel in one shape: whether the dispatcher runs, the providers, the catalog
summary, the catalog entries, per grade the entry the runtime serves each kind of request with
now (text, images, documents) and, where it serves none, its refusal in its own words, the
shipped corpus path the page prefills, and the day the corpus's price story is answered for,
which the pricing steps open on.
- Since:
- 0.1 (2026-09-24)
- Author:
- Andrey Santrosyan
-
Constructor Summary
ConstructorsConstructorDescriptionRuntimeStatus(boolean dispatcherRunning, List<ProviderStatus> providers, DemoCatalog.Status catalog, List<CatalogEntry> entries, Map<String, Map<String, String>> serving, Map<String, Map<String, String>> servingRefusals, String corpus, String corpusAsOf) Creates an instance of aRuntimeStatusrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncatalog()Returns the value of thecatalogrecord component.corpus()Returns the value of thecorpusrecord component.Returns the value of thecorpusAsOfrecord component.booleanReturns the value of thedispatcherRunningrecord component.entries()Returns the value of theentriesrecord 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 theprovidersrecord component.serving()Returns the value of theservingrecord component.Returns the value of theservingRefusalsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
RuntimeStatus
public RuntimeStatus(boolean dispatcherRunning, List<ProviderStatus> providers, DemoCatalog.Status catalog, List<CatalogEntry> entries, Map<String, Map<String, String>> serving, Map<String, Map<String, String>> servingRefusals, String corpus, String corpusAsOf) Creates an instance of aRuntimeStatusrecord class.- Parameters:
dispatcherRunning- the value for thedispatcherRunningrecord componentproviders- the value for theprovidersrecord componentcatalog- the value for thecatalogrecord componententries- the value for theentriesrecord componentserving- the value for theservingrecord componentservingRefusals- the value for theservingRefusalsrecord componentcorpus- the value for thecorpusrecord componentcorpusAsOf- the value for thecorpusAsOfrecord 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. -
dispatcherRunning
public boolean dispatcherRunning()Returns the value of thedispatcherRunningrecord component.- Returns:
- the value of the
dispatcherRunningrecord component
-
providers
Returns the value of theprovidersrecord component.- Returns:
- the value of the
providersrecord component
-
catalog
Returns the value of thecatalogrecord component.- Returns:
- the value of the
catalogrecord component
-
entries
Returns the value of theentriesrecord component.- Returns:
- the value of the
entriesrecord component
-
serving
-
servingRefusals
-
corpus
Returns the value of thecorpusrecord component.- Returns:
- the value of the
corpusrecord component
-
corpusAsOf
Returns the value of thecorpusAsOfrecord component.- Returns:
- the value of the
corpusAsOfrecord component
-