Codota Logo
Host.setUp
Code IndexAdd Codota to your IDE (free)

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

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

  • Common ways to obtain Host
private void myMethod () {
Host h =
  • Codota IconControlConnection controlConnection;controlConnection.connectedHost()
  • Codota IconMetadata metadata;InetSocketAddress address;metadata.getHost(address)
  • Codota IconConcurrentMap concurrentMap;Object object;concurrentMap.get(object)
  • Smart code suggestions by Codota
}
origin: com.datastax.cassandra/cassandra-driver-core

host.setUp();
for (Host.StateListener listener : listeners) listener.onAdd(host);
return;
host.setUp();
origin: com.datastax.cassandra/cassandra-driver-core

host.setUp();
origin: com.datastax.cassandra/cassandra-driver-core

host.setUp();
origin: com.stratio.cassandra/cassandra-driver-core

public void onSuccess(List<Boolean> poolCreationResults) {
  // If any of the creation failed, they will have signaled a connection failure
  // which will trigger a reconnection to the node. So don't bother marking UP.
  if (Iterables.any(poolCreationResults, Predicates.equalTo(false))) {
    logger.debug("Connection pool cannot be created, not marking {} UP", host);
    return;
  }
  host.setUp();
  for (Host.StateListener listener : listeners)
    listener.onAdd(host);
  // Now, check if there isn't pools to create/remove following the addition.
  // We do that now only so that it's not called before we've set the node up.
  for (SessionManager s : sessions)
    s.updateCreatedPools(blockingExecutor);
}
origin: com.stratio.cassandra/cassandra-driver-core

public void onSuccess(List<Boolean> poolCreationResults) {
  // If any of the creation failed, they will have signaled a connection failure
  // which will trigger a reconnection to the node. So don't bother marking UP.
  if (Iterables.any(poolCreationResults, Predicates.equalTo(false))) {
    logger.debug("Connection pool cannot be created, not marking {} UP", host);
    return;
  }
  host.setUp();
  for (Host.StateListener listener : listeners)
    listener.onUp(host);
  // Now, check if there isn't pools to create/remove following the addition.
  // We do that now only so that it's not called before we've set the node up.
  for (SessionManager s : sessions)
    s.updateCreatedPools(blockingExecutor);
}
origin: com.yugabyte/cassandra-driver-core

host.setUp();
for (Host.StateListener listener : listeners)
  listener.onAdd(host);
host.setUp();
origin: com.yugabyte/cassandra-driver-core

host.setUp();
origin: com.stratio.cassandra/cassandra-driver-core

host.setUp();
for (Host.StateListener listener : listeners)
  listener.onAdd(host);
origin: com.facebook.presto.cassandra/cassandra-driver

host.setUp();
for (Host.StateListener listener : listeners)
  listener.onAdd(host);
host.setUp();
origin: io.prestosql.cassandra/cassandra-driver

host.setUp();
for (Host.StateListener listener : listeners)
  listener.onAdd(host);
host.setUp();
origin: com.facebook.presto.cassandra/cassandra-driver

host.setUp();
origin: io.prestosql.cassandra/cassandra-driver

host.setUp();
origin: com.stratio.cassandra/cassandra-driver-core

host.setUp();
for (Host.StateListener listener : listeners)
  listener.onAdd(host);
origin: com.yugabyte/cassandra-driver-core

  loadBalancingPolicy().onAdd(host);
host.setUp();
origin: io.prestosql.cassandra/cassandra-driver

  loadBalancingPolicy().onAdd(host);
host.setUp();
origin: com.facebook.presto.cassandra/cassandra-driver

  loadBalancingPolicy().onAdd(host);
host.setUp();
com.datastax.driver.coreHostsetUp

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,
  • wasJustAdded,
  • setDseGraphEnabled,
  • setDseVersion,
  • setDseWorkload,
  • setTokens,
  • setVersion,
  • getBroadcastSocketAddress

Popular in Java

  • Reactive rest calls using spring rest template
  • getApplicationContext (Context)
  • setContentView (Activity)
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • StringTokenizer (java.util)
    The string tokenizer class allows an application to break a string into tokens. The tokenization met
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • Reference (javax.naming)
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • Join (org.hibernate.mapping)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now