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 minimalKryo
-like abstraction. See that class for method documentation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
readClassAndObject(I input)
<T> T
readObject(I input, Class<T> type)
<T> T
readObjectOrNull(I input, Class<T> type)
void
writeClassAndObject(O output, Object object)
void
writeObject(O output, Object object)
void
writeObjectOrNull(O output, Object object, Class type)
-