Uses of Class
org.jgroups.JChannel
Packages that use JChannel
Package
Description
Provides top-level public JGroups classes such as Channel, Message, etc.
Provides building blocks that are layered on top of channels.
Provides demonstrations of JGroups functionality.
Provides implementations of transport protocols which are
responsible for sending and receiving messages to/from the network.
Support for managing protocol stacks.
Provides useful functionality which cannot be assigned to any particular other package.
-
Uses of JChannel in org.jgroups
Fields in org.jgroups declared as JChannelMethods in org.jgroups that return JChannelModifier and TypeMethodDescriptionprotected JChannelJChannel._close(boolean disconnect) protected JChannelJChannel.addAddressGenerator(AddressGenerator address_generator) Sets the newAddressGenerator.JChannel.addChannelListener(ChannelListener listener) Adds a ChannelListener that will be notified when a connect, disconnect or close occursJChannelProbeHandler.channel()protected JChannelJChannel.checkClosed()protected JChannelJChannel.checkClosedOrNotConnected()protected JChannelJChannel.cleanup()JChannel.clearChannelListeners()Joins the cluster.Joins the cluster and gets the state from a specified state provider.JChannel.disconnect()Leaves the cluster (disconnects the channel if it is connected).Retrieves the full state from the target member.
The state transfer is initiated by invoking getState() on this channel.protected JChannelJChannel.init()Initializes all variables.protected final JChannelJChannel.init(ProtocolStackConfigurator configurator) protected JChannelJChannel.notifyChannelClosed(JChannel c) protected JChannelJChannel.notifyChannelConnected(JChannel c) protected JChannelJChannel.notifyChannelDisconnected(JChannel c) protected JChannelJChannel.notifyListeners(Consumer<ChannelListener> func, String msg) JChannel.probeHandler(DiagnosticsHandler.ProbeHandler h) JChannel.removeChannelListener(ChannelListener listener) protected JChannelJChannelProbeHandler.resetAllStats()Sends a message.Sends a message to a destination.Helper method to create a Message with given parameters and invokeJChannel.send(Message).Sends a message.protected JChannelJChannel.setAddress()Generates local_addr.JChannel.setDiscardOwnMessages(boolean flag) Sets the logical name for the channel.JChannel.setReceiver(Receiver r) JChannel.setUpHandler(UpHandler h) JChannel.stack(ProtocolStack st) JChannel.stack(ProtocolStack st, boolean delete_old_stack) protected JChannelJChannel.startStack(String cluster_name) protected JChannelJChannel.stopStack(boolean stop, boolean destroy) JChannel.up(MessageBatch batch) Callback invoked by the protocol stack to deliver a message batchMethods in org.jgroups with parameters of type JChannelModifier and TypeMethodDescriptionvoiddefault voidChannelListener.channelClosed(JChannel channel) Channel has been closed notification callbackdefault voidChannelListener.channelConnected(JChannel channel) Channel has been connected notification callbackdefault voidChannelListener.channelDisconnected(JChannel channel) Channel has been disconnected notification callbackprotected JChannelJChannel.notifyChannelClosed(JChannel c) protected JChannelJChannel.notifyChannelConnected(JChannel c) protected JChannelJChannel.notifyChannelDisconnected(JChannel c) Constructors in org.jgroups with parameters of type JChannel -
Uses of JChannel in org.jgroups.admin
Fields in org.jgroups.admin declared as JChannelModifier and TypeFieldDescriptionprotected final JChannelAdmin.chprotected final JChannelAdminHandler.chprotected JChannelSwitchAdminHandler.new_channelMethods in org.jgroups.admin that return JChannelModifier and TypeMethodDescriptionAdmin.channel()AdminHandler.channel()protected static JChannelSwitchAdminHandler.createNewChannel(int version, String config, String name) Constructors in org.jgroups.admin with parameters of type JChannel -
Uses of JChannel in org.jgroups.blocks
Fields in org.jgroups.blocks declared as JChannelMethods in org.jgroups.blocks that return JChannelModifier and TypeMethodDescriptionMessageDispatcher.getChannel()ReplicatedHashMap.getChannel()ReplicatedTree.getChannel()Returns the Channel the DistributedTree is connected toMethods in org.jgroups.blocks with parameters of type JChannelModifier and TypeMethodDescriptionvoidMessageDispatcher.channelClosed(JChannel channel) voidMessageDispatcher.channelDisconnected(JChannel channel) <X extends MessageDispatcher>
XMessageDispatcher.setChannel(JChannel ch) Constructors in org.jgroups.blocks with parameters of type JChannelModifierConstructorDescriptionMessageDispatcher(JChannel channel) MessageDispatcher(JChannel channel, RequestHandler req_handler) ReplicatedHashMap(ConcurrentMap<K, V> map, JChannel channel) Constructs a new ReplicatedHashMap using provided map instance.ReplicatedHashMap(JChannel channel) Constructs a new ReplicatedHashMap with channel.ReplicatedTree(JChannel channel) Expects an already connected channel.RpcDispatcher(JChannel channel, Object server_obj) -
Uses of JChannel in org.jgroups.blocks.atomic
Methods in org.jgroups.blocks.atomic with parameters of type JChannelConstructors in org.jgroups.blocks.atomic with parameters of type JChannel -
Uses of JChannel in org.jgroups.demos
Fields in org.jgroups.demos declared as JChannelModifier and TypeFieldDescriptionprotected JChannelCounterServiceDemo.chprotected static final JChannelProgrammaticChat.chprotected JChannelRelayDemo.chprotected JChannelRelayDemoRpc.chprotected JChannelChat.channelMethods in org.jgroups.demos that return JChannelModifier and TypeMethodDescriptionChurn.Entry.channel()Returns the value of thechannelrecord component.Methods in org.jgroups.demos with parameters of type JChannelModifier and TypeMethodDescriptionvoidDraw.channelConnected(JChannel channel) voidDraw.channelDisconnected(JChannel channel) protected voidvoidMethod called from other app, injecting channelvoidvoidConstructors in org.jgroups.demos with parameters of type JChannel -
Uses of JChannel in org.jgroups.fork
Subclasses of JChannel in org.jgroups.forkModifier and TypeClassDescriptionclassImplementation of a ForkChannel, which is a light-weight channel.Fields in org.jgroups.fork declared as JChannelFields in org.jgroups.fork with type parameters of type JChannelModifier and TypeFieldDescriptionprotected final ConcurrentMap<String, JChannel> ForkProtocolStack.fork_channelsMethods in org.jgroups.fork that return JChannelMethods in org.jgroups.fork that return types with arguments of type JChannelMethods in org.jgroups.fork with parameters of type JChannelModifier and TypeMethodDescriptionvoidForkChannel.channelClosed(JChannel channel) voidForkChannel.channelConnected(JChannel channel) voidForkChannel.channelDisconnected(JChannel channel) protected static FORKForkChannel.getFORK(JChannel ch, ProtocolStack.Position position, Class<? extends Protocol> neighbor, boolean create_fork_if_absent) Creates a new FORK protocol, or returns the existing one, or throws an exception.ForkProtocolStack.putIfAbsent(String id, JChannel fc) Constructors in org.jgroups.fork with parameters of type JChannelModifierConstructorDescriptionForkChannel(JChannel main_channel, String fork_stack_id, String fork_channel_id, boolean create_fork_if_absent, ProtocolStack.Position position, Class<? extends Protocol> neighbor, Protocol... protocols) Creates a new fork-channel from a main-channel.ForkChannel(JChannel main_channel, String fork_stack_id, String fork_channel_id, Protocol... protocols) Creates a new fork-channel from a main-channel. -
Uses of JChannel in org.jgroups.jmx
Methods in org.jgroups.jmx with parameters of type JChannelModifier and TypeMethodDescriptionstatic voidJmxConfigurator.registerChannel(JChannel channel, MBeanServer server, String name) Registers an already created channel with the given MBeanServer.static voidJmxConfigurator.registerChannel(JChannel channel, MBeanServer server, String domain, String cluster_name, boolean register_protocols) Registers an already created channel with the given MBeanServer.static voidJmxConfigurator.registerChannel(JChannel ch, MBeanServer server, ObjectName namePrefix, String cluster_name, boolean register_protocols) static voidJmxConfigurator.unregisterChannel(JChannel c, MBeanServer server, String clusterName) static voidJmxConfigurator.unregisterChannel(JChannel c, MBeanServer server, String domain, String clusterName) static voidJmxConfigurator.unregisterChannel(JChannel c, MBeanServer server, ObjectName prefix, String clusterName) static DynamicMBeanWrap JChannel with DynamicMBean interface. -
Uses of JChannel in org.jgroups.protocols
Methods in org.jgroups.protocols with parameters of type JChannelModifier and TypeMethodDescriptionprotected voidFORK.getStateFrom(JChannel channel, Protocol prot, String stack, String ch, DataOutputStream out) -
Uses of JChannel in org.jgroups.protocols.relay
Fields in org.jgroups.protocols.relay declared as JChannelModifier and TypeFieldDescriptionprotected final JChannelRoute.bridgeprotected final JChannelBridge.channelprotected JChannelRelayer2.Bridge.channelMethods in org.jgroups.protocols.relay that return JChannelMethods in org.jgroups.protocols.relay with parameters of type JChannelModifier and TypeMethodDescriptionprotected booleanRELAY2.sendTopoReq(JChannel bridge, Address dest) Constructors in org.jgroups.protocols.relay with parameters of type JChannel -
Uses of JChannel in org.jgroups.protocols.relay.config
Methods in org.jgroups.protocols.relay.config that return JChannelModifier and TypeMethodDescriptionabstract JChannelRelayConfig.BridgeConfig.createChannel()RelayConfig.ProgrammaticBridgeConfig.createChannel()RelayConfig.PropertiesBridgeConfig.createChannel() -
Uses of JChannel in org.jgroups.stack
Fields in org.jgroups.stack declared as JChannelMethods in org.jgroups.stack that return JChannelMethods in org.jgroups.stack with parameters of type JChannelConstructors in org.jgroups.stack with parameters of type JChannel -
Uses of JChannel in org.jgroups.util
Fields in org.jgroups.util declared as JChannelMethods in org.jgroups.util with parameters of type JChannelModifier and TypeMethodDescriptionstatic booleanUtil.allChannelsHaveSameView(JChannel... channels) static voidUtil.assertAllChannelsHaveSameView(JChannel... channels) static voidCloses all non-coordinators first, in parallel, then closes the coord.Metrics.extract(JChannel ch, Predicate<AccessibleObject> filter) static booleanTests.hasThreadPool(JChannel... channels) static booleanUtil.isCoordinator(JChannel ch) static booleanTests.mcastRetransmissionAvailable(JChannel... channels) static StringUtil.printViews(JChannel... channels) static booleanTests.processingPolicyIs(Class<? extends MessageProcessingPolicy> policy_class, JChannel... channels) static voidUtil.registerChannel(JChannel channel, String name) static voidUtil.removeFromViews(Address mbr, JChannel... channels) static voidDrops messages to/from other members and then closes the channel.static voidstatic booleanTests.ucastRetransmissionAvailable(JChannel... channels) static voidUtil.waitUntilAllChannelsHaveSameView(long timeout, long interval, JChannel... channels) Blocks until all channels have the same viewMethod parameters in org.jgroups.util with type arguments of type JChannelModifier and TypeMethodDescriptionstatic voidUtil.close(Collection<JChannel> channels) static voidUtil.waitUntilAllChannelsHaveSameView(long timeout, long interval, Collection<JChannel> channels)