Record Class CachedResultsProcessor.CachedResultsInjectConfig

java.lang.Object
java.lang.Record
io.quarkus.cache.deployment.CachedResultsProcessor.CachedResultsInjectConfig
Enclosing class:
CachedResultsProcessor

static record CachedResultsProcessor.CachedResultsInjectConfig(String cacheName, Long lockTimeout, org.jboss.jandex.DotName keyGenerator, org.jboss.jandex.ClassInfo injectedClazz, Collection<org.jboss.jandex.AnnotationInstance> annotations, String exclude) extends Record
  • Constructor Summary

    Constructors
    Constructor
    Description
    CachedResultsInjectConfig(String cacheName, Long lockTimeout, org.jboss.jandex.DotName keyGenerator, org.jboss.jandex.ClassInfo injectedClazz, Collection<org.jboss.jandex.AnnotationInstance> annotations, String exclude)
    Creates an instance of a CachedResultsInjectConfig record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Collection<org.jboss.jandex.AnnotationInstance>
    Returns the value of the annotations record component.
    Returns the value of the cacheName record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    Returns the value of the exclude record component.
    final int
    Returns a hash code value for this object.
    org.jboss.jandex.ClassInfo
    Returns the value of the injectedClazz record component.
    org.jboss.jandex.DotName
    Returns the value of the keyGenerator record component.
    Returns the value of the lockTimeout record component.
    final String
    Returns a string representation of this record class.

    Methods inherited from class java.lang.Object

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

    • CachedResultsInjectConfig

      CachedResultsInjectConfig(String cacheName, Long lockTimeout, org.jboss.jandex.DotName keyGenerator, org.jboss.jandex.ClassInfo injectedClazz, Collection<org.jboss.jandex.AnnotationInstance> annotations, String exclude)
      Creates an instance of a CachedResultsInjectConfig record class.
      Parameters:
      cacheName - the value for the cacheName record component
      lockTimeout - the value for the lockTimeout record component
      keyGenerator - the value for the keyGenerator record component
      injectedClazz - the value for the injectedClazz record component
      annotations - the value for the annotations record component
      exclude - the value for the exclude record component
  • 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 Objects::equals(Object,Object).
      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.
    • cacheName

      public String cacheName()
      Returns the value of the cacheName record component.
      Returns:
      the value of the cacheName record component
    • lockTimeout

      public Long lockTimeout()
      Returns the value of the lockTimeout record component.
      Returns:
      the value of the lockTimeout record component
    • keyGenerator

      public org.jboss.jandex.DotName keyGenerator()
      Returns the value of the keyGenerator record component.
      Returns:
      the value of the keyGenerator record component
    • injectedClazz

      public org.jboss.jandex.ClassInfo injectedClazz()
      Returns the value of the injectedClazz record component.
      Returns:
      the value of the injectedClazz record component
    • annotations

      public Collection<org.jboss.jandex.AnnotationInstance> annotations()
      Returns the value of the annotations record component.
      Returns:
      the value of the annotations record component
    • exclude

      public String exclude()
      Returns the value of the exclude record component.
      Returns:
      the value of the exclude record component