Class NetworkMultiplexerHolder

java.lang.Object
com.yahoo.component.AbstractComponent
com.yahoo.container.jdisc.messagebus.NetworkMultiplexerHolder
All Implemented Interfaces:
com.yahoo.component.Component, com.yahoo.component.Deconstructable, Comparable<com.yahoo.component.Component>

public class NetworkMultiplexerHolder extends com.yahoo.component.AbstractComponent
Holds a reference to a singleton NetworkMultiplexer.
Author:
jonmv
  • Field Summary

    Fields inherited from class com.yahoo.component.AbstractComponent

    isDeconstructable
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    com.yahoo.messagebus.network.NetworkMultiplexer
    get(com.yahoo.messagebus.network.rpc.RPCNetworkParams params)
    Get the singleton RPCNetworkAdapter, creating it if this hasn't yet been done.

    Methods inherited from class com.yahoo.component.AbstractComponent

    clone, compareTo, getClassName, getId, getIdString, hasInitializedId, initId, isDeconstructable, setIsDeconstructable, toString

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • NetworkMultiplexerHolder

      public NetworkMultiplexerHolder()
  • Method Details

    • get

      public com.yahoo.messagebus.network.NetworkMultiplexer get(com.yahoo.messagebus.network.rpc.RPCNetworkParams params)
      Get the singleton RPCNetworkAdapter, creating it if this hasn't yet been done.
    • deconstruct

      public void deconstruct()
      Specified by:
      deconstruct in interface com.yahoo.component.Deconstructable
      Overrides:
      deconstruct in class com.yahoo.component.AbstractComponent