public class VPHashPartitioner extends Partitioner<Metadata>
network, storageNode
Constructor and Description |
---|
VPHashPartitioner(StorageNode storageNode,
NetworkInfo network) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
generateDOT() |
NodeInfo |
locateData(Metadata metadata)
Determines where a file belongs in the system based on its
properties.
|
void |
stageData() |
void |
updateIndex(java.util.List<ProteinSequence> data) |
void |
updateIndex(Sequence data) |
public VPHashPartitioner(StorageNode storageNode, NetworkInfo network) throws PartitionerException, HashTopologyException, HashException
public void updateIndex(Sequence data)
public void updateIndex(java.util.List<ProteinSequence> data)
public java.lang.String generateDOT()
public NodeInfo locateData(Metadata metadata) throws HashException, PartitionException
Partitioner
locateData
in class Partitioner<Metadata>
metadata
- data to find the location in the network for.HashException
PartitionException
public void stageData() throws java.io.IOException
java.io.IOException