org.infinispan.marshall.exts
Class NoStateExternalizer<T>

java.lang.Object
  extended by org.infinispan.marshall.AbstractExternalizer<T>
      extended by org.infinispan.marshall.exts.NoStateExternalizer<T>
All Implemented Interfaces:
Serializable, AdvancedExternalizer<T>, Externalizer<T>
Direct Known Subclasses:
MurmurHash2.Externalizer, MurmurHash2Compat.Externalizer, MurmurHash3.Externalizer

public abstract class NoStateExternalizer<T>
extends AbstractExternalizer<T>

An externalizer that writes no state. It simply marshalls class information.

Since:
5.0
Author:
Galder ZamarreƱo
See Also:
Serialized Form

Constructor Summary
NoStateExternalizer()
           
 
Method Summary
 void writeObject(ObjectOutput output, T object)
          Write the object reference to the stream.
 
Methods inherited from class org.infinispan.marshall.AbstractExternalizer
getId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.infinispan.marshall.AdvancedExternalizer
getTypeClasses
 
Methods inherited from interface org.infinispan.marshall.Externalizer
readObject
 

Constructor Detail

NoStateExternalizer

public NoStateExternalizer()
Method Detail

writeObject

public void writeObject(ObjectOutput output,
                        T object)
                 throws IOException
Description copied from interface: Externalizer
Write the object reference to the stream.

Parameters:
output - the object output to write to
object - the object reference to write
Throws:
IOException - if an I/O error occurs

-->

Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.