| Modifier and Type | Field and Description |
|---|---|
protected Cluster |
AbstractLockManager.cluster |
| Modifier and Type | Method and Description |
|---|---|
Cluster |
AbstractLockManager.getCluster() |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractLockManager.setCluster(Cluster cluster) |
| Constructor and Description |
|---|
AbstractLockManager(Cluster cluster) |
AbstractLockManager(Cluster cluster,
HLockManagerConfigurator hlmc) |
AbstractLockManager(Cluster cluster,
Keyspace keyspace) |
AbstractLockManager(Cluster cluster,
Keyspace keyspace,
HLockManagerConfigurator lockManagerConfigurator) |
HLockManagerImpl(Cluster cluster,
HLockManagerConfigurator hlc) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractCluster
A cluster instance the client side representation of a cassandra server cluster.
|
class |
ThriftCluster |
| Modifier and Type | Method and Description |
|---|---|
Cluster |
HectorTemplateImpl.getCluster() |
Cluster |
HectorTemplate.getCluster() |
| Modifier and Type | Method and Description |
|---|---|
void |
HectorTemplateImpl.setCluster(Cluster cluster) |
| Constructor and Description |
|---|
HectorTemplateImpl(Cluster cluster,
String keyspace,
int replicationFactor,
String replicationStrategyClass,
ConfigurableConsistencyLevel configurableConsistencyLevelPolicy) |
| Modifier and Type | Method and Description |
|---|---|
static Cluster |
CassandraClusterFactory.getInstance(String name,
String host,
int port) |
| Modifier and Type | Method and Description |
|---|---|
static Cluster |
HFactory.createCluster(String clusterName,
CassandraHostConfigurator cassandraHostConfigurator)
Deprecated.
use getOrCreateCluster instead
|
static Cluster |
HFactory.createCluster(String clusterName,
CassandraHostConfigurator cassandraHostConfigurator,
Map<String,String> credentials)
Method looks in the cache for the cluster by name.
|
static Cluster |
HFactory.getCluster(String clusterName) |
static Cluster |
HFactory.getOrCreateCluster(String clusterName,
CassandraHostConfigurator cassandraHostConfigurator)
Calls the three argument version with a null credentials map.
|
static Cluster |
HFactory.getOrCreateCluster(String clusterName,
CassandraHostConfigurator cassandraHostConfigurator,
Map<String,String> credentials)
Method tries to create a Cluster instance for an existing Cassandra
cluster.
|
static Cluster |
HFactory.getOrCreateCluster(String clusterName,
String hostIp)
Method tries to create a Cluster instance for an existing Cassandra
cluster.
|
| Modifier and Type | Method and Description |
|---|---|
static Keyspace |
HFactory.createKeyspace(String keyspace,
Cluster cluster)
Creates a Keyspace with the default consistency level policy.
|
static Keyspace |
HFactory.createKeyspace(String keyspace,
Cluster cluster,
ConsistencyLevelPolicy consistencyLevelPolicy)
Creates a Keyspace with the given consistency level.
|
static Keyspace |
HFactory.createKeyspace(String keyspace,
Cluster cluster,
ConsistencyLevelPolicy consistencyLevelPolicy,
FailoverPolicy failoverPolicy)
Creates a Keyspace with the given consistency level.
|
static Keyspace |
HFactory.createKeyspace(String keyspace,
Cluster cluster,
ConsistencyLevelPolicy consistencyLevelPolicy,
FailoverPolicy failoverPolicy,
Map<String,String> credentials)
Creates a Keyspace with the given consistency level, fail over policy
and user credentials.
|
static <E> Keyspace |
HFactory.createVirtualKeyspace(String keyspace,
E keyPrefix,
Serializer<E> keyPrefixSerializer,
Cluster cluster) |
static <E> Keyspace |
HFactory.createVirtualKeyspace(String keyspace,
E keyPrefix,
Serializer<E> keyPrefixSerializer,
Cluster cluster,
ConsistencyLevelPolicy consistencyLevelPolicy) |
static <E> Keyspace |
HFactory.createVirtualKeyspace(String keyspace,
E keyPrefix,
Serializer<E> keyPrefixSerializer,
Cluster cluster,
ConsistencyLevelPolicy consistencyLevelPolicy,
FailoverPolicy failoverPolicy) |
static <E> Keyspace |
HFactory.createVirtualKeyspace(String keyspace,
E keyPrefix,
Serializer<E> keyPrefixSerializer,
Cluster cluster,
ConsistencyLevelPolicy consistencyLevelPolicy,
FailoverPolicy failoverPolicy,
Map<String,String> credentials) |
static void |
HFactory.setClusterForTest(Cluster cluster) |
static void |
HFactory.shutdownCluster(Cluster cluster)
Shutdown this cluster, removing it from the Map.
|
| Modifier and Type | Method and Description |
|---|---|
Cluster |
HLockManager.getCluster()
the Cluster this Lock Manager is running on
|
Copyright © 2014. All Rights Reserved.