On 3/9/2016 6:43 PM, Alexey Goncharuk wrote:
Hi,

The current version of test is not very clean and it works only because
withKeepBinary() is a noop. The correct version would be to use plain cache
for non-binary-object entry processor and use withKeepBinary for
binary-object entry processor. You can see that EntryProcessor creation is
encapsulated in a separate method testClosure() which is overridden in test
inheritors. The same thing should be done for the cache.

Alexey, thank you for the comment.

On a side note: you do not find it confusing that you can set a marshaller on a grid but you get a binary cache from another cache via withKeepBinary()?

Thanks!

Reply via email to