Add doc
This commit is contained in:
parent
d3b44f072f
commit
d160595d97
|
@ -216,7 +216,8 @@ public class Options {
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Pointer to statistics object. Should only be called after statistics has
|
* Pointer to statistics object. Should only be called after statistics has
|
||||||
* been created by createStatistics() call.
|
* been created by createStatistics() call. Calls createStatistics() if
|
||||||
|
* C++ returns NULL pointer for statistics.
|
||||||
*
|
*
|
||||||
* @see createStatistics()
|
* @see createStatistics()
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -28,6 +28,11 @@ jlong Java_org_rocksdb_Statistics_getTickerCount0(
|
||||||
return st->getTickerCount(static_cast<rocksdb::Tickers>(tickerType));
|
return st->getTickerCount(static_cast<rocksdb::Tickers>(tickerType));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: org_rocksdb_Statistics
|
||||||
|
* Method: geHistogramData0
|
||||||
|
* Signature: (IJ)Lorg/rocksdb/HistogramData;
|
||||||
|
*/
|
||||||
jobject Java_org_rocksdb_Statistics_geHistogramData0(
|
jobject Java_org_rocksdb_Statistics_geHistogramData0(
|
||||||
JNIEnv* env, jobject jobj, int histogramType, jlong handle) {
|
JNIEnv* env, jobject jobj, int histogramType, jlong handle) {
|
||||||
auto st = reinterpret_cast<rocksdb::Statistics*>(handle);
|
auto st = reinterpret_cast<rocksdb::Statistics*>(handle);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user