Class RedisSentinelDescriptor.RedisHostDescriptor

    • Field Detail

      • port

        public int port
    • Constructor Detail

      • RedisHostDescriptor

        public RedisHostDescriptor()
        Empty constructor.
      • RedisHostDescriptor

        protected RedisHostDescriptor​(String name,
                                      int port)
    • Method Detail

      • getId

        public String getId()
        Description copied from interface: Descriptor
        The descriptor id, descriptors with same id are merged.

        To forbid multiple descriptors use UNIQUE_DESCRIPTOR_ID.

        To forbid merge use a unique value, non-overriden toString() for exemple.

        Specified by:
        getId in interface Descriptor