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 -
Method Summary
Modifier and TypeMethodDescriptionvoidcom.yahoo.messagebus.network.NetworkMultiplexerget(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
-
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:
deconstructin interfacecom.yahoo.component.Deconstructable- Overrides:
deconstructin classcom.yahoo.component.AbstractComponent
-