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