congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
Host.getState
Code IndexAdd Tabnine to your IDE (free)

How to use
getState
method
in
com.datastax.driver.core.Host

Best Java code snippets using com.datastax.driver.core.Host.getState (Showing top 2 results out of 315)

origin: com.datastax.cassandra/cassandra-driver-core

assertThat(captor.getValue().getState()).isEqualTo("UP");
assertThat(cluster).host(2).hasState(Host.State.UP);
origin: com.datastax.dse/dse-java-driver-core

assertThat(captor.getValue().getState()).isEqualTo("UP");
assertThat(cluster).host(2).hasState(Host.State.UP);
com.datastax.driver.coreHostgetState

Javadoc

Returns a description of the host's state, as seen by the driver.

This is exposed for debugging purposes only; the format of this string might change between driver versions, so clients should not make any assumptions about it.

Popular methods of Host

  • getAddress
    Returns the address that the driver will use to connect to the node. This is a shortcut for getSocke
  • getDatacenter
    Returns the name of the datacenter this host is part of. The returned datacenter name is the one as
  • getRack
    Returns the name of the rack this host is part of. The returned rack name is the one as known by Cas
  • getCassandraVersion
    The Cassandra version the host is running. It is also possible for this information to be unavailabl
  • isUp
    Returns whether the host is considered up by the driver. Please note that this is only the view of t
  • getSocketAddress
    Returns the address and port that the driver will use to connect to the node. This is the node's br
  • toString
  • equals
  • <init>
  • getBroadcastAddress
    Returns the node broadcast address (that is, the IP by which it should be contacted by other peers i
  • setDown
  • setLocationInfo
  • setDown,
  • setLocationInfo,
  • setUp,
  • wasJustAdded,
  • setDseGraphEnabled,
  • setDseVersion,
  • setDseWorkload,
  • setTokens,
  • setVersion,
  • getBroadcastSocketAddress

Popular in Java

  • Reactive rest calls using spring rest template
  • onRequestPermissionsResult (Fragment)
  • findViewById (Activity)
  • getSupportFragmentManager (FragmentActivity)
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • Collectors (java.util.stream)
  • BoxLayout (javax.swing)
  • Top 15 Vim Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now