Class Property<T>

    • Constructor Detail

      • Property

        public Property​(String name,
                        T value)
        Creates an instance with a name and a value.
        Parameters:
        name - the name
        value - the value
    • Method Detail

      • timeout

        public static Property<Long> timeout​(long value)
        Return the call timeout Property.
        Parameters:
        value - the property value
        Returns:
        the property
      • timeout

        public static Property<Long> timeout​(long duration,
                                             TimeUnit unit)
        Return the call timeout Property.
        Parameters:
        duration - the duration of the timeout
        unit - the time unit of the timeout
        Returns:
        the property
      • sticky_session

        public static Property<Boolean> sticky_session​(boolean value)
        Return the sticky session Property.
        Parameters:
        value - the property value
        Returns:
        the property
      • name

        public String name()
        Returns the name of the property.
        Returns:
        the name
      • value

        public T value()
        Returns the value of the property.
        Returns:
        the value