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

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

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

origin: codefollower/Tomcat-Research

storeElementArray(aWriter, indent, listeners);
ClusterListener mlisteners[] = ((SimpleTcpCluster)cluster).findClusterListeners();
List<ClusterListener> clusterListeners = new ArrayList<>();
for (ClusterListener clusterListener : mlisteners) {
origin: org.apache.tomee/tomee-catalina

public SimpleTomEETcpCluster(final SimpleTcpCluster from) {
  clusterListeners.addAll(Arrays.asList(from.findClusterListeners()));
  setClusterName(from.getClusterName());
  setContainer(from.getContainer());
  setNotifyLifecycleListenerOnFailure(from.isNotifyLifecycleListenerOnFailure());
  setChannelSendOptions(from.getChannelSendOptions());
  setChannelStartOptions(from.getChannelStartOptions());
  setHeartbeatBackgroundEnabled(from.isHeartbeatBackgroundEnabled());
  setChannel(from.getChannel());
  getManagers().putAll(from.getManagers());
  setManagerTemplate(from.getManagerTemplate());
  setClusterDeployer(from.getClusterDeployer());
  for (final Valve valve : from.getValves()) {
    addValve(valve);
  }
}
org.apache.catalina.ha.tcpSimpleTcpClusterfindClusterListeners

Javadoc

Get the cluster listeners associated with this cluster. If this Array has no listeners registered, a zero-length array is returned.

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,
  • unregisterClusterValve,
  • unregisterMember

Popular in Java

  • Reading from database using SQL prepared statement
  • findViewById (Activity)
  • setRequestProperty (URLConnection)
  • onRequestPermissionsResult (Fragment)
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • Best IntelliJ plugins
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