public class ForkChannelFactory extends Object implements ChannelFactory
Constructor and Description |
---|
ForkChannelFactory(org.jgroups.Channel channel,
ChannelFactory parentFactory,
List<ProtocolConfiguration> protocols) |
ForkChannelFactory(org.jgroups.Channel channel,
ChannelFactory parentFactory,
ProtocolConfiguration... protocols) |
Modifier and Type | Method and Description |
---|---|
org.jgroups.Channel |
createChannel(String id)
Creates a JGroups channel
|
ProtocolStackConfiguration |
getProtocolStackConfiguration()
Returns the protocol stack configuration of this channel factory.
|
boolean |
isUnknownForkResponse(ByteBuffer response)
Determines whether or not the specified message response indicates the fork stack or fork channel
required to handle a request does not exist on the recipient node.
|
public ForkChannelFactory(org.jgroups.Channel channel, ChannelFactory parentFactory, List<ProtocolConfiguration> protocols)
public ForkChannelFactory(org.jgroups.Channel channel, ChannelFactory parentFactory, ProtocolConfiguration... protocols)
public org.jgroups.Channel createChannel(String id) throws Exception
ChannelFactory
createChannel
in interface ChannelFactory
id
- the unique identifier of this channelException
- if there was a failure setting up the protocol stackpublic ProtocolStackConfiguration getProtocolStackConfiguration()
ChannelFactory
public boolean isUnknownForkResponse(ByteBuffer response)
ChannelFactory
response
- a message responseCopyright © 2018 JBoss by Red Hat. All rights reserved.