Enum TempMode

  • All Implemented Interfaces:
    Serializable, Comparable<TempMode>

    public enum TempMode
    extends Enum<TempMode>
    Enumeration to indicate the mode of temporarily materializing the data that flows across a connection. Introducing such an artificial dam is sometimes necessary to avoid that a certain data flows deadlock themselves, or as a cache to replay an intermediate result.
    • Enum Constant Detail

      • NONE

        public static final TempMode NONE
      • PIPELINE_BREAKER

        public static final TempMode PIPELINE_BREAKER
      • CACHED

        public static final TempMode CACHED
      • CACHING_PIPELINE_BREAKER

        public static final TempMode CACHING_PIPELINE_BREAKER
    • Method Detail

      • values

        public static TempMode[] 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 (TempMode c : TempMode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static TempMode 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
      • isCached

        public boolean isCached()
      • breaksPipeline

        public boolean breaksPipeline()
      • makePipelineBreaker

        public TempMode makePipelineBreaker()
      • makeCached

        public TempMode makeCached()
      • makeNonCached

        public TempMode makeNonCached()