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 TypeClassDescriptionclass
Thrown if an operation is attemped on a closed channel.class
Thrown if an operation is attemped on an unconnected channel.class
StateTransferException
is thrown to indicate failure of state transfer between cluster members.Methods in org.jgroups that throw ChannelExceptionModifier and TypeMethodDescriptionabstract void
Connects the channel to a group.abstract void
Connects the channel to a group and fetches the statevoid
Connects the channel to a group.void
Connects 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 aJChannel
implementation of theChannel
interface using the protocol stack configuration information specfied during construction of an instance of this factory.
JChannelFactory.createChannel
(Object properties) Deprecated.protected final void
JChannel.init
(ProtocolStackConfigurator configurator) void
Channel.open()
Re-opens a closed channel.void
JChannel.open()
Opens the channel.Constructors in org.jgroups that throw ChannelExceptionModifierConstructorDescriptionJChannel()
Constructs aJChannel
instance with the protocol stack specified by theDEFAULT_PROTOCOL_STACK
member.Constructs aJChannel
instance with the protocol stack configuration contained by the specified file.Deprecated.Use the constructors with specific parameter types instead.Constructs aJChannel
instance with the protocol stack configuration based upon the specified properties parameter.Constructs aJChannel
instance with the protocol stack configuration indicated by the specified URL.JChannel
(ProtocolStackConfigurator configurator) Constructs aJChannel
instance with the protocol stack configuration contained by the protocol stack configurator parameter.Constructs aJChannel
instance with the protocol stack configuration contained by the specified XML element.JChannelFactory
(File properties) Constructs aJChannelFactory
instance that utilizes the specified file for protocl stack configuration.JChannelFactory
(String properties) Constructs aJChannel
instance with the protocol stack configuration based upon the specified properties parameter.JChannelFactory
(URL properties) Constructs aJChannelFactory
instance that utilizes the specified file for protocl stack configuration.JChannelFactory
(Element properties) Constructs aJChannelFactory
instance that utilizes the specified file for protocl stack configuration. -
Uses of ChannelException in org.jgroups.blocks
Subclasses of ChannelException in org.jgroups.blocksModifier and TypeClassDescriptionclass
This exception is thrown when voting listener cannot vote on the specified decree.Methods in org.jgroups.blocks that throw ChannelExceptionModifier and TypeMethodDescriptionvoid
Locks an object withlockId
on behalf of the specifiedowner
.void
Obtain lock onobj
for specifiedowner
.boolean
DistributedLockManager.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.boolean
VoteResponseProcessor.processResponses
(RspList responses, int consensusType, Object decree) Processes the responses returned by the other nodes.boolean
VotingAdapter.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.void
Unlocks an object withlockId
on behalf of the specifiedowner
.void
Unlocks an object withlockId
on behalf of the specifiedowner
.void
DistributedLockManager.unlock
(Object lockId, Object owner, boolean releaseMultiLocked, long timeout) void
void
Release lock onobj
owned by specifiedowner
.void
Release lock onobj
owned by specifiedowner
.boolean
Performs the two-phase voting on the decree.boolean
TwoPhaseVotingAdapter.vote
(Object decree, long timeout, VoteResponseProcessor voteResponseProcessor) Performs the two-phase voting on the decree.boolean
Performs actual voting on the VoteChannel using the JGroups facilities for communication.boolean
VotingAdapter.vote
(Object decree, int consensusType, long timeout, VoteResponseProcessor voteResponseProcessor) Performs actual voting on the VoteChannel using the JGroups facilities for communication.boolean
Vote on the specified decree requiring all nodes to vote.boolean
VotingAdapter.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 ClassConfigurator
ClassConfigurator.getInstance()
static ClassConfigurator
ClassConfigurator.getInstance
(boolean init) static ProtocolStackConfigurator
ConfiguratorFactory.getStackConfigurator
(File file) Returns a protocol stack configurator based on the XML configuration provided by the specified File.static ProtocolStackConfigurator
ConfiguratorFactory.getStackConfigurator
(String properties) Returns a protocol stack configurator based on the provided properties string.static ProtocolStackConfigurator
ConfiguratorFactory.getStackConfigurator
(URL url) Returns a protocol stack configurator based on the XML configuration provided at the specified URL.static ProtocolStackConfigurator
ConfiguratorFactory.getStackConfigurator
(Element element) Returns a protocol stack configurator based on the XML configuration provided by the specified XML element.void
ClassConfigurator.init()
-
Uses of ChannelException in org.jgroups.demos
Methods in org.jgroups.demos that throw ChannelExceptionModifier and TypeMethodDescriptionvoid
DistributedHashtableDemo.start
(ChannelFactory factory, String props, boolean persist) void
DistributedQueueDemo.start
(String groupname, ChannelFactory factory, String props) void
ReplicatedHashMapDemo.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.