Module swim.system

Class HostInfo


  • public class HostInfo
    extends Object
    • Field Detail

      • hostUri

        protected final Uri hostUri
      • connected

        protected final boolean connected
      • remote

        protected final boolean remote
      • secure

        protected final boolean secure
      • primary

        protected final boolean primary
      • replica

        protected final boolean replica
      • master

        protected final boolean master
      • slave

        protected final boolean slave
      • nodeCount

        protected final long nodeCount
    • Constructor Detail

      • HostInfo

        public HostInfo​(Uri hostUri,
                        boolean connected,
                        boolean remote,
                        boolean secure,
                        boolean primary,
                        boolean replica,
                        boolean master,
                        boolean slave,
                        long nodeCount)
    • Method Detail

      • hostUri

        public final Uri hostUri()
      • connected

        public final boolean connected()
      • remote

        public final boolean remote()
      • secure

        public final boolean secure()
      • primary

        public final boolean primary()
      • replica

        public final boolean replica()
      • master

        public final boolean master()
      • slave

        public final boolean slave()
      • nodeCount

        public final long nodeCount()
      • toValue

        public Value toValue()