Tabnine Logo
SimpleTcpCluster.unregisterClusterValve
Code IndexAdd Tabnine to your IDE (free)

How to use
unregisterClusterValve
method
in
org.apache.catalina.ha.tcp.SimpleTcpCluster

Best Java code snippets using org.apache.catalina.ha.tcp.SimpleTcpCluster.unregisterClusterValve (Showing top 3 results out of 315)

origin: codefollower/Tomcat-Research

/**
 * Stop Cluster and implement the requirements
 * of {@link org.apache.catalina.util.LifecycleBase#stopInternal()}.
 *
 * @exception LifecycleException if this component detects a fatal error
 *  that prevents this component from being used
 */
@Override
protected void stopInternal() throws LifecycleException {
  setState(LifecycleState.STOPPING);
  unregisterMember(channel.getLocalMember(false));
  if (clusterDeployer != null) clusterDeployer.stop();
  this.managers.clear();
  try {
    if ( clusterDeployer != null ) clusterDeployer.setCluster(null);
    channel.stop(channelStartOptions);
    channel.removeChannelListener(this);
    channel.removeMembershipListener(this);
    this.unregisterClusterValve();
  } catch (Exception x) {
    log.error("Unable to stop cluster.", x);
  }
}
origin: org.apache.geronimo.ext.tomcat/catalina-ha

/**
 * Stop Cluster and implement the requirements
 * of {@link org.apache.catalina.util.LifecycleBase#stopInternal()}.
 *
 * @exception LifecycleException if this component detects a fatal error
 *  that prevents this component from being used
 */
@Override
protected void stopInternal() throws LifecycleException {
  setState(LifecycleState.STOPPING);
  unregisterMember(channel.getLocalMember(false));
  if (clusterDeployer != null) clusterDeployer.stop();
  this.managers.clear();
  try {
    if ( clusterDeployer != null ) clusterDeployer.setCluster(null);
    channel.stop(channelStartOptions);
    channel.removeChannelListener(this);
    channel.removeMembershipListener(this);
    this.unregisterClusterValve();
  } catch (Exception x) {
    log.error("Unable to stop cluster valve.", x);
  }
}
origin: org.apache.tomcat/tomcat-catalina-ha

/**
 * Stop Cluster and implement the requirements
 * of {@link org.apache.catalina.util.LifecycleBase#stopInternal()}.
 *
 * @exception LifecycleException if this component detects a fatal error
 *  that prevents this component from being used
 */
@Override
protected void stopInternal() throws LifecycleException {
  setState(LifecycleState.STOPPING);
  unregisterMember(channel.getLocalMember(false));
  if (clusterDeployer != null) clusterDeployer.stop();
  this.managers.clear();
  try {
    if ( clusterDeployer != null ) clusterDeployer.setCluster(null);
    channel.stop(channelStartOptions);
    channel.removeChannelListener(this);
    channel.removeMembershipListener(this);
    this.unregisterClusterValve();
  } catch (Exception x) {
    log.error(sm.getString("simpleTcpCluster.stopUnable"), x);
  }
}
org.apache.catalina.ha.tcpSimpleTcpClusterunregisterClusterValve

Javadoc

unregister all cluster valve to host or engine

Popular methods of SimpleTcpCluster

  • addValve
    Add cluster valve Cluster Valves are only add to container when cluster is started!
  • checkDefaults
  • getContainer
    Get the Container associated with our Cluster
  • getManagerTemplate
  • isHeartbeatBackgroundEnabled
    Return heartbeat enable flag (default false)
  • addClusterListener
    Add cluster message listener and register cluster to this listener.
  • fireLifecycleEvent
  • getClusterName
    Return the name of the cluster that this Server is currently configured to operate within.
  • getLocalMember
    Return the member that represents this node.
  • getManagerName
  • messageReceived
  • register
  • messageReceived,
  • register,
  • registerClusterValve,
  • registerMember,
  • send,
  • setState,
  • unregister,
  • unregisterMember,
  • findClusterListeners

Popular in Java

  • Finding current android device location
  • onCreateOptionsMenu (Activity)
  • onRequestPermissionsResult (Fragment)
  • putExtra (Intent)
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • 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