java: Implement the Database.WatchPatterns and Collection.Scan

I wasn't able to see that the onChange is called (which matches what
zinman@ also observed).

This change also contains two fixes to the ScanCallbacks interface:

 - the onValue method is renamed to onKeyValue
 - the onDone is updated to take a VError argument.

Due to some new "inconsistent definitions" I also had to move the
jFindClass from jni_util to jni.go. The bottom of the jni.go and the
jni_lib.go are also sorted.

MultiPart: 1/2
Change-Id: Ie3a07a22cadb88fe3c888da5453fbc3ff0e293f1
7 files changed
tree: 79616f7577d2fbe5f024710085c9eebc243cb7cd
  1. cmd/
  2. examples/
  3. internal/
  4. lib/
  5. runtime/
  6. services/
  7. test/
  8. .gitignore
  9. AUTHORS
  10. CONTRIBUTING.md
  11. CONTRIBUTORS
  12. envvar.go
  13. envvar_test.go
  14. LICENSE
  15. PATENTS
  16. README.md
  17. VERSION
README.md

Vanadium

This repository contains a reference implementation of the Vanadium APIs.

Unlike the APIs in https://github.com/vanadium/go.v23, which promises to provide backward compatibility this repository makes no such promises.