Uses of Class org.jgroups.ChannelException

Uses in package org.jgroups

Classes derived from org.jgroups.ChannelException

class
Thrown if an operation is attemped on a closed channel.
class
Thrown if an operation is attemped on an unconnected channel.

Constructors which throw type org.jgroups.ChannelException

Constructs a JChannel instance with the protocol stack specified by the DEFAULT_PROTOCOL_STACK member.
JChannel.JChannel(Element properties)
Constructs a JChannel instance with the protocol stack configuration contained by the specified XML element.
JChannel.JChannel(File properties)
Constructs a JChannel instance with the protocol stack configuration contained by the specified file.
JChannel.JChannel(Object properties)
Creates a new JChannel with the protocol stack as defined in the properties parameter.
JChannel.JChannel(String properties)
Constructs a JChannel instance with the protocol stack configuration based upon the specified properties parameter.
JChannel.JChannel(URL properties)
Constructs a JChannel instance with the protocol stack configuration indicated by the specified URL.
Constructs a JChannel instance with the protocol stack configuration contained by the protocol stack configurator parameter.
JChannelFactory.JChannelFactory(Element properties)
Constructs a JChannelFactory instance that utilizes the specified file for protocl stack configuration.
Constructs a JChannelFactory instance that utilizes the specified file for protocl stack configuration.
JChannelFactory.JChannelFactory(String properties)
Constructs a JChannel instance with the protocol stack configuration based upon the specified properties parameter.
Constructs a JChannelFactory instance that utilizes the specified file for protocl stack configuration.

Methods which throw type org.jgroups.ChannelException

void
Channel.connect(String channel_name)
Connects the channel to a group.
void
JChannel.connect(String channel_name)
Connects the channel to a group.
Channel
Creates an instance implementing the Channel interface.
Channel
Creates a JChannel implementation of the Channel interface using the protocol stack configuration information specfied during construction of an instance of this factory.
Channel
ChannelFactory.createChannel(Object properties)
Creates an instance implementing the Channel interface.
Channel
JChannelFactory.createChannel(Object properties)
Creates a JChannel implementation of the Channel interface.
void
Re-opens a closed channel.
void
Opens the channel.

Uses in package org.jgroups.conf

Methods which throw type org.jgroups.ChannelException

ClassConfigurator
ProtocolStackConfigurator
Returns a protocol stack configurator based on the XML configuration provided by the specified XML element.
ProtocolStackConfigurator
Returns a protocol stack configurator based on the XML configuration provided by the specified File.
ProtocolStackConfigurator
Returns a protocol stack configurator based on the provided properties string.
ProtocolStackConfigurator
Returns a protocol stack configurator based on the XML configuration provided at the specified URL.
void

Uses in package org.jgroups.jmx

Methods which throw type org.jgroups.ChannelException

void
JChannel.connect(String channel_name)
void
JChannelMBean.connect(String channel_name)

Uses in package org.jgroups.blocks

Classes derived from org.jgroups.ChannelException

class
This exception is thrown when voting listener cannot vote on the specified decree.

Constructors which throw type org.jgroups.ChannelException

DistributedHashtable.DistributedHashtable(String groupname, ChannelFactory factory, String properties, boolean persistent, long state_timeout)
Creates a DisttributedHashtable.
DistributedHashtable.DistributedHashtable(String groupname, ChannelFactory factory, String properties, long state_timeout)
Creates a DistributedHashtable
DistributedQueue.DistributedQueue(String groupname, ChannelFactory factory, String properties, long state_timeout)
Creates a DistributedQueue
DistributedTree.DistributedTree(PullPushAdapter adapter, Serializable id, long state_timeout)

Methods which throw type org.jgroups.ChannelException

void
DistributedLockManager.lock(Object lockId, Object owner, int timeout)
Locks an object with lockId on behalf of the specified owner.
void
LockManager.lock(Object obj, Object owner, int timeout)
Obtain lock on obj for specified owner.
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
DistributedLockManager.unlock(Object lockId, Object owner)
Unlocks an object with lockId on behalf of the specified owner.
void
LockManager.unlock(Object obj, Object owner)
Release lock on obj owned by specified owner.
void
DistributedLockManager.unlock(Object lockId, Object owner, boolean releaseMultiLocked)
Unlocks an object with lockId on behalf of the specified owner.
void
LockManager.unlock(Object obj, Object owner, boolean releaseMultiLocked)
Release lock on obj owned by specified owner.
boolean
VotingAdapter.vote(Object decree, int consensusType, long timeout)
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
TwoPhaseVotingAdapter.vote(Object decree, long timeout)
Performs the two-phase voting on the decree.
boolean
VotingAdapter.vote(Object decree, long timeout)
Vote on the specified decree requiring all nodes to vote.
boolean
TwoPhaseVotingAdapter.vote(Object decree, long timeout, VoteResponseProcessor voteResponseProcessor)
Performs the two-phase voting on the decree.
boolean
VotingAdapter.vote(Object decree, long timeout, VoteResponseProcessor voteResponseProcessor)
Vote on the specified decree requiring all nodes to vote.

Uses in package org.jgroups.stack

Constructors which throw type org.jgroups.ChannelException

ProtocolStack.ProtocolStack(JChannel channel, String setup_string)

Uses in package org.jgroups.demos

Methods which throw type org.jgroups.ChannelException

void
DistributedQueueDemo.start(String groupname, ChannelFactory factory, String props)
void
DistributedHashtableDemo.start(ChannelFactory factory, String props, boolean persist)

Copyright B) 1998-2005 Bela Ban. All Rights Reserved.