Interface DefaultMemoryIdProvider


public interface DefaultMemoryIdProvider
Quarkus extension can decide whether they can provide a default value for the memory ID object if none was explicitly provided.

The idea behind this is that depending on the type of request that is being served, Quarkus can determine a unique (per request) object to be used.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Determines the object to be used as the default memory ID.
    default int
    Defines the priority of the providers.
  • Field Details

  • Method Details

    • priority

      default int priority()
      Defines the priority of the providers. A lower integer value means that the customizer will be considered before one with a higher priority
    • getMemoryId

      Object getMemoryId()
      Determines the object to be used as the default memory ID. A value of null means that the provider is not going to give a value and therefore he next provider should be tried.