org.apache.activemq.store.kahadaptor
Class AtomicIntegerMarshaller

java.lang.Object
  extended by org.apache.activemq.store.kahadaptor.AtomicIntegerMarshaller
All Implemented Interfaces:
Marshaller

public class AtomicIntegerMarshaller
extends java.lang.Object
implements Marshaller

Marshall an AtomicInteger

Version:
$Revision: 1.10 $

Constructor Summary
AtomicIntegerMarshaller()
           
 
Method Summary
 java.lang.Object readPayload(java.io.DataInput dataIn)
          Read the entry from the RawContainer
 void writePayload(java.lang.Object object, java.io.DataOutput dataOut)
          Write the payload of this entry to the RawContainer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AtomicIntegerMarshaller

public AtomicIntegerMarshaller()
Method Detail

writePayload

public void writePayload(java.lang.Object object,
                         java.io.DataOutput dataOut)
                  throws java.io.IOException
Description copied from interface: Marshaller
Write the payload of this entry to the RawContainer

Specified by:
writePayload in interface Marshaller
Throws:
java.io.IOException

readPayload

public java.lang.Object readPayload(java.io.DataInput dataIn)
                             throws java.io.IOException
Description copied from interface: Marshaller
Read the entry from the RawContainer

Specified by:
readPayload in interface Marshaller
Returns:
unmarshalled object
Throws:
java.io.IOException


Copyright © 2011 Apache Software Foundation. All Rights Reserved.