public class ConfigPrms extends BasePrms
Values of a parameter can use oneof, range, or robing to get a different value each time the parameter is accessed.
This class is offered as a convenience to test developers and is not used by the hydra master controller.
| Modifier and Type | Field and Description |
|---|---|
static Long |
adminConfig
(String)
An entry in
AdminPrms.names giving the admin configuration. |
static Long |
agentConfig
(String)
An entry in
AgentPrms.names giving the agent configuration. |
static Long |
asyncEventQueueConfig
(String)
An entry in
AsyncEventQueuePrms.names giving the async event queue
configuration. |
static Long |
bridgeConfig
(String)
An entry in
BridgePrms.names giving the bridge configuration. |
static Long |
cacheConfig
(String)
An entry in
CachePrms.names giving the cache configuration. |
static Long |
clientCacheConfig
(String)
An entry in
ClientCachePrms.names giving the client cache
configuration. |
static Long |
clientRegionConfig
(String)
An entry in
ClientRegionPrms.names giving the client region
configuration. |
static Long |
diskStoreConfig
(String)
An entry in
DiskStorePrms.names giving the disk store
configuration. |
static Long |
gatewayConfig
(String)
An entry in
GatewayPrms.names giving the gateway configuration. |
static Long |
gatewayHubConfig
(String)
An entry in
GatewayHubPrms.names giving the gateway hub
configuration. |
static Long |
gatewayReceiverConfig
(String)
An entry in
GatewayReceiverPrms.names giving the gateway receiver
configuration. |
static Long |
gatewaySenderConfig
(String)
An entry in
GatewaySenderPrms.names giving the gateway sender
configuration. |
static Long |
hadoopConfig
(String)
An entry in
HadoopPrms.names giving the hadoop configuration. |
static Long |
hdfsStoreConfig
(String)
An entry in
HDFSStorePrms.names giving the HDFS store
configuration. |
static Long |
poolConfig
(String)
An entry in
PoolPrms.names giving the pool configuration. |
static Long |
regionConfig
(String)
An entry in
RegionPrms.names giving the region configuration. |
| Constructor and Description |
|---|
ConfigPrms() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getAdminConfig()
Returns the value of
adminConfig, or null if it is not set. |
static String |
getAgentConfig()
Returns the value of
agentConfig, or null if it is not set. |
static String |
getAsyncEventQueueConfig()
Returns the value of
asyncEventQueueConfig, or null if it is not
set. |
static String |
getBridgeConfig()
Returns the value of
bridgeConfig, or null if it is not set. |
static String |
getCacheConfig()
Returns the value of
cacheConfig, or null if it is not set. |
static String |
getClientCacheConfig()
Returns the value of
clientCacheConfig, or null if it is not set. |
static String |
getClientRegionConfig()
Returns the value of
clientRegionConfig, or null if it is not set. |
static String |
getDiskStoreConfig()
Returns the value of
#diskConfig, or null if it is not set. |
static String |
getGatewayConfig()
Returns the value of
gatewayConfig, or null if it is not set. |
static String |
getGatewayHubConfig()
Returns the value of
gatewayHubConfig, or null if it is not set. |
static String |
getGatewayReceiverConfig()
Returns the value of
gatewayReceiverConfig, or null if it is not
set. |
static String |
getGatewaySenderConfig()
Returns the value of
gatewaySenderConfig, or null if it is not
set. |
static String |
getHadoopConfig()
Returns the value of
hadoopConfig, or null if it is not set. |
static String |
getHDFSStoreConfig()
Returns the value of
hdfsStoreConfig, or null if it is not set. |
static String |
getPoolConfig()
Returns the value of
poolConfig, or null if it is not set. |
static String |
getRegionConfig()
Returns the value of
regionConfig, or null if it is not set. |
static String |
getString(Long key)
Returns the string at the given key, checking task attributes as well as
the regular configuration hashtable.
|
static void |
main(String[] args) |
dumpKeys, keyForName, nameForKey, setValues, tab, tasktabpublic static Long cacheConfig
CachePrms.names giving the cache configuration.public static Long clientCacheConfig
ClientCachePrms.names giving the client cache
configuration.public static Long regionConfig
RegionPrms.names giving the region configuration.public static Long clientRegionConfig
ClientRegionPrms.names giving the client region
configuration.public static Long bridgeConfig
BridgePrms.names giving the bridge configuration.public static Long gatewayReceiverConfig
GatewayReceiverPrms.names giving the gateway receiver
configuration.public static Long gatewaySenderConfig
GatewaySenderPrms.names giving the gateway sender
configuration.public static Long asyncEventQueueConfig
AsyncEventQueuePrms.names giving the async event queue
configuration.public static Long gatewayConfig
GatewayPrms.names giving the gateway configuration.public static Long gatewayHubConfig
GatewayHubPrms.names giving the gateway hub
configuration.public static Long diskStoreConfig
DiskStorePrms.names giving the disk store
configuration.public static Long poolConfig
PoolPrms.names giving the pool configuration.public static Long adminConfig
AdminPrms.names giving the admin configuration.public static Long agentConfig
AgentPrms.names giving the agent configuration.public static Long hadoopConfig
HadoopPrms.names giving the hadoop configuration.public static Long hdfsStoreConfig
HDFSStorePrms.names giving the HDFS store
configuration.public static String getCacheConfig()
cacheConfig, or null if it is not set.HydraConfigException - if not found in CachePrms.names.public static String getClientCacheConfig()
clientCacheConfig, or null if it is not set.HydraConfigException - if not found in ClientCachePrms.names.public static String getRegionConfig()
regionConfig, or null if it is not set.HydraConfigException - if not found in RegionPrms.names.public static String getClientRegionConfig()
clientRegionConfig, or null if it is not set.HydraConfigException - if not found in ClientRegionPrms.names.public static String getBridgeConfig()
bridgeConfig, or null if it is not set.HydraConfigException - if not found in BridgePrms.names.public static String getGatewayReceiverConfig()
gatewayReceiverConfig, or null if it is not
set.HydraConfigException - if not found in #names.public static String getGatewaySenderConfig()
gatewaySenderConfig, or null if it is not
set.HydraConfigException - if not found in #names.public static String getAsyncEventQueueConfig()
asyncEventQueueConfig, or null if it is not
set.HydraConfigException - if not found in #names.public static String getGatewayConfig()
gatewayConfig, or null if it is not set.HydraConfigException - if not found in GatewayPrms.names.public static String getGatewayHubConfig()
gatewayHubConfig, or null if it is not set.HydraConfigException - if not found in GatewayHubPrms.names.public static String getDiskStoreConfig()
#diskConfig, or null if it is not set.HydraConfigException - if not found in DiskStorePrms.names.public static String getPoolConfig()
poolConfig, or null if it is not set.HydraConfigException - if not found in PoolPrms.names.public static String getAdminConfig()
adminConfig, or null if it is not set.HydraConfigException - if not found in AdminPrms.names.public static String getAgentConfig()
agentConfig, or null if it is not set.HydraConfigException - if not found in AgentPrms.names.public static String getHadoopConfig()
hadoopConfig, or null if it is not set.HydraConfigException - if not found in HadoopPrms.names.public static String getHDFSStoreConfig()
hdfsStoreConfig, or null if it is not set.HydraConfigException - if not found in HDFSStorePrms.names.public static String getString(Long key)
public static void main(String[] args)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.