public class IntegerSerializer extends Object implements Serializer<Integer>
| Constructor and Description | 
|---|
| IntegerSerializer() | 
| Modifier and Type | Method and Description | 
|---|---|
| byte[] | serialize(String topic,
         Integer data)Convert  datainto a byte array. | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, configure, serializepublic byte[] serialize(String topic, Integer data)
Serializerdata into a byte array.serialize in interface Serializer<Integer>topic - topic associated with datadata - typed data