예제 #1
0
 public int getPartitionCount() {
   // The list returned by getPartitions includes the MP PID.  Need to remove that for the
   // true partition count.
   return Cartographer.getPartitions(m_zk).size() - 1;
 }
예제 #2
0
 public List<Integer> getPartitions() {
   return Cartographer.getPartitions(m_zk);
 }