Class Replicator.WriteMajorityPlus

  • All Implemented Interfaces:
    Replicator.WriteConsistency, java.io.Serializable, scala.Equals, scala.Product
    Enclosing class:
    Replicator

    public static final class Replicator.WriteMajorityPlus
    extends java.lang.Object
    implements Replicator.WriteConsistency, scala.Product, java.io.Serializable
    WriteMajority but with the given number of additional nodes added to the majority count. At most all nodes. Exiting nodes are excluded using WriteMajorityPlus because those are typically about to be removed and will not be able to respond.
    See Also:
    Serialized Form
    • Constructor Detail

      • WriteMajorityPlus

        public WriteMajorityPlus​(scala.concurrent.duration.FiniteDuration timeout,
                                 int additional,
                                 int minCap)
      • WriteMajorityPlus

        public WriteMajorityPlus​(java.time.Duration timeout,
                                 int additional)
        Java API
    • Method Detail

      • additional

        public int additional()
      • minCap

        public int minCap()
      • copy$default$1

        public scala.concurrent.duration.FiniteDuration copy$default$1()
      • copy$default$2

        public int copy$default$2()
      • copy$default$3

        public int copy$default$3()
      • productPrefix

        public java.lang.String productPrefix()
        Specified by:
        productPrefix in interface scala.Product
      • productArity

        public int productArity()
        Specified by:
        productArity in interface scala.Product
      • productElement

        public java.lang.Object productElement​(int x$1)
        Specified by:
        productElement in interface scala.Product
      • productIterator

        public scala.collection.Iterator<java.lang.Object> productIterator()
        Specified by:
        productIterator in interface scala.Product
      • canEqual

        public boolean canEqual​(java.lang.Object x$1)
        Specified by:
        canEqual in interface scala.Equals
      • productElementName

        public java.lang.String productElementName​(int x$1)
        Specified by:
        productElementName in interface scala.Product
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object x$1)
        Specified by:
        equals in interface scala.Equals
        Overrides:
        equals in class java.lang.Object