public abstract class AbstractCassandraModule
extends com.google.inject.AbstractModule
Constructor and Description |
---|
AbstractCassandraModule() |
Modifier and Type | Method and Description |
---|---|
protected CassandraDriver |
newDriver(String propertyContext,
com.codahale.metrics.health.HealthCheckRegistry registry,
String instanceName)
Construct the Cassandra driver from the specified context
|
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindListener, bindListener, bindScope, configure, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
protected CassandraDriver newDriver(String propertyContext, com.codahale.metrics.health.HealthCheckRegistry registry, String instanceName) throws IOException, com.netflix.astyanax.connectionpool.exceptions.ConnectionException
propertyContext
- property contextregistry
- metrics registryinstanceName
- name of the isntanceIOException
- io exceptioncom.netflix.astyanax.connectionpool.exceptions.ConnectionException
- when connection failedCopyright © 2016. All rights reserved.