Package com.netflix.zeno.fastblob.state.WeakObjectOrdinalMap

Examples of com.netflix.zeno.fastblob.state.WeakObjectOrdinalMap.Entry


    public int add(T data, long imageMembershipsFlags) {
        if(!ordinalMap.isReadyForAddingObjects())
            throw new RuntimeException("The FastBlobStateEngine is not ready to add more Objects.  Did you remember to call stateEngine.prepareForNextCycle()?");

        if (objectOrdinalMap != null) {
            Entry existingEntry = objectOrdinalMap.getEntry(data);
            if (existingEntry != null) {
                if (existingEntry.hasImageMembershipsFlags(imageMembershipsFlags)) {
                    return existingEntry.getOrdinal();
                }
            }
        }

        FastBlobSerializationRecord rec = record();
View Full Code Here

TOP

Related Classes of com.netflix.zeno.fastblob.state.WeakObjectOrdinalMap.Entry

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.