| Package | Description |
|---|---|
| info.archinnov.achilles.embedded |
| Modifier and Type | Method and Description |
|---|---|
CassandraEmbeddedServerBuilder |
CassandraEmbeddedServerBuilder.cleanDataFilesAtStartup(boolean cleanDataFilesAtStartup)
Whether to clean all data files in data folder, commit log folder and
saved caches folder at startup or not.
|
static CassandraEmbeddedServerBuilder |
CassandraEmbeddedServerBuilder.noEntityPackages()
Bootstrap Achilles without entity packages.
|
CassandraEmbeddedServerBuilder |
CassandraEmbeddedServerBuilder.withAchillesConfigParams(Map<ConfigurationParameters,Object> configParams)
Add Achilles configuration parameters
|
CassandraEmbeddedServerBuilder |
CassandraEmbeddedServerBuilder.withClusterName(String clusterName)
Specify the cluster name for the embedded Cassandra server.
|
CassandraEmbeddedServerBuilder |
CassandraEmbeddedServerBuilder.withCommitLogFolder(String commitLogFolder)
Specify commit log folder for the embedded Cassandra server.
|
CassandraEmbeddedServerBuilder |
CassandraEmbeddedServerBuilder.withConcurrentReads(int concurrentReads)
Specify the number threads for concurrent reads for the embedded Cassandra
server.
|
CassandraEmbeddedServerBuilder |
CassandraEmbeddedServerBuilder.withConcurrentWrites(int concurrentWrites)
Specify the number threads for concurrent writes for the embedded Cassandra
server.
|
CassandraEmbeddedServerBuilder |
CassandraEmbeddedServerBuilder.withCQLPort(int clqPort)
Specify the native transport port (CQL port) for the embedded Cassandra
server.
|
CassandraEmbeddedServerBuilder |
CassandraEmbeddedServerBuilder.withDataFolder(String dataFolder)
Specify data folder for the embedded Cassandra server.
|
CassandraEmbeddedServerBuilder |
CassandraEmbeddedServerBuilder.withDurableWrite(boolean durableWrite)
Specify the 'durable write' property for the embedded Cassandra server.
|
static CassandraEmbeddedServerBuilder |
CassandraEmbeddedServerBuilder.withEntities(Class<?>... entities)
Bootstrap Achilles with entities
|
static CassandraEmbeddedServerBuilder |
CassandraEmbeddedServerBuilder.withEntities(List<Class<?>> entities)
Bootstrap Achilles with entities list
|
static CassandraEmbeddedServerBuilder |
CassandraEmbeddedServerBuilder.withEntityPackages(String entityPackages)
Bootstrap Achilles with entity packages
|
CassandraEmbeddedServerBuilder |
CassandraEmbeddedServerBuilder.withKeyspaceName(String keyspaceName)
Specify the keyspace name for the embedded Cassandra server.
|
CassandraEmbeddedServerBuilder |
CassandraEmbeddedServerBuilder.withProtocolVersion(com.datastax.driver.core.ProtocolVersion protocolVersion) |
CassandraEmbeddedServerBuilder |
CassandraEmbeddedServerBuilder.withSavedCachesFolder(String savedCachesFolder)
Specify saved caches folder for the embedded Cassandra server.
|
CassandraEmbeddedServerBuilder |
CassandraEmbeddedServerBuilder.withScript(String scriptLocation)
Load an CQL script in the class path and execute it upon initialization
of the embedded Cassandra server
Call this method as many times as there are CQL scripts to be executed. |
CassandraEmbeddedServerBuilder |
CassandraEmbeddedServerBuilder.withStoragePort(int storagePort)
Specify the storage port for the embedded Cassandra server.
|
CassandraEmbeddedServerBuilder |
CassandraEmbeddedServerBuilder.withStorageSSLPort(int storageSSLPort)
Specify the storage SSL port for the embedded Cassandra server.
|
CassandraEmbeddedServerBuilder |
CassandraEmbeddedServerBuilder.withThriftPort(int thriftPort)
Specify the rpc port (Thrift port) for the embedded Cassandra server.
|
Copyright © 2012-2016. All Rights Reserved.