org.apache.cassandra.tools
Class NodeCmd
java.lang.Object
org.apache.cassandra.tools.NodeCmd
public class NodeCmd
- extends java.lang.Object
Method Summary |
static void |
main(java.lang.String[] args)
|
void |
predictConsistency(java.lang.Integer replicationFactor,
java.lang.Integer timeAfterWrite,
java.lang.Integer numVersions,
java.lang.Float percentileLatency,
java.io.PrintStream output)
|
void |
printClusterStatus(java.io.PrintStream outs,
java.lang.String keyspace)
Writes a table of cluster-wide node information to a PrintStream |
void |
printColumnFamilyStats(java.io.PrintStream outs)
|
void |
printCompactionStats(java.io.PrintStream outs)
|
void |
printInfo(java.io.PrintStream outs,
org.apache.cassandra.tools.NodeCmd.ToolCommandLine cmd)
Write node information. |
void |
printNetworkStats(java.net.InetAddress addr,
java.io.PrintStream outs)
|
void |
printReleaseVersion(java.io.PrintStream outs)
|
void |
printRemovalStatus(java.io.PrintStream outs)
|
void |
printRing(java.io.PrintStream outs,
java.lang.String keyspace)
Write a textual representation of the Cassandra ring. |
void |
printThreadPoolStats(java.io.PrintStream outs)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodeCmd
public NodeCmd(NodeProbe probe)
printRing
public void printRing(java.io.PrintStream outs,
java.lang.String keyspace)
- Write a textual representation of the Cassandra ring.
- Parameters:
outs
- the stream to write to
printClusterStatus
public void printClusterStatus(java.io.PrintStream outs,
java.lang.String keyspace)
throws java.net.UnknownHostException
- Writes a table of cluster-wide node information to a PrintStream
- Throws:
java.net.UnknownHostException
printThreadPoolStats
public void printThreadPoolStats(java.io.PrintStream outs)
printInfo
public void printInfo(java.io.PrintStream outs,
org.apache.cassandra.tools.NodeCmd.ToolCommandLine cmd)
- Write node information.
- Parameters:
outs
- the stream to write to
printReleaseVersion
public void printReleaseVersion(java.io.PrintStream outs)
printNetworkStats
public void printNetworkStats(java.net.InetAddress addr,
java.io.PrintStream outs)
printCompactionStats
public void printCompactionStats(java.io.PrintStream outs)
printColumnFamilyStats
public void printColumnFamilyStats(java.io.PrintStream outs)
printRemovalStatus
public void printRemovalStatus(java.io.PrintStream outs)
predictConsistency
public void predictConsistency(java.lang.Integer replicationFactor,
java.lang.Integer timeAfterWrite,
java.lang.Integer numVersions,
java.lang.Float percentileLatency,
java.io.PrintStream output)
main
public static void main(java.lang.String[] args)
throws java.io.IOException,
java.lang.InterruptedException,
ConfigurationException,
org.apache.commons.cli.ParseException
- Throws:
java.io.IOException
java.lang.InterruptedException
ConfigurationException
org.apache.commons.cli.ParseException
Copyright © 2012 The Apache Software Foundation