public class GatewayHelper
extends java.lang.Object
| Constructor and Description |
|---|
GatewayHelper() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
gatewayToString(com.gemstone.gemfire.cache.util.Gateway gateway)
Returns the given gateway as a string.
|
static GatewayDescription |
getGatewayDescription(java.lang.String gatewayConfig)
Returns the
GatewayDescription with the given configuration name
from GatewayPrms.names. |
protected static java.util.List |
getRandomEndpoints(java.lang.String distributedSystemName,
java.util.List endpoints,
int numEndpoints)
Returns a randomized list containing the given number of endpoints for
the specified distributed system.
|
public static java.lang.String gatewayToString(com.gemstone.gemfire.cache.util.Gateway gateway)
public static GatewayDescription getGatewayDescription(java.lang.String gatewayConfig)
GatewayDescription with the given configuration name
from GatewayPrms.names.protected static java.util.List getRandomEndpoints(java.lang.String distributedSystemName,
java.util.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.