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 java.lang.Long |
adminConfig
(String)
An entry in
AdminPrms.names giving the admin configuration. |
static java.lang.Long |
agentConfig
(String)
An entry in
AgentPrms.names giving the agent configuration. |
static java.lang.Long |
asyncEventQueueConfig
(String)
An entry in
AsyncEventQueuePrms.names giving the async event queue
configuration. |
static java.lang.Long |
bridgeConfig
(String)
An entry in
BridgePrms.names giving the bridge configuration. |
static java.lang.Long |
cacheConfig
(String)
An entry in
CachePrms.names giving the cache configuration. |
static java.lang.Long |
clientCacheConfig
(String)
An entry in
ClientCachePrms.names giving the client cache
configuration. |
static java.lang.Long |
clientRegionConfig
(String)
An entry in
ClientRegionPrms.names giving the client region
configuration. |
static java.lang.Long |
diskStoreConfig
(String)
An entry in
DiskStorePrms.names giving the disk store
configuration. |
static java.lang.Long |
gatewayConfig
(String)
An entry in
GatewayPrms.names giving the gateway configuration. |
static java.lang.Long |
gatewayHubConfig
(String)
An entry in
GatewayHubPrms.names giving the gateway hub
configuration. |
static java.lang.Long |
gatewayReceiverConfig
(String)
An entry in
GatewayReceiverPrms.names giving the gateway receiver
configuration. |
static java.lang.Long |
gatewaySenderConfig
(String)
An entry in
GatewaySenderPrms.names giving the gateway sender
configuration. |
static java.lang.Long |
hadoopConfig
(String)
An entry in
HadoopPrms.names giving the hadoop configuration. |
static java.lang.Long |
hdfsStoreConfig
(String)
An entry in
HDFSStorePrms.names giving the HDFS store
configuration. |
static java.lang.Long |
poolConfig
(String)
An entry in
PoolPrms.names giving the pool configuration. |
static java.lang.Long |
regionConfig
(String)
An entry in
RegionPrms.names giving the region configuration. |
| Constructor and Description |
|---|
ConfigPrms() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getAdminConfig()
Returns the value of
adminConfig, or null if it is not set. |
static java.lang.String |
getAgentConfig()
Returns the value of
agentConfig, or null if it is not set. |
static java.lang.String |
getAsyncEventQueueConfig()
Returns the value of
asyncEventQueueConfig, or null if it is not
set. |
static java.lang.String |
getBridgeConfig()
Returns the value of
bridgeConfig, or null if it is not set. |
static java.lang.String |
getCacheConfig()
Returns the value of
cacheConfig, or null if it is not set. |
static java.lang.String |
getClientCacheConfig()
Returns the value of
clientCacheConfig, or null if it is not set. |
static java.lang.String |
getClientRegionConfig()
Returns the value of
clientRegionConfig, or null if it is not set. |
static java.lang.String |
getDiskStoreConfig()
Returns the value of
#diskConfig, or null if it is not set. |
static java.lang.String |
getGatewayConfig()
Returns the value of
gatewayConfig, or null if it is not set. |
static java.lang.String |
getGatewayHubConfig()
Returns the value of
gatewayHubConfig, or null if it is not set. |
static java.lang.String |
getGatewayReceiverConfig()
Returns the value of
gatewayReceiverConfig, or null if it is not
set. |
static java.lang.String |
getGatewaySenderConfig()
Returns the value of
gatewaySenderConfig, or null if it is not
set. |
static java.lang.String |
getHadoopConfig()
Returns the value of
hadoopConfig, or null if it is not set. |
static java.lang.String |
getHDFSStoreConfig()
Returns the value of
hdfsStoreConfig, or null if it is not set. |
static java.lang.String |
getPoolConfig()
Returns the value of
poolConfig, or null if it is not set. |
static java.lang.String |
getRegionConfig()
Returns the value of
regionConfig, or null if it is not set. |
static java.lang.String |
getString(java.lang.Long key)
Returns the string at the given key, checking task attributes as well as
the regular configuration hashtable.
|
static void |
main(java.lang.String[] args) |
dumpKeys, keyForName, nameForKey, setValues, tab, tasktabpublic static java.lang.Long cacheConfig
CachePrms.names giving the cache configuration.public static java.lang.Long clientCacheConfig
ClientCachePrms.names giving the client cache
configuration.public static java.lang.Long regionConfig
RegionPrms.names giving the region configuration.public static java.lang.Long clientRegionConfig
ClientRegionPrms.names giving the client region
configuration.public static java.lang.Long bridgeConfig
BridgePrms.names giving the bridge configuration.public static java.lang.Long gatewayReceiverConfig
GatewayReceiverPrms.names giving the gateway receiver
configuration.public static java.lang.Long gatewaySenderConfig
GatewaySenderPrms.names giving the gateway sender
configuration.public static java.lang.Long asyncEventQueueConfig
AsyncEventQueuePrms.names giving the async event queue
configuration.public static java.lang.Long gatewayConfig
GatewayPrms.names giving the gateway configuration.public static java.lang.Long gatewayHubConfig
GatewayHubPrms.names giving the gateway hub
configuration.public static java.lang.Long diskStoreConfig
DiskStorePrms.names giving the disk store
configuration.public static java.lang.Long poolConfig
PoolPrms.names giving the pool configuration.public static java.lang.Long adminConfig
AdminPrms.names giving the admin configuration.public static java.lang.Long agentConfig
AgentPrms.names giving the agent configuration.public static java.lang.Long hadoopConfig
HadoopPrms.names giving the hadoop configuration.public static java.lang.Long hdfsStoreConfig
HDFSStorePrms.names giving the HDFS store
configuration.public static java.lang.String getCacheConfig()
cacheConfig, or null if it is not set.HydraConfigException - if not found in CachePrms.names.public static java.lang.String getClientCacheConfig()
clientCacheConfig, or null if it is not set.HydraConfigException - if not found in ClientCachePrms.names.public static java.lang.String getRegionConfig()
regionConfig, or null if it is not set.HydraConfigException - if not found in RegionPrms.names.public static java.lang.String getClientRegionConfig()
clientRegionConfig, or null if it is not set.HydraConfigException - if not found in ClientRegionPrms.names.public static java.lang.String getBridgeConfig()
bridgeConfig, or null if it is not set.HydraConfigException - if not found in BridgePrms.names.public static java.lang.String getGatewayReceiverConfig()
gatewayReceiverConfig, or null if it is not
set.HydraConfigException - if not found in #names.public static java.lang.String getGatewaySenderConfig()
gatewaySenderConfig, or null if it is not
set.HydraConfigException - if not found in #names.public static java.lang.String getAsyncEventQueueConfig()
asyncEventQueueConfig, or null if it is not
set.HydraConfigException - if not found in #names.public static java.lang.String getGatewayConfig()
gatewayConfig, or null if it is not set.HydraConfigException - if not found in GatewayPrms.names.public static java.lang.String getGatewayHubConfig()
gatewayHubConfig, or null if it is not set.HydraConfigException - if not found in GatewayHubPrms.names.public static java.lang.String getDiskStoreConfig()
#diskConfig, or null if it is not set.HydraConfigException - if not found in DiskStorePrms.names.public static java.lang.String getPoolConfig()
poolConfig, or null if it is not set.HydraConfigException - if not found in PoolPrms.names.public static java.lang.String getAdminConfig()
adminConfig, or null if it is not set.HydraConfigException - if not found in AdminPrms.names.public static java.lang.String getAgentConfig()
agentConfig, or null if it is not set.HydraConfigException - if not found in AgentPrms.names.public static java.lang.String getHadoopConfig()
hadoopConfig, or null if it is not set.HydraConfigException - if not found in HadoopPrms.names.public static java.lang.String getHDFSStoreConfig()
hdfsStoreConfig, or null if it is not set.HydraConfigException - if not found in HDFSStorePrms.names.public static java.lang.String getString(java.lang.Long key)
public static void main(java.lang.String[] args)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.