Class PriorityLevelConfigurationSpec

  • All Implemented Interfaces:
    com.marcnuri.yakc.model.Model

    public class PriorityLevelConfigurationSpec
    extends java.lang.Object
    implements com.marcnuri.yakc.model.Model
    PriorityLevelConfigurationSpec specifies the configuration of a priority level.
    • Method Detail

      • getType

        @NonNull
        public @NonNull java.lang.String getType()
        `type` indicates whether this priority level is subject to limitation on request execution. A value of `"Exempt"` means that requests of this priority level are not subject to a limit (and thus are never queued) and do not detract from the capacity made available to other priority levels. A value of `"Limited"` means that (a) requests of this priority level _are_ subject to limits and (b) some of the server's limited capacity is made available exclusively to this priority level. Required.
      • setType

        public void setType​(@NonNull
                            @NonNull java.lang.String type)
        `type` indicates whether this priority level is subject to limitation on request execution. A value of `"Exempt"` means that requests of this priority level are not subject to a limit (and thus are never queued) and do not detract from the capacity made available to other priority levels. A value of `"Limited"` means that (a) requests of this priority level _are_ subject to limits and (b) some of the server's limited capacity is made available exclusively to this priority level. Required.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object