?? PushbackPolicyOption

java.lang.Object
java.lang.Enum<PushbackPolicyOption>
org.osgi.util.pushstream.PushbackPolicyOption
????????:
Serializable, Comparable<PushbackPolicyOption>

public enum PushbackPolicyOption extends Enum<PushbackPolicyOption>
PushbackPolicyOption provides a standard set of simple PushbackPolicy implementations.
????:
  • ????????

    • FIXED

      public static final PushbackPolicyOption FIXED
      Returns a fixed amount of back pressure, independent of how full the buffer is
    • ON_FULL_FIXED

      public static final PushbackPolicyOption ON_FULL_FIXED
      Returns zero back pressure until the buffer is full, then it returns a fixed value
    • ON_FULL_EXPONENTIAL

      public static final PushbackPolicyOption ON_FULL_EXPONENTIAL
      Returns zero back pressure until the buffer is full, then it returns an exponentially increasing amount, starting with the supplied value and doubling it each time. Once the buffer is no longer full the back pressure returns to zero.
    • LINEAR

      public static final PushbackPolicyOption LINEAR
      Returns zero back pressure when the buffer is empty, then it returns a linearly increasing amount of back pressure based on how full the buffer is. The maximum value will be returned when the buffer is full.
  • ??????