Uses of Class
org.jgroups.ChannelException
Packages that use ChannelException
Package
Description
Provides top-level public JGroups classes such as Channel, Message, etc.
Provides building blocks that are layered on top of channels.
Provides ways to configure a protocol stack.
Provides demonstrations of JGroups functionality.
Support for managing protocol stacks.
-
Uses of ChannelException in org.jgroups
Subclasses of ChannelException in org.jgroupsModifier and TypeClassDescriptionclassThrown if an operation is attemped on a closed channel.classThrown if an operation is attemped on an unconnected channel.classStateTransferExceptionis thrown to indicate failure of state transfer between cluster members.Methods in org.jgroups that throw ChannelExceptionModifier and TypeMethodDescriptionabstract voidConnects the channel to a group.abstract voidConnects the channel to a group and fetches the statevoidConnects the channel to a group.voidConnects this channel to a group and gets a state from a specified state provider.ChannelFactory.createChannel()Create a new channel with the properties defined in the factoryChannelFactory.createChannel(Object props) JChannelFactory.createChannel()Creates aJChannelimplementation of theChannelinterface using the protocol stack configuration information specfied during construction of an instance of this factory.JChannelFactory.createChannel(Object properties) Deprecated.protected final voidJChannel.init(ProtocolStackConfigurator configurator) voidChannel.open()Re-opens a closed channel.voidJChannel.open()Opens the channel.Constructors in org.jgroups that throw ChannelExceptionModifierConstructorDescriptionJChannel()Constructs aJChannelinstance with the protocol stack specified by theDEFAULT_PROTOCOL_STACKmember.Constructs aJChannelinstance with the protocol stack configuration contained by the specified file.Deprecated.Use the constructors with specific parameter types instead.Constructs aJChannelinstance with the protocol stack configuration based upon the specified properties parameter.Constructs aJChannelinstance with the protocol stack configuration indicated by the specified URL.JChannel(ProtocolStackConfigurator configurator) Constructs aJChannelinstance with the protocol stack configuration contained by the protocol stack configurator parameter.Constructs aJChannelinstance with the protocol stack configuration contained by the specified XML element.JChannelFactory(File properties) Constructs aJChannelFactoryinstance that utilizes the specified file for protocl stack configuration.JChannelFactory(String properties) Constructs aJChannelinstance with the protocol stack configuration based upon the specified properties parameter.JChannelFactory(URL properties) Constructs aJChannelFactoryinstance that utilizes the specified file for protocl stack configuration.JChannelFactory(Element properties) Constructs aJChannelFactoryinstance that utilizes the specified file for protocl stack configuration. -
Uses of ChannelException in org.jgroups.blocks
Subclasses of ChannelException in org.jgroups.blocksModifier and TypeClassDescriptionclassThis exception is thrown when voting listener cannot vote on the specified decree.Methods in org.jgroups.blocks that throw ChannelExceptionModifier and TypeMethodDescriptionvoidLocks an object withlockIdon behalf of the specifiedowner.voidObtain lock onobjfor specifiedowner.booleanDistributedLockManager.processResponses(RspList responses, int consensusType, Object decree) Processes the response list and votes like the default processResponses method with the consensusType VOTE_ALL If the result of the voting is false, but this DistributedLockManager owns the lock, the result is changed to true and the lock is released, but marked as multiple locked.booleanVoteResponseProcessor.processResponses(RspList responses, int consensusType, Object decree) Processes the responses returned by the other nodes.booleanVotingAdapter.processResponses(RspList responses, int consensusType, Object decree) Processes the response list and makes a decision according to the type of the consensus for current voting.voidUnlocks an object withlockIdon behalf of the specifiedowner.voidUnlocks an object withlockIdon behalf of the specifiedowner.voidDistributedLockManager.unlock(Object lockId, Object owner, boolean releaseMultiLocked, long timeout) voidvoidRelease lock onobjowned by specifiedowner.voidRelease lock onobjowned by specifiedowner.booleanPerforms the two-phase voting on the decree.booleanTwoPhaseVotingAdapter.vote(Object decree, long timeout, VoteResponseProcessor voteResponseProcessor) Performs the two-phase voting on the decree.booleanPerforms actual voting on the VoteChannel using the JGroups facilities for communication.booleanVotingAdapter.vote(Object decree, int consensusType, long timeout, VoteResponseProcessor voteResponseProcessor) Performs actual voting on the VoteChannel using the JGroups facilities for communication.booleanVote on the specified decree requiring all nodes to vote.booleanVotingAdapter.vote(Object decree, long timeout, VoteResponseProcessor voteResponseProcessor) Vote on the specified decree requiring all nodes to vote.Constructors in org.jgroups.blocks that throw ChannelExceptionModifierConstructorDescriptionDistributedHashtable(String groupname, ChannelFactory factory, String properties, boolean persistent, long state_timeout) Deprecated.Creates a DisttributedHashtable.DistributedHashtable(String groupname, ChannelFactory factory, String properties, long state_timeout) Deprecated.Creates a DistributedHashtableDistributedQueue(String groupname, ChannelFactory factory, String properties, long state_timeout) Creates a DistributedQueueDistributedTree(PullPushAdapter adapter, Serializable id, long state_timeout) ReplicatedHashMap(String clustername, ChannelFactory factory, String properties, boolean persistent, long state_timeout) Creates a ReplicatedHashMap.ReplicatedHashMap(String clustername, ChannelFactory factory, String properties, long state_timeout) Creates a ReplicatedHashMap -
Uses of ChannelException in org.jgroups.conf
Methods in org.jgroups.conf that throw ChannelExceptionModifier and TypeMethodDescriptionstatic ClassConfiguratorClassConfigurator.getInstance()static ClassConfiguratorClassConfigurator.getInstance(boolean init) static ProtocolStackConfiguratorConfiguratorFactory.getStackConfigurator(File file) Returns a protocol stack configurator based on the XML configuration provided by the specified File.static ProtocolStackConfiguratorConfiguratorFactory.getStackConfigurator(String properties) Returns a protocol stack configurator based on the provided properties string.static ProtocolStackConfiguratorConfiguratorFactory.getStackConfigurator(URL url) Returns a protocol stack configurator based on the XML configuration provided at the specified URL.static ProtocolStackConfiguratorConfiguratorFactory.getStackConfigurator(Element element) Returns a protocol stack configurator based on the XML configuration provided by the specified XML element.voidClassConfigurator.init() -
Uses of ChannelException in org.jgroups.demos
Methods in org.jgroups.demos that throw ChannelExceptionModifier and TypeMethodDescriptionvoidDistributedHashtableDemo.start(ChannelFactory factory, String props, boolean persist) voidDistributedQueueDemo.start(String groupname, ChannelFactory factory, String props) voidReplicatedHashMapDemo.start(ChannelFactory factory, String props, boolean persist) -
Uses of ChannelException in org.jgroups.jmx
Methods in org.jgroups.jmx that throw ChannelException -
Uses of ChannelException in org.jgroups.mux
Methods in org.jgroups.mux that throw ChannelException -
Uses of ChannelException in org.jgroups.stack
Constructors in org.jgroups.stack that throw ChannelExceptionModifierConstructorDescriptionOnly used by Simulator; don't useProtocolStack(JChannel channel, String setup_string)
JChannel's conversion to type-specific construction, and the subsequent deprecation of itsJChannel(Object)constructor, necessitate the deprecation of this factory method as well.