Class PlayerLatencyPolicy

    • Method Detail

      • maximumIndividualPlayerLatencyMilliseconds

        public final Integer maximumIndividualPlayerLatencyMilliseconds()

        The maximum latency value that is allowed for any player, in milliseconds. All policies must have a value set for this property.

        Returns:
        The maximum latency value that is allowed for any player, in milliseconds. All policies must have a value set for this property.
      • policyDurationSeconds

        public final Integer policyDurationSeconds()

        The length of time, in seconds, that the policy is enforced while placing a new game session. A null value for this property means that the policy is enforced until the queue times out.

        Returns:
        The length of time, in seconds, that the policy is enforced while placing a new game session. A null value for this property means that the policy is enforced until the queue times out.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)