Interface ChannelConfiguration
- All Known Subinterfaces:
ForkChannelConfiguration
public interface ChannelConfiguration
Encapsulates the configuration of a JGroups channel.
- Author:
- Paul Ferraro
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.wildfly.service.descriptor.NullaryServiceDescriptor<ChannelConfiguration>static final org.wildfly.service.descriptor.UnaryServiceDescriptor<ChannelConfiguration> -
Method Summary
Modifier and TypeMethodDescriptionThe factory for creating this channel.The cluster name of this channel.org.jboss.modules.ModuleThe module associated with this channel.booleanIndicates whether statistics should be enabled.
-
Field Details
-
DEFAULT_SERVICE_DESCRIPTOR
static final org.wildfly.service.descriptor.NullaryServiceDescriptor<ChannelConfiguration> DEFAULT_SERVICE_DESCRIPTOR -
SERVICE_DESCRIPTOR
static final org.wildfly.service.descriptor.UnaryServiceDescriptor<ChannelConfiguration> SERVICE_DESCRIPTOR
-
-
Method Details
-
isStatisticsEnabled
boolean isStatisticsEnabled()Indicates whether statistics should be enabled.- Returns:
- true, if statistics will be enabled for this channel, false otherwise.
-
getChannelFactory
ChannelFactory getChannelFactory()The factory for creating this channel.- Returns:
- a channel factory
-
getModule
org.jboss.modules.Module getModule()The module associated with this channel.- Returns:
- a module
-
getClusterName
String getClusterName()The cluster name of this channel.- Returns:
- a cluster name.
-