Get current VersionStamp

Hi, is there a way to fetch “current” versionstamp using Java API?
I am trying to implement a layer to provide “tail” semantics on a key space:

key_space: log/pref_versionstamp -> {value}

Clients get two API:
- getCurVersionStamp()
- getUpdatesAfter(some_versionstamp)

Clients get an initial versionstamp bookmark using first API - in order to establish the initial read point. (they may read past K versions from this init-point in order to do some initialization).

They then loop and fetch newer versions using the second API by passing in existing bookmarked versionstamp, and updating the bookmark to the versionstamp of the last key fetched in a given iteration.

I understand that they can set watches to get similar results, but I am keeping that as a later optimization if required.


thanks,
gaurav