Interface ConfigRecognizer

  • All Known Implementing Classes:
    com.hazelcast.internal.config.AbstractConfigRecognizer, ClientConfigRecognizer, ClientFailoverConfigRecognizer, MemberConfigRecognizer

    public interface ConfigRecognizer
    Interface for recognizing a declarative Hazelcast configuration based on the rules defined in the actual implementation. The main use case for this interface is recognizing whether a given declarative configuration is a member or a client configuration.
    • Method Detail

      • isRecognized

        boolean isRecognized​(ConfigStream configStream)
                      throws java.lang.Exception
        Recognizes the configuration given in the configStream argument.
        configStream - The stream with the declarative configuration
        true if the configuration is recognized, false otherwise
        java.lang.Exception - If any error occurs during the recognition