mirror of https://github.com/apache/cassandra
Merge 4c4d8dc2de into 10557d7ffe
This commit is contained in:
commit
f2cb7ccb67
|
|
@ -74,13 +74,13 @@ public class StatsKeyspace
|
|||
{
|
||||
return readCount > 0
|
||||
? totalReadTime / readCount / 1000
|
||||
: Double.NaN;
|
||||
: 0;
|
||||
}
|
||||
|
||||
public double writeLatency()
|
||||
{
|
||||
return writeCount > 0
|
||||
? totalWriteTime / writeCount / 1000
|
||||
: Double.NaN;
|
||||
: 0;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue