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 occursprotected JChannelJChannel.checkClosed()protected JChannelJChannel.checkClosedOrNotConnected()protected JChannelJChannel.cleanup()JChannel.clearChannelListeners()Joins the cluster.protected JChannelDeprecated, for removal: This API element is subject to removal in a future version.Joins the cluster and gets the state from a specified state provider.Deprecated, for removal: This API element is subject to removal in a future version.JChannel.disconnect()Leaves the cluster (disconnects the channel if it is connected).Retrieves the full state from the target member.Deprecated, for removal: This API element is subject to removal in a future version.protected JChannelprotected 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.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 invokesend(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.setStats(boolean stats) JChannel.setUpHandler(UpHandler h) JChannel.startFlush(boolean automatic_resume) Deprecated, for removal: This API element is subject to removal in a future version.JChannel.startFlush(List<Address> flushParticipants, boolean automatic_resume) Deprecated, for removal: This API element is subject to removal in a future version.protected JChannelJChannel.startStack(String cluster_name) JChannel.stats(boolean stats) JChannel.stopFlush()Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.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 TypeMethodDescriptiondefault 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.blocks
Fields in org.jgroups.blocks declared as JChannelModifier and TypeFieldDescriptionprivate JChannelReplCache.chprotected JChannelMessageDispatcher.channelprivate final JChannelReplicatedHashMap.channel(package private) JChannelReplicatedTree.channelMethods 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.blocks.locking
Fields in org.jgroups.blocks.locking declared as JChannelMethods in org.jgroups.blocks.locking with parameters of type JChannelConstructors in org.jgroups.blocks.locking with parameters of type JChannel -
Uses of JChannel in org.jgroups.demos
Fields in org.jgroups.demos declared as JChannelModifier and TypeFieldDescriptionprotected JChannelCounterServiceDemo.chprotected JChannelLockServiceDemo.chprotected static final JChannelProgrammaticChat.chprotected JChannelRelayDemo.chprotected JChannelRelayDemoRpc.chprotected JChannelChat.channelprivate JChannelDraw.channelprivate JChannelTopology.channel(package private) JChannelTotalOrder.channelMethods 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 channelvoidvoidvoidConstructors 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.tests
Fields in org.jgroups.tests declared as JChannelModifier and TypeFieldDescriptionprotected JChannelFlowControlTest.chprotected JChannelMessageSendTest.ch(package private) JChannelPingPong.ch(package private) JChannelLargeState.channel(package private) JChannelMessageDispatcherSpeedTest.channelprotected JChannelRoundTripRpc.channel(package private) JChannelRpcDispatcherBlocking.channelprotected JChannelRpcDispatcherSpeedTest.channelprotected JChannelUnicastTest.channelprivate JChannelUnicastTestRpc.channelMethods in org.jgroups.tests that return JChannelModifier and TypeMethodDescriptionprotected static JChannelInfinispanStackMerge3Test.createChannel(TP transport, String name) Methods in org.jgroups.tests with parameters of type JChannelModifier and TypeMethodDescriptionprotected static intMessageSendTest.findFragSize(JChannel ch) protected static StringInfinispanStackMerge3Test.printViews(JChannel... channels) -
Uses of JChannel in org.jgroups.tests.perf
Fields in org.jgroups.tests.perf declared as JChannelModifier and TypeFieldDescriptionprotected JChannelMPerf.channelprotected JChannelMPerfRpc.channelprivate JChannelProgrammaticUPerf.channelprivate static final JChannelProgrammaticUPerf2.channelprivate JChannelUPerf.channelMethods in org.jgroups.tests.perf with parameters of type JChannel -
Uses of JChannel in org.jgroups.tests.rt.transports
Fields in org.jgroups.tests.rt.transports declared as 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 booleanUtil.startFlush(JChannel c) Performs the flush of the given channelstatic booleanUtil.startFlush(JChannel c, int numberOfAttempts, long randomSleepTimeoutFloor, long randomSleepTimeoutCeiling) Performs the flush of the given channel within the specfied number of attempts along with random sleep time after each such attempt.static booleanUtil.startFlush(JChannel c, List<Address> flushParticipants) Performs the flush of the given channel and the specified flush participantsstatic booleanUtil.startFlush(JChannel c, List<Address> flushParticipants, int numberOfAttempts, long randomSleepTimeoutFloor, long randomSleepTimeoutCeiling) Performs the flush of the given channel for the specified flush participants and the given number of attempts along with random sleep time after each such attempt.static 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.waitUntilAllChannelsHaveSameView(long timeout, long interval, Collection<JChannel> channels)