Package | Description |
---|---|
org.jgroups.fork | |
org.jgroups.stack |
Support for managing protocol stacks.
|
Modifier and Type | Method and Description |
---|---|
protected static FORK |
ForkChannel.getFORK(JChannel ch,
ProtocolStack.Position position,
Class<? extends Protocol> neighbor,
boolean create_fork_if_absent)
Creates a new FORK protocol, or returns the existing one, or throws an exception.
|
Constructor and Description |
---|
ForkChannel(JChannel main_channel,
String fork_stack_id,
String fork_channel_id,
boolean create_fork_if_absent,
ProtocolStack.Position position,
Class<? extends Protocol> neighbor,
Protocol... protocols)
Creates a new fork-channel from a main-channel.
|
Modifier and Type | Method and Description |
---|---|
static ProtocolStack.Position |
ProtocolStack.Position.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProtocolStack.Position[] |
ProtocolStack.Position.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
ProtocolStack.insertProtocol(Protocol prot,
ProtocolStack.Position position,
Class<? extends Protocol>... neighbor_prots) |
void |
ProtocolStack.insertProtocol(Protocol prot,
ProtocolStack.Position position,
Class<? extends Protocol> neighbor_prot) |
void |
ProtocolStack.insertProtocol(Protocol prot,
ProtocolStack.Position position,
String neighbor_prot)
Inserts an already created (and initialized) protocol into the protocol list.
|
void |
ProtocolStack.insertProtocolInStack(Protocol prot,
Protocol neighbor,
ProtocolStack.Position position) |
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.