Uses of Class
org.jgroups.ChannelException
-
Packages that use ChannelException Package Description org.jgroups Provides top-level public JGroups classes such as Channel, Message, etc.org.jgroups.blocks Provides building blocks that are layered on top of channels.org.jgroups.conf Provides ways to configure a protocol stack.org.jgroups.demos Provides demonstrations of JGroups functionality.org.jgroups.jmx org.jgroups.mux org.jgroups.stack Support for managing protocol stacks. -
-
Uses of ChannelException in org.jgroups
Subclasses of ChannelException in org.jgroups Modifier and Type Class Description classChannelClosedExceptionThrown if an operation is attemped on a closed channel.classChannelNotConnectedExceptionThrown if an operation is attemped on an unconnected channel.classStateTransferExceptionStateTransferExceptionis thrown to indicate failure of state transfer between cluster members.Methods in org.jgroups that throw ChannelException Modifier and Type Method Description abstract voidChannel. connect(java.lang.String cluster_name)Connects the channel to a group.abstract voidChannel. connect(java.lang.String cluster_name, Address target, java.lang.String state_id, long timeout)Connects the channel to a group and fetches the statevoidJChannel. connect(java.lang.String cluster_name)Connects the channel to a group.voidJChannel. connect(java.lang.String cluster_name, Address target, java.lang.String state_id, long timeout)Connects this channel to a group and gets a state from a specified state provider.ChannelChannelFactory. createChannel()Create a new channel with the properties defined in the factoryChannelChannelFactory. createChannel(java.lang.Object props)ChannelJChannelFactory. createChannel()Creates aJChannelimplementation of theChannelinterface using the protocol stack configuration information specfied during construction of an instance of this factory.ChannelJChannelFactory. createChannel(java.lang.Object properties)Deprecated.JChannel's conversion to type-specific construction, and the subsequent deprecation of itsJChannel(Object)constructor, necessitate the deprecation of this factory method as well.protected voidJChannel. init(ProtocolStackConfigurator configurator)voidChannel. open()Re-opens a closed channel.voidJChannel. open()Opens the channel.Constructors in org.jgroups that throw ChannelException Constructor Description JChannel()Constructs aJChannelinstance with the protocol stack specified by theDEFAULT_PROTOCOL_STACKmember.JChannel(java.io.File properties)Constructs aJChannelinstance with the protocol stack configuration contained by the specified file.JChannel(java.lang.Object properties)Deprecated.Use the constructors with specific parameter types instead.JChannel(java.lang.String properties)Constructs aJChannelinstance with the protocol stack configuration based upon the specified properties parameter.JChannel(java.net.URL properties)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.JChannel(org.w3c.dom.Element properties)Constructs aJChannelinstance with the protocol stack configuration contained by the specified XML element.JChannelFactory(java.io.File properties)Constructs aJChannelFactoryinstance that utilizes the specified file for protocl stack configuration.JChannelFactory(java.lang.String properties)Constructs aJChannelinstance with the protocol stack configuration based upon the specified properties parameter.JChannelFactory(java.net.URL properties)Constructs aJChannelFactoryinstance that utilizes the specified file for protocl stack configuration.JChannelFactory(org.w3c.dom.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.blocks Modifier and Type Class Description classVoteExceptionThis 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 voidDistributedLockManager. lock(java.lang.Object lockId, java.lang.Object owner, int timeout)Locks an object withlockIdon behalf of the specifiedowner.voidLockManager. lock(java.lang.Object obj, java.lang.Object owner, int timeout)Obtain lock onobjfor specifiedowner.booleanDistributedLockManager. processResponses(RspList responses, int consensusType, java.lang.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, java.lang.Object decree)Processes the responses returned by the other nodes.booleanVotingAdapter. processResponses(RspList responses, int consensusType, java.lang.Object decree)Processes the response list and makes a decision according to the type of the consensus for current voting.voidDistributedLockManager. unlock(java.lang.Object lockId, java.lang.Object owner)Unlocks an object withlockIdon behalf of the specifiedowner.voidDistributedLockManager. unlock(java.lang.Object lockId, java.lang.Object owner, boolean releaseMultiLocked)Unlocks an object withlockIdon behalf of the specifiedowner.voidDistributedLockManager. unlock(java.lang.Object lockId, java.lang.Object owner, boolean releaseMultiLocked, long timeout)voidDistributedLockManager. unlock(java.lang.Object lockId, java.lang.Object owner, long timeout)voidLockManager. unlock(java.lang.Object obj, java.lang.Object owner)Release lock onobjowned by specifiedowner.voidLockManager. unlock(java.lang.Object obj, java.lang.Object owner, boolean releaseMultiLocked)Release lock onobjowned by specifiedowner.booleanTwoPhaseVotingAdapter. vote(java.lang.Object decree, long timeout)Performs the two-phase voting on the decree.booleanTwoPhaseVotingAdapter. vote(java.lang.Object decree, long timeout, VoteResponseProcessor voteResponseProcessor)Performs the two-phase voting on the decree.booleanVotingAdapter. vote(java.lang.Object decree, int consensusType, long timeout)Performs actual voting on the VoteChannel using the JGroups facilities for communication.booleanVotingAdapter. vote(java.lang.Object decree, int consensusType, long timeout, VoteResponseProcessor voteResponseProcessor)Performs actual voting on the VoteChannel using the JGroups facilities for communication.booleanVotingAdapter. vote(java.lang.Object decree, long timeout)Vote on the specified decree requiring all nodes to vote.booleanVotingAdapter. vote(java.lang.Object decree, long timeout, VoteResponseProcessor voteResponseProcessor)Vote on the specified decree requiring all nodes to vote.Constructors in org.jgroups.blocks that throw ChannelException Constructor Description DistributedHashtable(java.lang.String groupname, ChannelFactory factory, java.lang.String properties, boolean persistent, long state_timeout)Deprecated.Creates a DisttributedHashtable.DistributedHashtable(java.lang.String groupname, ChannelFactory factory, java.lang.String properties, long state_timeout)Deprecated.Creates a DistributedHashtableDistributedQueue(java.lang.String groupname, ChannelFactory factory, java.lang.String properties, long state_timeout)Creates a DistributedQueueDistributedTree(PullPushAdapter adapter, java.io.Serializable id, long state_timeout)ReplicatedHashMap(java.lang.String clustername, ChannelFactory factory, java.lang.String properties, boolean persistent, long state_timeout)Creates a ReplicatedHashMap.ReplicatedHashMap(java.lang.String clustername, ChannelFactory factory, java.lang.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 static ClassConfiguratorClassConfigurator. getInstance()static ClassConfiguratorClassConfigurator. getInstance(boolean init)static ProtocolStackConfiguratorConfiguratorFactory. getStackConfigurator(java.io.File file)Returns a protocol stack configurator based on the XML configuration provided by the specified File.static ProtocolStackConfiguratorConfiguratorFactory. getStackConfigurator(java.lang.String properties)Returns a protocol stack configurator based on the provided properties string.static ProtocolStackConfiguratorConfiguratorFactory. getStackConfigurator(java.net.URL url)Returns a protocol stack configurator based on the XML configuration provided at the specified URL.static ProtocolStackConfiguratorConfiguratorFactory. getStackConfigurator(org.w3c.dom.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 ChannelException Modifier and Type Method Description voidDistributedHashtableDemo. start(ChannelFactory factory, java.lang.String props, boolean persist)voidDistributedQueueDemo. start(java.lang.String groupname, ChannelFactory factory, java.lang.String props)voidReplicatedHashMapDemo. start(ChannelFactory factory, java.lang.String props, boolean persist) -
Uses of ChannelException in org.jgroups.jmx
Methods in org.jgroups.jmx that throw ChannelException Modifier and Type Method Description voidJChannel. connect(java.lang.String channel_name)voidJChannelMBean. connect(java.lang.String channel_name) -
Uses of ChannelException in org.jgroups.mux
Methods in org.jgroups.mux that throw ChannelException Modifier and Type Method Description voidMuxChannel. connect(java.lang.String channel_name)voidMuxChannel. connect(java.lang.String cluster_name, Address target, java.lang.String state_id, long timeout)voidMuxChannel. open() -
Uses of ChannelException in org.jgroups.stack
Constructors in org.jgroups.stack that throw ChannelException Constructor Description ProtocolStack()Only used by Simulator; don't useProtocolStack(JChannel channel, java.lang.String setup_string)
-