Class Host.Builder

  • Enclosing class:
    Host

    public static final class Host.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • hashFunctionForTesting

        public Host.Builder hashFunctionForTesting​(com.google.common.hash.HashFunction hashFunction)
        This only exists for tests to induce hash collisions. Only use this in test code as changing the hash function will break persisted objects.
      • build

        public Host build()