Package org.codehaus.mojo.cassandra
Class CompactCassandraMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.cassandra.AbstractCassandraMojo
org.codehaus.mojo.cassandra.CompactCassandraMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="compact",
threadSafe=true)
public class CompactCassandraMojo
extends AbstractCassandraMojo
Runs
nodetool compact
on a Cassandra instance.- Author:
- stephenc
-
Field Summary
Fields inherited from class org.codehaus.mojo.cassandra.AbstractCassandraMojo
addMainClasspath, addTestClasspath, cassandraDir, jmxPort, keyspace, listenAddress, logLevel, maxMemory, nativeTransportPort, project, rpcAddress, session, skip, startNativeTransport, stopKey, stopPort, storagePort, systemPropertyVariables
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.codehaus.mojo.cassandra.AbstractCassandraMojo
createCassandraHome, createCassandraHome, createCassandraJar, createCassandraJar, createEnvironmentVars, getToolchain, newJavaCommandLine, newNodetoolCommandLine, newServiceCommandLine, newServiceCommandLine, useJdk11Options
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
CompactCassandraMojo
public CompactCassandraMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
-