public class GatewayHelper extends Object
| Constructor and Description |
|---|
GatewayHelper() |
| Modifier and Type | Method and Description |
|---|---|
static String |
gatewayToString(com.gemstone.gemfire.cache.util.Gateway gateway)
Returns the given gateway as a string.
|
static GatewayDescription |
getGatewayDescription(String gatewayConfig)
Returns the
GatewayDescription with the given configuration name
from GatewayPrms.names. |
protected static List |
getRandomEndpoints(String distributedSystemName,
List endpoints,
int numEndpoints)
Returns a randomized list containing the given number of endpoints for
the specified distributed system.
|
public static String gatewayToString(com.gemstone.gemfire.cache.util.Gateway gateway)
public static GatewayDescription getGatewayDescription(String gatewayConfig)
GatewayDescription with the given configuration name
from GatewayPrms.names.protected static List getRandomEndpoints(String distributedSystemName, List endpoints, int numEndpoints)
GatewayPrms.ALL_AVAILABLE, then all available matching endpoints
are included, in random order.HydraRuntimeException - if there are not enough matching endpoints.Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.