blueflood-core/src/main/java/com/rackspacecloud/blueflood/io/datastax/DGagueIO.java
@Override
    protected ByteBuffer toByteBuffer(Object value) {
        if ( ! (value instanceof BluefloodGaugeRollup) ) {
            throw new IllegalArgumentException("toByteBuffer(): expecting BluefloodGaugeRollup class but got " + value.getClass().getSimpleName());
        }
        BluefloodGaugeRollup gaugeRollup = (BluefloodGaugeRollup) value;
        return serDes.serialize(gaugeRollup);
    }
@Override
    protected ByteBuffer toByteBuffer(Object value) {
        if ( ! (value instanceof BluefloodGaugeRollup) ) {
            throw new IllegalArgumentException("toByteBuffer(): expecting BluefloodGaugeRollup class but got " + value.getClass().getSimpleName());
        }
        BluefloodGaugeRollup gaugeRollup = (BluefloodGaugeRollup) value;
        return serDes.serialize(gaugeRollup);
    }
@ Override protected ByteBuffer toByteBuffer ( Object value ) { if ( ! ( value instanceof BluefloodGaugeRollup ) ) { throw new IllegalArgumentException ( "toByteBuffer(): expecting BluefloodGaugeRollup class but got " + value . getClass ( ) . getSimpleName ( ) ) ; } BluefloodGaugeRollup gaugeRollup = ( BluefloodGaugeRollup ) value ; return serDes . serialize ( gaugeRollup ) ; }
Provides a way for the sub class to get a {@link java.nio.ByteBuffer}
representation of a certain Rollup object.

@param value
@return
Provides a way for the sub class to get a { @link java . nio . ByteBuffer } representation of a certain Rollup object .