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.jgroups
    Modifier and Type
    Class
    Description
    class 
    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 ChannelException
    Modifier and Type
    Method
    Description
    abstract void
    Channel.connect(String cluster_name)
    Connects the channel to a group.
    abstract void
    Channel.connect(String cluster_name, Address target, String state_id, long timeout)
    Connects the channel to a group and fetches the state
    void
    JChannel.connect(String cluster_name)
    Connects the channel to a group.
    void
    JChannel.connect(String cluster_name, boolean useFlushIfPresent)
    Connects the channel to a group.
    void
    JChannel.connect(String cluster_name, Address target, String state_id, long timeout)
    Connects this channel to a group and gets a state from a specified state provider.
    void
    JChannel.connect(String cluster_name, Address target, String state_id, long timeout, boolean useFlushIfPresent)
    Connects this channel to a group and gets a state from a specified state provider.
    ChannelFactory.createChannel()
    Deprecated.
    Create a new channel with the properties defined in the factory
    ChannelFactory.createChannel(Object props)
    Deprecated.
     
    JChannelFactory.createChannel()
    Deprecated.
    Creates a JChannel implementation of the Channel interface using the protocol stack configuration information specfied during construction of an instance of this factory.
    JChannelFactory.createChannel(Object properties)
    Deprecated.
    JChannel's conversion to type-specific construction, and the subsequent deprecation of its JChannel(Object) constructor, necessitate the deprecation of this factory method as well.
    protected final void
    JChannel.init(ProtocolStackConfigurator configurator)
     
    protected final void
    JChannel.init(JChannel ch)
     
    void
    Channel.open()
    Re-opens a closed channel.
    void
    JChannel.open()
    Deprecated.
    With the removal of shunning, this method should not be used anymore
    Constructors in org.jgroups that throw ChannelException
    Modifier
    Constructor
    Description
     
    Constructs a JChannel instance with the protocol stack specified by the DEFAULT_PROTOCOL_STACK member.
     
    JChannel(File properties)
    Constructs a JChannel instance with the protocol stack configuration contained by the specified file.
     
    JChannel(Object properties)
    Deprecated.
    Use the constructors with specific parameter types instead.
     
    JChannel(String properties)
    Constructs a JChannel instance with the protocol stack configuration based upon the specified properties parameter.
     
    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.
     
    Creates a channel with the same configuration as the channel passed to this constructor.
     
    JChannel(Element properties)
    Constructs a JChannel instance with the protocol stack configuration contained by the specified XML element.
     
    JChannelFactory(File properties)
    Deprecated.
    Constructs a JChannelFactory instance that utilizes the specified file for protocl stack configuration.
     
    JChannelFactory(String properties)
    Deprecated.
    Constructs a JChannel instance with the protocol stack configuration based upon the specified properties parameter.
     
    JChannelFactory(URL properties)
    Deprecated.
    Constructs a JChannelFactory instance that utilizes the specified file for protocl stack configuration.
     
    Deprecated.
    Constructs a JChannelFactory instance that utilizes the specified file for protocl stack configuration.
  • Uses of ChannelException in org.jgroups.blocks

    Modifier and Type
    Class
    Description
    class 
    This exception is thrown when voting listener cannot vote on the specified decree.
    Methods in org.jgroups.blocks that throw ChannelException
    Modifier and Type
    Method
    Description
    void
    DistributedLockManager.lock(Object lockId, Object owner, int timeout)
    Deprecated.
    Locks an object with lockId on behalf of the specified owner.
    void
    LockManager.lock(Object obj, Object owner, int timeout)
    Deprecated.
    Obtain lock on obj for specified owner.
    boolean
    DistributedLockManager.processResponses(RspList responses, int consensusType, Object decree)
    Deprecated.
    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)
    Deprecated.
    Unlocks an object with lockId on behalf of the specified owner.
    void
    DistributedLockManager.unlock(Object lockId, Object owner, boolean releaseMultiLocked)
    Deprecated.
    Unlocks an object with lockId on behalf of the specified owner.
    void
    DistributedLockManager.unlock(Object lockId, Object owner, boolean releaseMultiLocked, long timeout)
    Deprecated.
     
    void
    DistributedLockManager.unlock(Object lockId, Object owner, long timeout)
    Deprecated.
     
    void
    LockManager.unlock(Object obj, Object owner)
    Deprecated.
    Release lock on obj owned by specified owner.
    void
    LockManager.unlock(Object obj, Object owner, boolean releaseMultiLocked)
    Deprecated.
    Release lock on obj owned by specified owner.
    boolean
    TwoPhaseVotingAdapter.vote(Object decree, long timeout)
    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
    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
    VotingAdapter.vote(Object decree, long timeout)
    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 ChannelException
    Modifier
    Constructor
    Description
     
    DistributedQueue(String groupname, ChannelFactory factory, String properties, long state_timeout)
    Creates a DistributedQueue
     
    DistributedTree(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 ChannelException
    Modifier and Type
    Method
    Description
    ConfiguratorFactory.getStackConfigurator(File file)
    Returns a protocol stack configurator based on the XML configuration provided by the specified File.
    ConfiguratorFactory.getStackConfigurator(String properties)
    Returns a protocol stack configurator based on the provided properties string.
    ConfiguratorFactory.getStackConfigurator(URL url)
    Returns a protocol stack configurator based on the XML configuration provided at the specified URL.
    ConfiguratorFactory.getStackConfigurator(Element element)
    Returns a protocol stack configurator based on the XML configuration provided by the specified XML element.
    protected static void
    ClassConfigurator.init()
     
  • Uses of ChannelException in org.jgroups.demos

    Methods in org.jgroups.demos that throw ChannelException
    Modifier and Type
    Method
    Description
    void
    DistributedQueueDemo.start(String groupname, ChannelFactory factory, String props)
     
    void
    ReplicatedHashMapDemo.start(ChannelFactory factory, String props, boolean persist)
     
  • Uses of ChannelException in org.jgroups.mux

    Methods in org.jgroups.mux that throw ChannelException
    Modifier and Type
    Method
    Description
    void
    MuxChannel.connect(String channel_name)
    Deprecated.
     
    void
    MuxChannel.connect(String cluster_name, Address target, String state_id, long timeout)
    Deprecated.
     
    void
    MuxChannel.open()
    Deprecated.
     
  • Uses of ChannelException in org.jgroups.stack

    Constructors in org.jgroups.stack that throw ChannelException
    Modifier
    Constructor
    Description