org.apache.tinkerpop.gremlin.driver

## Class Host

- java.lang.Object
- - org.apache.tinkerpop.gremlin.driver.Host

-     public final class Host
      extends Object

  Identifies a server within the `Cluster` at a specific address.
  Author:
    Stephen Mallette (http://stephen.genoprime.com)

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static interface` | `Host.Listener`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `InetSocketAddress` | `getAddress()`
    `URI` | `getHostUri()`
    `boolean` | `isAvailable()`
    `String` | `toString()`

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

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Method Detail

    - #### getAddress

          public InetSocketAddress getAddress()

    - #### getHostUri

          public URI getHostUri()

    - #### isAvailable

          public boolean isAvailable()

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2013–2018 Apache Software Foundation. All rights reserved.