Enum ScanDispatch.CacheUsage

    • Enum Constant Detail

      • ENABLED

        public static final ScanDispatch.CacheUsage ENABLED
        Use cache for this can, possibly overriding table settings.
      • DISABLED

        public static final ScanDispatch.CacheUsage DISABLED
        Do not use cache for this scan, possibly overriding table settings.
      • OPPORTUNISTIC

        public static final ScanDispatch.CacheUsage OPPORTUNISTIC
        Use data if it exists in cache, but never load data into cache.
    • Method Detail

      • values

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

        public static ScanDispatch.CacheUsage 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