Package com.rackspacecloud.blueflood.io.serializers

Examples of com.rackspacecloud.blueflood.io.serializers.SlotStateSerializer


        Assert.assertEquals(Granularity.FULL, fromString(s1).getGranularity());
        Assert.assertNull(fromString("FULL,1,X").getGranularity());
    }

    private SlotState fromString(String string) {
        SlotStateSerializer slotSer = SlotStateSerializer.get();
        StringSerializer stringSer = StringSerializer.get();
        return slotSer.fromByteBuffer(stringSer.toByteBuffer(string));
    }
View Full Code Here

TOP

Related Classes of com.rackspacecloud.blueflood.io.serializers.SlotStateSerializer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.