Record Class ModelDiagnostics.Limits
java.lang.Object
java.lang.Record
io.fluxzero.sdk.persisting.repository.ModelDiagnostics.Limits
- Record Components:
maxModels- at most 256 ModelsmaxEventsPerModel- at most 1,024 memberships per Model and 4,096 across the requestmaxBytes- positive transport byte budget, at most 16 MiB; one oversized event may exceed itmaxDepth- descendant depth, from 0 through 64
- Enclosing class:
ModelDiagnostics
public static record ModelDiagnostics.Limits(int maxModels, int maxEventsPerModel, long maxBytes, int maxDepth)
extends Record
Bounds one inspection; no automatic pagination or further Graph expansion occurs.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ModelDiagnostics.LimitsA small first-page sample suitable for explicit development checks. -
Constructor Summary
ConstructorsConstructorDescriptionLimits(int maxModels, int maxEventsPerModel, long maxBytes, int maxDepth) Rejects unbounded or excessively large diagnostic requests before touching storage. -
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.longmaxBytes()Returns the value of themaxBytesrecord component.intmaxDepth()Returns the value of themaxDepthrecord component.intReturns the value of themaxEventsPerModelrecord component.intReturns the value of themaxModelsrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
DEFAULT
A small first-page sample suitable for explicit development checks.
-
-
Constructor Details
-
Limits
public Limits(int maxModels, int maxEventsPerModel, long maxBytes, int maxDepth) Rejects unbounded or excessively large diagnostic requests before touching storage.
-
-
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. All components in this record class are compared with thecomparemethod from their corresponding wrapper classes. -
maxModels
-
maxEventsPerModel
public int maxEventsPerModel()Returns the value of themaxEventsPerModelrecord component.- Returns:
- the value of the
maxEventsPerModelrecord component
-
maxBytes
-
maxDepth
-