public class NodeCmd
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args) |
void |
printClusterDescription(java.io.PrintStream outs,
java.lang.String host)
Print the name, snitch, partitioner and schema version(s) of a cluster
|
void |
printClusterStatus(java.io.PrintStream outs,
java.lang.String keyspace,
boolean resolveIp)
Writes a keyspaceName of cluster-wide node information to a PrintStream
|
void |
printColumnFamilyStats(java.io.PrintStream outs,
boolean ignoreMode,
java.lang.String[] filterList) |
void |
printCompactionStats(java.io.PrintStream outs) |
void |
printCompactionThreshold(java.io.PrintStream outs,
java.lang.String ks,
java.lang.String cf)
Print the compaction threshold
|
void |
printCompactionThroughput(java.io.PrintStream outs)
Print the compaction throughput
|
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,
boolean resolveIp)
Write a textual representation of the Cassandra ring.
|
void |
printStreamThroughput(java.io.PrintStream outs)
Print the stream throughput
|
void |
printThreadPoolStats(java.io.PrintStream outs) |
public NodeCmd(NodeProbe probe)
public void printRing(java.io.PrintStream outs, java.lang.String keyspace, boolean resolveIp)
outs
- the stream to write topublic void printClusterStatus(java.io.PrintStream outs, java.lang.String keyspace, boolean resolveIp) throws java.net.UnknownHostException
java.net.UnknownHostException
public void printThreadPoolStats(java.io.PrintStream outs)
public void printInfo(java.io.PrintStream outs, org.apache.cassandra.tools.NodeCmd.ToolCommandLine cmd)
outs
- the stream to write topublic void printReleaseVersion(java.io.PrintStream outs)
public void printNetworkStats(java.net.InetAddress addr, java.io.PrintStream outs)
public void printCompactionStats(java.io.PrintStream outs)
public void printCompactionThreshold(java.io.PrintStream outs, java.lang.String ks, java.lang.String cf)
outs
- the stream to write topublic void printCompactionThroughput(java.io.PrintStream outs)
outs
- the stream to write topublic void printStreamThroughput(java.io.PrintStream outs)
outs
- the stream to write topublic void printClusterDescription(java.io.PrintStream outs, java.lang.String host)
outs
- Output streamhost
- Server addresspublic void printColumnFamilyStats(java.io.PrintStream outs, boolean ignoreMode, java.lang.String[] filterList)
public void printRemovalStatus(java.io.PrintStream outs)
public static void main(java.lang.String[] args) throws java.io.IOException, java.lang.InterruptedException, org.apache.commons.cli.ParseException
java.io.IOException
java.lang.InterruptedException
org.apache.commons.cli.ParseException
Copyright © 2015 The Apache Software Foundation