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

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


            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;
            hasLocalPartitions = false;
            placementStrategy = new DefaultPlacementStrategy(0);
        }
        log.debug("Partition IDs? [{}], Local Partitions? [{}]",partitionIDs,hasLocalPartitions);
        idManager = new IDManager(partitionBits);
        Preconditions.checkArgument(idManager.getMaxPartitionCount() < Integer.MAX_VALUE);
        this.maxPartitionID = (int) idManager.getMaxPartitionCount();
View Full Code Here

TOP

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

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.