public static class CacheValue.Externalizer extends AbstractExternalizer<CacheValue>
Constructor and Description |
---|
CacheValue.Externalizer() |
Modifier and Type | Method and Description |
---|---|
Set<Class<? extends CacheValue>> |
getTypeClasses()
Returns a collection of Class instances representing the types that this
AdvancedExternalizer can marshall.
|
CacheValue |
readObject(ObjectInput input)
Read an instance from the stream.
|
void |
writeObject(ObjectOutput output,
CacheValue cacheValue)
Write the object reference to the stream.
|
getId
public void writeObject(ObjectOutput output, CacheValue cacheValue)
Externalizer
output
- the object output to write tocacheValue
- the object reference to writepublic CacheValue readObject(ObjectInput input)
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 frompublic Set<Class<? extends CacheValue>> getTypeClasses()
AdvancedExternalizer
Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.