public class UnshadedKryoAdapter extends Object implements KryoShim<UnshadedInputAdapter,UnshadedOutputAdapter>
Constructor and Description |
---|
UnshadedKryoAdapter(Kryo unshadedKryo) |
Modifier and Type | Method and Description |
---|---|
Object |
readClassAndObject(UnshadedInputAdapter input) |
<T> T |
readObject(UnshadedInputAdapter input,
Class<T> type) |
<T> T |
readObjectOrNull(UnshadedInputAdapter input,
Class<T> type) |
void |
writeClassAndObject(UnshadedOutputAdapter output,
Object object) |
void |
writeObject(UnshadedOutputAdapter output,
Object object) |
void |
writeObjectOrNull(UnshadedOutputAdapter output,
Object object,
Class type) |
public <T> T readObject(UnshadedInputAdapter input, Class<T> type)
readObject
in interface KryoShim<UnshadedInputAdapter,UnshadedOutputAdapter>
public Object readClassAndObject(UnshadedInputAdapter input)
readClassAndObject
in interface KryoShim<UnshadedInputAdapter,UnshadedOutputAdapter>
public void writeObject(UnshadedOutputAdapter output, Object object)
writeObject
in interface KryoShim<UnshadedInputAdapter,UnshadedOutputAdapter>
public void writeClassAndObject(UnshadedOutputAdapter output, Object object)
writeClassAndObject
in interface KryoShim<UnshadedInputAdapter,UnshadedOutputAdapter>
public <T> T readObjectOrNull(UnshadedInputAdapter input, Class<T> type)
readObjectOrNull
in interface KryoShim<UnshadedInputAdapter,UnshadedOutputAdapter>
public void writeObjectOrNull(UnshadedOutputAdapter output, Object object, Class type)
writeObjectOrNull
in interface KryoShim<UnshadedInputAdapter,UnshadedOutputAdapter>
Copyright © 2013–2017 Apache Software Foundation. All rights reserved.