public class ShadedKryoAdapter extends Object implements KryoShim<ShadedInputAdapter,ShadedOutputAdapter>
Constructor and Description |
---|
ShadedKryoAdapter(org.apache.tinkerpop.shaded.kryo.Kryo shadedKryo) |
Modifier and Type | Method and Description |
---|---|
Object |
readClassAndObject(ShadedInputAdapter input) |
<T> T |
readObject(ShadedInputAdapter input,
Class<T> type) |
<T> T |
readObjectOrNull(ShadedInputAdapter input,
Class<T> type) |
void |
writeClassAndObject(ShadedOutputAdapter output,
Object object) |
void |
writeObject(ShadedOutputAdapter output,
Object object) |
void |
writeObjectOrNull(ShadedOutputAdapter output,
Object object,
Class type) |
public ShadedKryoAdapter(org.apache.tinkerpop.shaded.kryo.Kryo shadedKryo)
public <T> T readObject(ShadedInputAdapter input, Class<T> type)
readObject
in interface KryoShim<ShadedInputAdapter,ShadedOutputAdapter>
public Object readClassAndObject(ShadedInputAdapter input)
readClassAndObject
in interface KryoShim<ShadedInputAdapter,ShadedOutputAdapter>
public void writeObject(ShadedOutputAdapter output, Object object)
writeObject
in interface KryoShim<ShadedInputAdapter,ShadedOutputAdapter>
public void writeClassAndObject(ShadedOutputAdapter output, Object object)
writeClassAndObject
in interface KryoShim<ShadedInputAdapter,ShadedOutputAdapter>
public <T> T readObjectOrNull(ShadedInputAdapter input, Class<T> type)
readObjectOrNull
in interface KryoShim<ShadedInputAdapter,ShadedOutputAdapter>
public void writeObjectOrNull(ShadedOutputAdapter output, Object object, Class type)
writeObjectOrNull
in interface KryoShim<ShadedInputAdapter,ShadedOutputAdapter>
Copyright © 2013–2022 Apache Software Foundation. All rights reserved.