public static class NodeKey.Externalizer extends AbstractExternalizer<NodeKey>
| Constructor and Description |
|---|
Externalizer() |
| Modifier and Type | Method and Description |
|---|---|
Set<Class<? extends NodeKey>> |
getTypeClasses()
Returns a collection of Class instances representing the types that this
AdvancedExternalizer can marshall.
|
NodeKey |
readObject(ObjectInput input)
Read an instance from the stream.
|
void |
writeObject(ObjectOutput output,
NodeKey key)
Write the object reference to the stream.
|
getIdpublic void writeObject(ObjectOutput output, NodeKey key) throws IOException
Externalizeroutput - the object output to write tokey - the object reference to writeIOException - if an I/O error occurspublic NodeKey readObject(ObjectInput input) throws IOException, ClassNotFoundException
ExternalizerExternalizer.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.input - the object input to read fromIOException - if an I/O error occursClassNotFoundException - if a class could not be foundpublic Set<Class<? extends NodeKey>> getTypeClasses()
AdvancedExternalizerCopyright © 2024 JBoss, a division of Red Hat. All rights reserved.