public static class KeyValueWithPrevious.KeyValueWithPreviousExternalizer extends Object implements Externalizer<KeyValueWithPrevious>
Constructor and Description |
---|
KeyValueWithPreviousExternalizer() |
Modifier and Type | Method and Description |
---|---|
KeyValueWithPrevious |
readObject(ObjectInput input)
Read an instance from the stream.
|
void |
writeObject(ObjectOutput output,
KeyValueWithPrevious kvPair)
Write the object reference to the stream.
|
public void writeObject(ObjectOutput output, KeyValueWithPrevious kvPair) throws IOException
Externalizer
writeObject
in interface Externalizer<KeyValueWithPrevious>
output
- the object output to write tokvPair
- the object reference to writeIOException
- if an I/O error occurspublic KeyValueWithPrevious readObject(ObjectInput input) throws IOException, ClassNotFoundException
Externalizer
Externalizer.writeObject(ObjectOutput, Object)
method. Implementations are free
to create instances of the object read from the stream in any way that they
feel like. This could be via constructor, factory or reflection.readObject
in interface Externalizer<KeyValueWithPrevious>
input
- the object input to read fromIOException
- if an I/O error occursClassNotFoundException
- if a class could not be foundCopyright © 2018 JBoss, a division of Red Hat. All rights reserved.