Class WriteSets


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

      Constructors 
      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 com.google.common.collect.ImmutableList<java.lang.Integer> generateWriteSet​(java.util.List<java.lang.Integer> preferredOrder, int ensembleSize, int writeQuorumSize, int offset)  
      (package private) com.google.common.collect.ImmutableList<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

        com.google.common.collect.ImmutableList<java.lang.Integer> getForEntry​(long entryId)
      • generateWriteSet

        static com.google.common.collect.ImmutableList<java.lang.Integer> generateWriteSet​(java.util.List<java.lang.Integer> preferredOrder,
                                                                                           int ensembleSize,
                                                                                           int writeQuorumSize,
                                                                                           int offset)