org.apache.activemq.store.kahadaptor
Class AtomicIntegerMarshaller
java.lang.Object
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 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AtomicIntegerMarshaller
public AtomicIntegerMarshaller()
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 © 2005-2011 Apache Software Foundation. All Rights Reserved.