Interface KryoShim<I extends InputShim,O extends OutputShim>
- Type Parameters:
I- this interface's complementary InputShimO- this interface's complementary OutputShim
- All Known Implementing Classes:
ShadedKryoAdapter
public interface KryoShim<I extends InputShim,O extends OutputShim>
A minimal
Kryo-like abstraction. See that class for method documentation.-
Method Summary
Modifier and TypeMethodDescriptionreadClassAndObject(I input) <T> TreadObject(I input, Class<T> type) <T> TreadObjectOrNull(I input, Class<T> type) voidwriteClassAndObject(O output, Object object) voidwriteObject(O output, Object object) voidwriteObjectOrNull(O output, Object object, Class type)
-
Method Details
-
readObject
-
readClassAndObject
-
writeObject
-
writeClassAndObject
-
readObjectOrNull
-
writeObjectOrNull
-