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