| Package | Description |
|---|---|
| me.prettyprint.cassandra.model |
The model package defines the thrift/avro reflections used by hector to shield the specific types
of the objects.
|
| me.prettyprint.cassandra.service | |
| me.prettyprint.hector.api.factory |
| Modifier and Type | Field and Description |
|---|---|
protected FailoverPolicy |
ExecutingKeyspace.failoverPolicy |
| Constructor and Description |
|---|
ExecutingKeyspace(String keyspace,
HConnectionManager connectionManager,
ConsistencyLevelPolicy consistencyLevelPolicy,
FailoverPolicy failoverPolicy) |
ExecutingKeyspace(String keyspace,
HConnectionManager connectionManager,
ConsistencyLevelPolicy consistencyLevelPolicy,
FailoverPolicy failoverPolicy,
Map<String,String> credentials) |
ExecutingVirtualKeyspace(String keyspace,
E keyPrefix,
Serializer<E> keyPrefixSerializer,
HConnectionManager connectionManager,
ConsistencyLevelPolicy consistencyLevelPolicy,
FailoverPolicy failoverPolicy) |
ExecutingVirtualKeyspace(String keyspace,
E keyPrefix,
Serializer<E> keyPrefixSerializer,
HConnectionManager connectionManager,
ConsistencyLevelPolicy consistencyLevelPolicy,
FailoverPolicy failoverPolicy,
Map<String,String> credentials) |
| Modifier and Type | Field and Description |
|---|---|
static FailoverPolicy |
FailoverPolicy.FAIL_FAST
On communication failure, just return the error to the client and don't retry
|
FailoverPolicy |
Operation.failoverPolicy |
static FailoverPolicy |
FailoverPolicy.ON_FAIL_TRY_ALL_AVAILABLE
On communication error try all known servers before giving up
|
static FailoverPolicy |
FailoverPolicy.ON_FAIL_TRY_ONE_NEXT_AVAILABLE
On communication error try one more server before giving up
|
| Modifier and Type | Method and Description |
|---|---|
void |
VirtualKeyspaceOperation.applyConnectionParams(String keyspace,
ConsistencyLevelPolicy consistencyLevelPolicy,
FailoverPolicy failoverPolicy,
Map<String,String> credentials) |
void |
Operation.applyConnectionParams(String keyspace,
ConsistencyLevelPolicy consistencyLevelPolicy,
FailoverPolicy failoverPolicy,
Map<String,String> credentials) |
| Constructor and Description |
|---|
KeyspaceServiceImpl(String keyspaceName,
ConsistencyLevelPolicy consistencyLevel,
HConnectionManager connectionManager,
FailoverPolicy failoverPolicy) |
KeyspaceServiceImpl(String keyspaceName,
ConsistencyLevelPolicy consistencyLevel,
HConnectionManager connectionManager,
FailoverPolicy failoverPolicy,
Map<String,String> credentials) |
Operation(OperationType operationType,
FailoverPolicy failoverPolicy,
Map<String,String> credentials) |
Operation(OperationType operationType,
FailoverPolicy failoverPolicy,
String keyspaceName,
Map<String,String> credentials) |
VirtualKeyspaceServiceImpl(String keyspaceName,
E keyPrefix,
Serializer<E> keyPrefixSerializer,
ConsistencyLevelPolicy consistencyLevel,
HConnectionManager connectionManager,
FailoverPolicy failoverPolicy) |
VirtualKeyspaceServiceImpl(String keyspaceName,
E keyPrefix,
Serializer<E> keyPrefixSerializer,
ConsistencyLevelPolicy consistencyLevel,
HConnectionManager connectionManager,
FailoverPolicy failoverPolicy,
Map<String,String> credentials) |
| Modifier and Type | Method and Description |
|---|---|
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,
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) |
Copyright © 2014. All Rights Reserved.