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