org.openspaces.core.gateway
Class GatewayUtils
java.lang.Object
  
org.openspaces.core.gateway.GatewayUtils
public class GatewayUtils
- extends Object
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
GatewayUtils
public GatewayUtils()
checkPortAvailable
public static boolean checkPortAvailable(int port)
- Checks is a post is available on the current machine, using new
 ServerSocket(port).
- Parameters:
 port - the port number.
- Returns:
 - true if available, false otherwise.
 
 
 
isPuInstanceOfGateway
public static boolean isPuInstanceOfGateway(String gatewayName,
                                            ProcessingUnitInstance processingUnitInstance)
 
extractInstanceIfPuOfGateway
public static ProcessingUnitInstance extractInstanceIfPuOfGateway(String gatewayName,
                                                                  ProcessingUnit processingUnit)
 
extractGatewayNameIfExists
public static String extractGatewayNameIfExists(ProcessingUnit processingUnit)
 
Copyright © GigaSpaces.