Fix formatting issues

main
Ankit Gupta 11 years ago
parent ebd85e8f3a
commit 686fdea811
  1. 4
      java/org/rocksdb/Options.java
  2. 3
      java/org/rocksdb/Statistics.java

@ -508,7 +508,7 @@ public class Options {
return maxBackgroundCompactions(nativeHandle_); return maxBackgroundCompactions(nativeHandle_);
} }
/* /**
* Creates statistics object which collects metrics about database operations. * Creates statistics object which collects metrics about database operations.
Statistics objects should not be shared between DB instances as Statistics objects should not be shared between DB instances as
it does not use any locks to prevent concurrent updates. it does not use any locks to prevent concurrent updates.
@ -522,7 +522,7 @@ public class Options {
return this; return this;
} }
/* /**
* Returns statistics object. Calls createStatistics() if * Returns statistics object. Calls createStatistics() if
* C++ returns NULL pointer for statistics. * C++ returns NULL pointer for statistics.
* *

@ -24,7 +24,8 @@ public class Statistics {
public HistogramData geHistogramData(HistogramType histogramType) { public HistogramData geHistogramData(HistogramType histogramType) {
assert(isInitialized()); assert(isInitialized());
HistogramData hist = geHistogramData0(histogramType.getValue(), statsHandle_); HistogramData hist = geHistogramData0(
histogramType.getValue(), statsHandle_);
return hist; return hist;
} }

Loading…
Cancel
Save