Package org.apache.synapse
Class ServerStateDetectionStrategy
- java.lang.Object
-
- org.apache.synapse.ServerStateDetectionStrategy
-
public class ServerStateDetectionStrategy extends Object
Detects possible current server state
-
-
Constructor Summary
Constructors Constructor Description ServerStateDetectionStrategy()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ServerStatecurrentState(ServerContextInformation contextInformation, ServerConfigurationInformation information)Determine the next possible server state based on current states and other facts
-
-
-
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 instanceinformation- ServerConfigurationInformation instance- Returns:
- The actual current state possible states for the server
-
-