Tabnine Logo
Cluster$Manager.triggerOnRemove
Code IndexAdd Tabnine to your IDE (free)

How to use
triggerOnRemove
method
in
com.datastax.driver.core.Cluster$Manager

Best Java code snippets using com.datastax.driver.core.Cluster$Manager.triggerOnRemove (Showing top 5 results out of 315)

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

public void removeHost(Host host, boolean isInitialConnection) {
 if (host == null) return;
 if (metadata.remove(host)) {
  if (isInitialConnection) {
   logger.warn(
     "You listed {} in your contact points, but it wasn't found in the control host's system.peers at startup",
     host);
  } else {
   logger.info("Cassandra host {} removed", host);
   triggerOnRemove(host);
  }
 }
}
origin: com.facebook.presto.cassandra/cassandra-driver

public void removeHost(Host host, boolean isInitialConnection) {
  if (host == null)
    return;
  if (metadata.remove(host)) {
    if (isInitialConnection) {
      logger.warn("You listed {} in your contact points, but it wasn't found in the control host's system.peers at startup", host);
    } else {
      logger.info("Cassandra host {} removed", host);
      triggerOnRemove(host);
    }
  }
}
origin: io.prestosql.cassandra/cassandra-driver

public void removeHost(Host host, boolean isInitialConnection) {
  if (host == null)
    return;
  if (metadata.remove(host)) {
    if (isInitialConnection) {
      logger.warn("You listed {} in your contact points, but it wasn't found in the control host's system.peers at startup", host);
    } else {
      logger.info("Cassandra host {} removed", host);
      triggerOnRemove(host);
    }
  }
}
origin: com.stratio.cassandra/cassandra-driver-core

public void removeHost(Host host) {
  if (host == null)
    return;
  if (metadata.remove(host)) {
    logger.info("Cassandra host {} removed", host);
    triggerOnRemove(host);
  }
}
origin: com.yugabyte/cassandra-driver-core

public void removeHost(Host host, boolean isInitialConnection) {
  if (host == null)
    return;
  if (metadata.remove(host)) {
    if (isInitialConnection) {
      logger.warn("You listed {} in your contact points, but it wasn't found in the control host's system.peers at startup", host);
    } else {
      logger.info("Cassandra host {} removed", host);
      triggerOnRemove(host);
    }
  }
}
com.datastax.driver.coreCluster$ManagertriggerOnRemove

Popular methods of Cluster$Manager

  • loadBalancingPolicy
  • submitSchemaRefresh
  • triggerOnDown
  • isClosed
  • submitNodeListRefresh
  • <init>
  • addPrepared
  • close
  • ensurePoolsSizing
  • init
  • logUnsupportedVersionProtocol
  • prepareAllQueries
  • logUnsupportedVersionProtocol,
  • prepareAllQueries,
  • protocolVersion,
  • reconnectionPolicy,
  • refreshConnectedHosts,
  • refreshSchemaAndSignal,
  • removeHost,
  • translateAddress,
  • triggerOnAdd

Popular in Java

  • Creating JSON documents from java classes using gson
  • requestLocationUpdates (LocationManager)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • putExtra (Intent)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • String (java.lang)
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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