Uses of Class org.jgroups.ChannelException

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)

Uses in package org.jgroups

Classes derived from org.jgroups.ChannelException

class
class

Constructors which throw type org.jgroups.ChannelException

EnsChannel.EnsChannel(Object props)
Creates a new EnsChannel, which spawns an outboard process and connects to it.
EnsChannel.EnsChannel(Object props, String transport_props, int outboard_port)
Creates a new EnsChannel.
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.
If the channel is already connected, an error message will be printed to the error log
If the channel is closed a ChannelClosed exception will be thrown
This method starts the protocol stack by calling ProtocolStack.start
then it sends an Event.CONNECT event down the stack and waits to receive a CONNECT_OK event
Once the CONNECT_OK event arrives from the protocol stack, any channel listeners are notified
and the channel is considered connected
Channel
Creates an instance implementing the Channel interface.
Channel
No-Op implementation of the createChannel() method specified by 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
EnsChannelFactory.createChannel(Object properties)
Channel
JChannelFactory.createChannel(Object properties)
Creates a JChannel implementation of the Channel interface.
void
Re-opens a closed channel.
void
Opens the channel.
this does the following actions
1.

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.
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.
boolean
VotingAdapter.vote(Object decree, int consensusType, long timeout)
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.

Uses in package org.jgroups.conf

Methods which throw type org.jgroups.ChannelException

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 at the specified URL.
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.

Copyright B) 2001,2002 www.jgroups.com . All Rights Reserved.