public class OfflineTokenAllocator
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
OfflineTokenAllocator.FakeNode |
Constructor and Description |
---|
OfflineTokenAllocator() |
Modifier and Type | Method and Description |
---|---|
static java.util.List<OfflineTokenAllocator.FakeNode> |
allocate(int rf,
int numTokens,
int[] nodesPerRack,
OutputHandler logger,
IPartitioner partitioner) |
public static java.util.List<OfflineTokenAllocator.FakeNode> allocate(int rf, int numTokens, int[] nodesPerRack, OutputHandler logger, IPartitioner partitioner)
Copyright © 2009-2021 The Apache Software Foundation