public class KryoObjectSerialiser extends Object implements ObjectSerialiser
Constructor and Description |
---|
KryoObjectSerialiser() |
Modifier and Type | Method and Description |
---|---|
int |
getTag()
Returns an unique identifier for this object serialiser
|
Pair<InputStream,Object> |
readObject(InputStream inputStream)
Retreieves an object from a stream.
|
OutputStream |
writeObject(Object object,
OutputStream outputStream)
Writes an object to the supplied stream.
|
public int getTag()
ObjectSerialiser
getTag
in interface ObjectSerialiser
public Pair<InputStream,Object> readObject(InputStream inputStream) throws IOException, ClassNotFoundException
ObjectSerialiser
readObject
in interface ObjectSerialiser
IOException
ClassNotFoundException
@NotNull public OutputStream writeObject(Object object, OutputStream outputStream) throws IOException
ObjectSerialiser
writeObject
in interface ObjectSerialiser
IOException
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.