Permalink
Browse files

Allow application to register serializers to Kryo object

  • Loading branch information...
1 parent b11da4f commit c22c2eee9a61356111b2bfc22694fa09e71de879 Bruce Robbins committed Oct 17, 2011
Showing with 5 additions and 1 deletion.
  1. +5 −1 s4-core/src/main/java/io/s4/serialize/KryoSerDeser.java
@@ -36,7 +36,11 @@ public void setMaxBufferSize(int maxBufferSize) {
this.maxBufferSize = maxBufferSize;
}
- public KryoSerDeser() {
+ public Kryo getKryo() {
+ return kryo;
+ }
+
+ public KryoSerDeser() {
kryo.setRegistrationOptional(true);
// UUIDs don't have a no-arg constructor.

0 comments on commit c22c2ee

Please sign in to comment.