Skip to content

Conversation

@sagar0
Copy link
Contributor

@sagar0 sagar0 commented Sep 18, 2017

JNI wrappers for LoadLatestOptions, LoadOptionsFromFile and GetLatestOptionsFileName APIs.

Test Plan:
Added new junit tests.

@facebook-github-bot
Copy link
Contributor

@sagar0 has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@sagar0 sagar0 requested a review from adamretter September 19, 2017 17:45
@sagar0 sagar0 changed the title Java APIs for LoadLatestOptions, LoadOptionsFromFile and GetLatestOptionsFileName Expose LoadLatestOptions, LoadOptionsFromFile and GetLatestOptionsFileName APIs in RocksJava Sep 19, 2017
@siying
Copy link
Contributor

siying commented Sep 21, 2017

Is there any .md file to update for the adding the API?

@sagar0
Copy link
Contributor Author

sagar0 commented Sep 21, 2017

There is HISTORY-JAVA.md, but it hasn't been updated in over 2 years.

if (jcfd != nullptr) {
env->DeleteLocalRef(jcfd);
}
return;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you want to clear the objects already put in cf_descs?

if (jcfd != nullptr) {
env->DeleteLocalRef(jcfd);
}
return;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here.

@facebook-github-bot
Copy link
Contributor

@sagar0 has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@sagar0 sagar0 deleted the java-reload-options branch September 23, 2017 20:31
facebook-github-bot pushed a commit that referenced this pull request Oct 12, 2017
Summary:
Adding OptionsUtil java class and options_util.cc to java/CMakeLists.txt, which were missed accidentally when they were introduced in #2898.
Closes #2985

Differential Revision: D6015878

Pulled By: sagar0

fbshipit-source-id: 1abbd46db4aebad1e07ea53523eacbdcb12823e1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants