|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.wadi.location.partitionmanager.SimplePartitionMapper
public class SimplePartitionMapper
| Field Summary | |
|---|---|
protected int |
_numPartitions
|
| Constructor Summary | |
|---|---|
SimplePartitionMapper(int numPartitions)
|
|
| Method Summary | |
|---|---|
int |
map(java.lang.Object key)
Given a key, map it to the corresponding Partition index. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final int _numPartitions
| Constructor Detail |
|---|
public SimplePartitionMapper(int numPartitions)
| Method Detail |
|---|
public int map(java.lang.Object key)
PartitionMapper
map in interface PartitionMapper
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||