| Package | Description |
|---|---|
| info.archinnov.achilles.embedded |
| Modifier and Type | Method and Description |
|---|---|
static CassandraEmbeddedServerBuilder |
CassandraEmbeddedServerBuilder.builder()
Create a new CassandraEmbeddedServerBuilder
|
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.
|
CassandraEmbeddedServerBuilder |
CassandraEmbeddedServerBuilder.useUnsafeCassandraDeamon()
Use an unsafe version of the Cassandra daemon.
|
CassandraEmbeddedServerBuilder |
CassandraEmbeddedServerBuilder.useUnsafeCassandraDeamon(boolean useUnsafeCassandraDaemon)
Use an unsafe version of the Cassandra daemon.
|
CassandraEmbeddedServerBuilder |
CassandraEmbeddedServerBuilder.withBroadcastAddress(String broadcastAddress)
Specify the broadcast address.
|
CassandraEmbeddedServerBuilder |
CassandraEmbeddedServerBuilder.withBroadcastRpcAddress(String broadcastRpcAddress)
Specify the broadcast RPC address.
|
CassandraEmbeddedServerBuilder |
CassandraEmbeddedServerBuilder.withCdcRawFolder(String cdcRawFolder)
Specify cdc_raw folder for the embedded Cassandra server.
|
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.withConnectionProtocol(ProtocolVersion protocolVersion)
Specify the connection protocol version 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.
|
CassandraEmbeddedServerBuilder |
CassandraEmbeddedServerBuilder.withHintsFolder(String hintsFolder)
Specify hints folder for the embedded Cassandra server.
|
CassandraEmbeddedServerBuilder |
CassandraEmbeddedServerBuilder.withJMXPort(int jmxPort)
Specify the JMX port for the embedded Cassandra
server.
|
CassandraEmbeddedServerBuilder |
CassandraEmbeddedServerBuilder.withKeyspaceName(String keyspaceName)
Specify the keyspace name for the embedded Cassandra server.
|
CassandraEmbeddedServerBuilder |
CassandraEmbeddedServerBuilder.withListenAddress(String listenAddress)
Specify the listen address.
|
CassandraEmbeddedServerBuilder |
CassandraEmbeddedServerBuilder.withParams(info.archinnov.achilles.type.TypedMap cassandraParams)
Inject Cassandra parameters
|
CassandraEmbeddedServerBuilder |
CassandraEmbeddedServerBuilder.withRpcAddress(String rpcAddress)
Specify the rpc address.
|
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.withScriptTemplate(String scriptTemplateLocation,
Map<String,Object> values)
Load an CQL script template in the class path, inject the values into the template
to produce the final script and execute it upon initialization
of the embedded Cassandra server
Call this method as many times as there are CQL templates to be executed. |
CassandraEmbeddedServerBuilder |
CassandraEmbeddedServerBuilder.withShutdownHook(CassandraShutDownHook cassandraShutDownHook)
Inject a shutdown hook to control when to shutdown the embedded Cassandra process.
|
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-2021. All Rights Reserved.