public class ContextConfigurations extends Object
| Constructor and Description |
|---|
ContextConfigurations() |
ContextConfigurations(Collection<ContextConfiguration> contextConfigs) |
| Modifier and Type | Method and Description |
|---|---|
ContextConfigurations |
addContextConfig(ContextConfiguration contextConfig) |
ContextConfigurations |
addContextConfig(org.opennms.newts.api.Context context,
org.opennms.newts.api.Duration resourceShard,
com.datastax.driver.core.ConsistencyLevel readConsistencyLevel,
com.datastax.driver.core.ConsistencyLevel writeConsistencyLevel) |
com.datastax.driver.core.ConsistencyLevel |
getReadConsistency(org.opennms.newts.api.Context context) |
org.opennms.newts.api.Duration |
getResourceShard(org.opennms.newts.api.Context context) |
com.datastax.driver.core.ConsistencyLevel |
getWriteConsistency(org.opennms.newts.api.Context context) |
public ContextConfigurations()
public ContextConfigurations(Collection<ContextConfiguration> contextConfigs)
public ContextConfigurations addContextConfig(ContextConfiguration contextConfig)
public ContextConfigurations addContextConfig(org.opennms.newts.api.Context context, org.opennms.newts.api.Duration resourceShard, com.datastax.driver.core.ConsistencyLevel readConsistencyLevel, com.datastax.driver.core.ConsistencyLevel writeConsistencyLevel)
public org.opennms.newts.api.Duration getResourceShard(org.opennms.newts.api.Context context)
public com.datastax.driver.core.ConsistencyLevel getReadConsistency(org.opennms.newts.api.Context context)
public com.datastax.driver.core.ConsistencyLevel getWriteConsistency(org.opennms.newts.api.Context context)
Copyright © 2017. All rights reserved.