Hi all,

We're working on a new protocol for Geode, which means wrapping Geode APIs
and exposing them via the new protocol. For performance and to avoid
class/serialization logic, we want to get these objects in serialized form.
This means calling cache.setReadSerializedForCurrentThread(true) while
we're operating.

However, what side effects might this have on CacheListeners or other
user-defined callbacks? Looking at the API for CacheListener, it's not
clear whether EntryEvent.getOldValue respects the value of
pdx-read-serialized or whether it always deserialized (since there is an
associated getSerializedOldValue method here). There is also PostProcessor
and may be other APIs that will be affected as well.

So, how do we make sure we don't break callbacks? Is there an API I don't
know about for getting entries in PDX serialized format (or whatever format
they're currently in in the region)?

Thanks,
Galen

Reply via email to