org.apache.activemq.store.kahadaptor
Class AtomicIntegerMarshaller

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

public class AtomicIntegerMarshaller
extends Object
implements Marshaller<AtomicInteger>

Marshall an AtomicInteger

Version:
$Revision: 1.10 $

Constructor Summary
AtomicIntegerMarshaller()
           
 
Method Summary
 AtomicInteger readPayload(DataInput dataIn)
          Read the entry from the RawContainer
 void writePayload(AtomicInteger ai, 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(AtomicInteger ai,
                         DataOutput dataOut)
                  throws IOException
Description copied from interface: Marshaller
Write the payload of this entry to the RawContainer

Specified by:
writePayload in interface Marshaller<AtomicInteger>
Throws:
IOException

readPayload

public AtomicInteger readPayload(DataInput dataIn)
                          throws IOException
Description copied from interface: Marshaller
Read the entry from the RawContainer

Specified by:
readPayload in interface Marshaller<AtomicInteger>
Returns:
unmarshalled object
Throws:
IOException


Copyright © 2008. All Rights Reserved.