Annotation Type IgniteSpiConsistencyChecked


  • @Documented
    @Retention(RUNTIME)
    @Target(TYPE)
    public @interface IgniteSpiConsistencyChecked
    SPIs that have this annotation present will be checked for consistency within grid. If SPIs are not consistent, then warning will be printed out to the log.

    Note that SPI consistency courtesy log can also be disabled by disabling IgniteConfiguration.COURTESY_LOGGER_NAME category in log configuration.

    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      boolean optional
      Optional consistency check means that check will be performed only if SPI class names and versions match.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean checkClient
      If false, skip consistency checks for client cluster nodes.
    • Element Detail

      • optional

        boolean optional
        Optional consistency check means that check will be performed only if SPI class names and versions match.
        Returns:
        Whether check will be performed only if SPI class names and versions match.
      • checkClient

        boolean checkClient
        If false, skip consistency checks for client cluster nodes. Could be useful for SwapSpaceSpi for example, since client nodes has no data at all, so they don't need to be consistent with server nodes.
        Returns:
        Whether perform consistency checks for client cluster nodes.
        Default:
        true