Package com.netflix.zeno.fastblob.record

Examples of com.netflix.zeno.fastblob.record.FastBlobSerializationRecord.reset()


                serializer.serialize(deserializedObject, serializationRecord);
                serializationRecord.writeDataTo(deserializedRecordBuffer);

                int previousOrdinal = map.get(deserializedRecordBuffer);

                serializationRecord.reset();
                deserializedRecordBuffer.reset();

                if(previousOrdinal != -1 && !frameworkSerializer.isSerializationIntegrityFlawed()) {
                    typeDeserializationState.copyPrevious(currentOrdinal, previousOrdinal);
                    numObjectsReused++;
View Full Code Here


            if(obj != null) {
                serializer.serialize(obj, rec);
                rec.writeDataTo(scratch);
                ordinalMap.put(scratch, i);
                scratch.reset();
                rec.reset();
            }
        }

        previousObjects = objects;
        copiedPreviousObjects = new BitSet(previousObjects.size());
View Full Code Here

        rec.writeDataTo(scratch);

        int ordinal = addData(scratch, imageMembershipsFlags);

        scratch.reset();
        rec.reset();

        if (objectOrdinalMap != null) {
            objectOrdinalMap.put(data, ordinal, imageMembershipsFlags);
        }
        return ordinal;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.