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