zstan commented on code in PR #13002:
URL: https://github.com/apache/ignite/pull/13002#discussion_r3063960978
##########
modules/core/src/main/java/org/apache/ignite/cache/CacheInterceptor.java:
##########
@@ -33,6 +33,9 @@
* Cache interceptor is configured via {@link
CacheConfiguration#getInterceptor()}
* configuration property.
* <p>
+ * The type of incoming values depends on cache operation types, that is, the
{@link IgniteCache#withKeepBinary()}
Review Comment:
yep, done
##########
docs/_docs/key-value-api/binary-objects.adoc:
##########
@@ -177,6 +177,21 @@ tab:C#/.NET[unsupported]
tab:C++[unsupported]
--
+== Interaction with CacheInterceptor
+`CacheInterceptor` also take into account cache `keepBinary` mode and process
a value appropriately.
+
+[tabs]
+--
+tab:Java[]
+[source,java]
+----
+include::{javaCodeDir}/WorkingWithBinaryObjects.java[tag=keepBinaryWithCacheInterceptor,indent=0]
+----
+
+tab:C#/.NET[unsupported]
+
+tab:C++[unsupported]
Review Comment:
moved
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]