Class DistributionInfo


  • public class DistributionInfo
    extends Object
    Since:
    9.0
    Author:
    Radim Vansa, Dan Berindei
    • Constructor Detail

      • DistributionInfo

        public DistributionInfo​(int segmentId,
                                org.infinispan.remoting.transport.Address primary,
                                List<org.infinispan.remoting.transport.Address> readOwners,
                                List<org.infinispan.remoting.transport.Address> writeOwners,
                                Collection<org.infinispan.remoting.transport.Address> writeBackups,
                                org.infinispan.remoting.transport.Address localAddress)
    • Method Detail

      • segmentId

        public int segmentId()
      • primary

        public org.infinispan.remoting.transport.Address primary()
      • readOwners

        public List<org.infinispan.remoting.transport.Address> readOwners()
      • writeOwners

        public List<org.infinispan.remoting.transport.Address> writeOwners()
      • writeBackups

        public Collection<org.infinispan.remoting.transport.Address> writeBackups()
      • isPrimary

        public boolean isPrimary()
      • isReadOwner

        public boolean isReadOwner()
      • isWriteOwner

        public boolean isWriteOwner()
      • isWriteBackup

        public boolean isWriteBackup()
      • readOwnership

        public Ownership readOwnership()
      • writeOwnership

        public Ownership writeOwnership()
      • toString

        public String toString()