Enum StreamInfo.StorePressurePolicy

    • Enum Constant Detail

      • CONTENT_STORE_PRESSURE_POLICY_OOM

        public static final StreamInfo.StorePressurePolicy CONTENT_STORE_PRESSURE_POLICY_OOM
        Return an error STATUS_STORE_OUT_OF_MEMORY when we have no available storage when putting frame. The value of 0 is the default.
      • CONTENT_STORE_PRESSURE_POLICY_DROP_TAIL_ITEM

        public static final StreamInfo.StorePressurePolicy CONTENT_STORE_PRESSURE_POLICY_DROP_TAIL_ITEM
        Evict the earliest frames to make space for the new frame being put. Might result in dropped frame callbacks fired.
    • Method Detail

      • values

        public static StreamInfo.StorePressurePolicy[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (StreamInfo.StorePressurePolicy c : StreamInfo.StorePressurePolicy.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static StreamInfo.StorePressurePolicy valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getIntValue

        public int getIntValue()