blueflood-core/src/main/java/com/rackspacecloud/blueflood/io/datastax/DTimerIO.java
@Override
    protected ByteBuffer toByteBuffer(Object value) {
        if ( ! (value instanceof BluefloodTimerRollup) ) {
            throw new IllegalArgumentException("toByteBuffer(): expecting BluefloodTimerRollup class but got " + value.getClass().getSimpleName());
        }
        BluefloodTimerRollup TimerRollup = (BluefloodTimerRollup) value;
        return serDes.serialize(TimerRollup);
    }
@Override
    protected ByteBuffer toByteBuffer(Object value) {
        if ( ! (value instanceof BluefloodTimerRollup) ) {
            throw new IllegalArgumentException("toByteBuffer(): expecting BluefloodTimerRollup class but got " + value.getClass().getSimpleName());
        }
        BluefloodTimerRollup TimerRollup = (BluefloodTimerRollup) value;
        return serDes.serialize(TimerRollup);
    }
@ Override protected ByteBuffer toByteBuffer ( Object value ) { if ( ! ( value instanceof BluefloodTimerRollup ) ) { throw new IllegalArgumentException ( "toByteBuffer(): expecting BluefloodTimerRollup class but got " + value . getClass ( ) . getSimpleName ( ) ) ; } BluefloodTimerRollup TimerRollup = ( BluefloodTimerRollup ) value ; return serDes . serialize ( TimerRollup ) ; }
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 .