List of usage examples for org.apache.cassandra.config DatabaseDescriptor getConcurrentCompactors
public static int getConcurrentCompactors()
From source file:com.wenyu.utils.ClusterToolNodeProbe.java
License:Apache License
private void checkJobs(PrintStream out, int jobs) { if (jobs > getConcurrentCompactors()) out.println(String.format( "jobs (%d) is bigger than configured concurrent_compactors (%d) on this host, using at most %d threads", jobs, DatabaseDescriptor.getConcurrentCompactors(), DatabaseDescriptor.getConcurrentCompactors())); }