Record Class ModelDiagnostics.Limits

java.lang.Object
java.lang.Record
io.fluxzero.sdk.persisting.repository.ModelDiagnostics.Limits
Record Components:
maxModels - at most 256 Models
maxEventsPerModel - at most 1,024 memberships per Model and 4,096 across the request
maxBytes - positive transport byte budget, at most 16 MiB; one oversized event may exceed it
maxDepth - 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

    Fields
    Modifier and Type
    Field
    Description
    A small first-page sample suitable for explicit development checks.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Limits(int maxModels, int maxEventsPerModel, long maxBytes, int maxDepth)
    Rejects unbounded or excessively large diagnostic requests before touching storage.
  • Method Summary

    Modifier and Type
    Method
    Description
    final boolean
    Indicates whether some other object is "equal to" this one.
    final int
    Returns a hash code value for this object.
    long
    Returns the value of the maxBytes record component.
    int
    Returns the value of the maxDepth record component.
    int
    Returns the value of the maxEventsPerModel record component.
    int
    Returns the value of the maxModels record component.
    final String
    Returns a string representation of this record class.

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • DEFAULT

      public static final ModelDiagnostics.Limits 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

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 the compare method from their corresponding wrapper classes.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • maxModels

      public int maxModels()
      Returns the value of the maxModels record component.
      Returns:
      the value of the maxModels record component
    • maxEventsPerModel

      public int maxEventsPerModel()
      Returns the value of the maxEventsPerModel record component.
      Returns:
      the value of the maxEventsPerModel record component
    • maxBytes

      public long maxBytes()
      Returns the value of the maxBytes record component.
      Returns:
      the value of the maxBytes record component
    • maxDepth

      public int maxDepth()
      Returns the value of the maxDepth record component.
      Returns:
      the value of the maxDepth record component