Class ServerStateDetectionStrategy


  • public class ServerStateDetectionStrategy
    extends Object
    Detects possible current server state
    • Constructor Detail

      • ServerStateDetectionStrategy

        public ServerStateDetectionStrategy()
    • Method Detail

      • currentState

        public static ServerState currentState​(ServerContextInformation contextInformation,
                                               ServerConfigurationInformation information)
        Determine the next possible server state based on current states and other facts
        Parameters:
        contextInformation - ServerContextInformation instance
        information - ServerConfigurationInformation instance
        Returns:
        The actual current state possible states for the server