Package com.tibco.patterns.deduplication

## Class Host

- java.lang.Object
- - com.tibco.patterns.deduplication.Host

-     public class Host
      extends java.lang.Object

  Contains the address and port of a TIBCO Patterns - Search Engine. Also contains the requested and actual numbers of searchers that will use this host.

- - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.lang.String` | `getAddress()` |
    `int` | `getPort()` |
    `int` | `getRequestedSearchers()` | Get the number of searchers set for this host via Deduplicator.setHostWorkerCount.
    `int` | `getSearchCount()` | Get the number of actual searchers for this host.
    `boolean` | `isEncrypted()` | Checks if the network communications to this host are encrypted with SSL/TLS.

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### getPort

          public int getPort()

      Returns:
        TCP port of the TIBCO Patterns - Search host.

    - #### getAddress

          public java.lang.String getAddress()

      Returns:
        The address (DNS name or IP Address) of the TIBCO Patterns - Search host.

    - #### getSearchCount

          public int getSearchCount()

      Get the number of actual searchers for this host.
      Returns:
        the number of actual searchers for this host.

    - #### isEncrypted

          public boolean isEncrypted()

      Checks if the network communications to this host are encrypted with SSL/TLS.
      Returns:
        true if encryption is enabled.

    - #### getRequestedSearchers

          public int getRequestedSearchers()

      Get the number of searchers set for this host via Deduplicator.setHostWorkerCount.
      Returns:
        the number of searchers set for this host