Class MultiplePrimaryListener

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void OnMultiplePrimary​(long myId, long otherId)
      There are multiple primary server in the cluster
      • Methods inherited from class java.lang.Object

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

      • MultiplePrimaryListener

        public MultiplePrimaryListener()
    • Method Detail

      • OnMultiplePrimary

        public void OnMultiplePrimary​(long myId,
                                      long otherId)
        Description copied from interface: IMultiplePrimaryListener
        There are multiple primary server in the cluster
        Specified by:
        OnMultiplePrimary in interface IMultiplePrimaryListener
        Parameters:
        myId - My identifier
        otherId - Other identifier which is primary