Package com.netflix.astyanax.recipes.queue

Examples of com.netflix.astyanax.recipes.queue.MessageQueueShard


        this.catchupPollingInterval = builder.catchupPollingInterval;
       
        shards = Lists.newArrayListWithCapacity(metadata.getPartitionCount() * metadata.getShardCount());
        for (int i = 0; i < metadata.getPartitionCount(); i++) {
            for (int j = 0; j < metadata.getShardCount(); j++) {
                shards.add(new MessageQueueShard(metadata.getQueueName() + SEPARATOR + i + SEPARATOR + j, i, j));
            }
        }
       
        List<MessageQueueShard> queues = Lists.newArrayList();
        shardStats = Maps.newHashMapWithExpectedSize(shards.size());
View Full Code Here

TOP

Related Classes of com.netflix.astyanax.recipes.queue.MessageQueueShard

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.