Class WriteSets

  • class WriteSets
    extends java.lang.Object
    Pregenerate the write sets. RoundRobinDistributionSchedule should really be doing this also.
    • Constructor Summary

      Constructor Description
      WriteSets​(int ensembleSize, int writeQuorumSize)  
      WriteSets​(java.util.List<java.lang.Integer> preferredOrder, int ensembleSize, int writeQuorumSize)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) static<java.lang.Integer> generateWriteSet​(java.util.List<java.lang.Integer> preferredOrder, int ensembleSize, int writeQuorumSize, int offset)  
      (package private)<java.lang.Integer> getForEntry​(long entryId)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WriteSets

        WriteSets​(java.util.List<java.lang.Integer> preferredOrder,
                  int ensembleSize,
                  int writeQuorumSize)
      • WriteSets

        WriteSets​(int ensembleSize,
                  int writeQuorumSize)
    • Method Detail

      • getForEntry<java.lang.Integer> getForEntry​(long entryId)
      • generateWriteSet

        static<java.lang.Integer> generateWriteSet​(java.util.List<java.lang.Integer> preferredOrder,
                                                                                           int ensembleSize,
                                                                                           int writeQuorumSize,
                                                                                           int offset)