public class CassandraYaml extends Object
cassandra.yaml file to be used by embedded Cassandra. Typical usage:
CassandraYaml.builder()
.load("/path/to/default/cassandra.yaml")//
.baseDir("/set/all/datadirs/releative/to/this/dir")//
.clusterName("myCluster")//
.defaultKeyCacheSize()//
.defaultNativeTransportMaxThreads()//
.store("/path/to/cassandra.yaml")//
.mkdirs()//
.setCassandraConfigProp()
.setTriggersDirProp();
| Modifier and Type | Class and Description |
|---|---|
static class |
CassandraYaml.CassandraYamlBuilder
A fluent builder to prepare a
cassandra.yaml file. |
static class |
CassandraYaml.CassandraYamlKey
Some keys from
cassandra.yaml configuration file. |
static class |
CassandraYaml.StoredCassandraYamlStage
The type returned by
CassandraYaml.CassandraYamlBuilder.store(File), that allows for performing further operations
related to the stored cassandra.yaml file. |
| Constructor and Description |
|---|
CassandraYaml() |
public static CassandraYaml.CassandraYamlBuilder builder()
CassandraYaml.CassandraYamlBuilderCopyright © 2014–2016 Red Hat, Inc.. All rights reserved.