public class SchemaAwareKryo
extends com.esotericsoftware.kryo.Kryo
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
flush() |
static SchemaAwareKryo |
forInput(SchemaI schema,
java.io.InputStream is) |
static SchemaAwareKryo |
forOutput(SchemaI schema,
java.io.OutputStream os,
boolean asServer) |
java.io.InputStream |
getCommonInputStream() |
java.io.OutputStream |
getCommonOutputStream() |
com.esotericsoftware.kryo.Serializer |
getDefaultSerializer(java.lang.Class type) |
java.lang.Object |
readClassAndObject() |
void |
setReplaceBoAfterRead(java.util.function.Function<Identifiable,Identifiable> replaceFunction) |
void |
setReplaceBoBeforeWrite(java.util.function.Function<Identifiable,Identifiable> replaceFunction) |
void |
writeClassAndObject(java.lang.Object o) |
void |
writeClassAndObject(com.esotericsoftware.kryo.io.Output output,
java.lang.Object o) |
addDefaultSerializer, addDefaultSerializer, addDefaultSerializer, copy, copy, copyShallow, copyShallow, getClassLoader, getClassResolver, getContext, getDepth, getGenerics, getGraphContext, getInstantiatorStrategy, getNextRegistrationId, getOriginalToCopyMap, getReferenceResolver, getReferences, getRegistration, getRegistration, getSerializer, getWarnUnregisteredClasses, isClosure, isFinal, isRegistrationRequired, newInstance, readClass, readClassAndObject, readObject, readObject, readObjectOrNull, readObjectOrNull, reference, register, register, register, register, register, reset, setAutoReset, setClassLoader, setCopyReferences, setDefaultSerializer, setDefaultSerializer, setInstantiatorStrategy, setMaxDepth, setOptimizedGenerics, setReferenceResolver, setReferences, setRegistrationRequired, setWarnUnregisteredClasses, writeClass, writeObject, writeObject, writeObjectOrNull, writeObjectOrNull
public static SchemaAwareKryo forOutput(SchemaI schema, java.io.OutputStream os, boolean asServer)
public static SchemaAwareKryo forInput(SchemaI schema, java.io.InputStream is)
public void writeClassAndObject(java.lang.Object o)
public void flush() throws java.io.IOException
java.io.IOException
public java.io.InputStream getCommonInputStream()
public java.io.OutputStream getCommonOutputStream()
public void close() throws java.io.IOException
java.io.IOException
public java.lang.Object readClassAndObject()
public void writeClassAndObject(com.esotericsoftware.kryo.io.Output output, java.lang.Object o)
writeClassAndObject
in class com.esotericsoftware.kryo.Kryo
public com.esotericsoftware.kryo.Serializer getDefaultSerializer(java.lang.Class type)
getDefaultSerializer
in class com.esotericsoftware.kryo.Kryo
public void setReplaceBoBeforeWrite(java.util.function.Function<Identifiable,Identifiable> replaceFunction)
public void setReplaceBoAfterRead(java.util.function.Function<Identifiable,Identifiable> replaceFunction)
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.