mirror of https://github.com/facebook/rocksdb.git
Fix formatting issues
This commit is contained in:
parent
ebd85e8f3a
commit
686fdea811
|
@ -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…
Reference in New Issue