Package com.thinkaurelius.titan.graphdb.database.idassigner.placement

Examples of com.thinkaurelius.titan.graphdb.database.idassigner.placement.SimpleBulkPlacementStrategy


        boolean partitionIDs = config.getBoolean(IDS_PARTITION_KEY, IDS_PARTITION_DEFAULT);
        if (partitionIDs) {
            //Use a placement strategy that balances partitions
            partitionBits = DEFAULT_PARTITION_BITS;
            hasLocalPartitions = idAuthFeatures.hasLocalKeyPartition();
            placementStrategy = new SimpleBulkPlacementStrategy(config);
        } else {
            if (idAuthFeatures.isKeyOrdered() && idAuthFeatures.isDistributed())
                log.warn("ID Partitioning is disabled which will likely cause uneven data distribution");
            //Use the default placement strategy
            partitionBits = 0;
View Full Code Here

TOP

Related Classes of com.thinkaurelius.titan.graphdb.database.idassigner.placement.SimpleBulkPlacementStrategy

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.