Class ChannelCommandDispatcherFactoryServiceConfigurator
- java.lang.Object
-
- org.wildfly.clustering.service.SimpleServiceNameProvider
-
- org.wildfly.extension.clustering.server.dispatcher.ChannelCommandDispatcherFactoryServiceConfigurator
-
- All Implemented Interfaces:
Function<ClassLoader,ByteBufferMarshaller>,Predicate<org.jgroups.Message>,Supplier<AutoCloseableCommandDispatcherFactory>,CapabilityServiceConfigurator,ChannelCommandDispatcherFactoryConfiguration,ServiceConfigurator,ServiceNameProvider
public class ChannelCommandDispatcherFactoryServiceConfigurator extends SimpleServiceNameProvider implements CapabilityServiceConfigurator, ChannelCommandDispatcherFactoryConfiguration, Supplier<AutoCloseableCommandDispatcherFactory>, Function<ClassLoader,ByteBufferMarshaller>, Predicate<org.jgroups.Message>
Builds a channel-basedCommandDispatcherFactoryservice.- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description ChannelCommandDispatcherFactoryServiceConfigurator(org.jboss.msc.service.ServiceName name, String group)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ByteBufferMarshallerapply(ClassLoader loader)org.jboss.msc.service.ServiceBuilder<?>build(org.jboss.msc.service.ServiceTarget target)ServiceConfiguratorconfigure(org.jboss.as.controller.capability.CapabilityServiceSupport support)AutoCloseableCommandDispatcherFactoryget()org.jgroups.JChannelgetChannel()ByteBufferMarshallergetMarshaller()Function<ClassLoader,ByteBufferMarshaller>getMarshallerFactory()DurationgetTimeout()Predicate<org.jgroups.Message>getUnknownForkPredicate()booleantest(org.jgroups.Message response)ChannelCommandDispatcherFactoryServiceConfiguratortimeout(Duration timeout)-
Methods inherited from class org.wildfly.clustering.service.SimpleServiceNameProvider
equals, getServiceName, hashCode, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.jboss.as.clustering.controller.CapabilityServiceConfigurator
configure
-
Methods inherited from interface org.wildfly.clustering.service.ServiceNameProvider
getServiceName
-
-
-
-
Constructor Detail
-
ChannelCommandDispatcherFactoryServiceConfigurator
public ChannelCommandDispatcherFactoryServiceConfigurator(org.jboss.msc.service.ServiceName name, String group)
-
-
Method Detail
-
get
public AutoCloseableCommandDispatcherFactory get()
- Specified by:
getin interfaceSupplier<AutoCloseableCommandDispatcherFactory>
-
configure
public ServiceConfigurator configure(org.jboss.as.controller.capability.CapabilityServiceSupport support)
- Specified by:
configurein interfaceCapabilityServiceConfigurator
-
build
public org.jboss.msc.service.ServiceBuilder<?> build(org.jboss.msc.service.ServiceTarget target)
- Specified by:
buildin interfaceServiceConfigurator
-
timeout
public ChannelCommandDispatcherFactoryServiceConfigurator timeout(Duration timeout)
-
getMarshallerFactory
public Function<ClassLoader,ByteBufferMarshaller> getMarshallerFactory()
- Specified by:
getMarshallerFactoryin interfaceChannelCommandDispatcherFactoryConfiguration
-
apply
public ByteBufferMarshaller apply(ClassLoader loader)
- Specified by:
applyin interfaceFunction<ClassLoader,ByteBufferMarshaller>
-
getChannel
public org.jgroups.JChannel getChannel()
- Specified by:
getChannelin interfaceChannelCommandDispatcherFactoryConfiguration
-
getMarshaller
public ByteBufferMarshaller getMarshaller()
- Specified by:
getMarshallerin interfaceChannelCommandDispatcherFactoryConfiguration
-
getTimeout
public Duration getTimeout()
- Specified by:
getTimeoutin interfaceChannelCommandDispatcherFactoryConfiguration
-
getUnknownForkPredicate
public Predicate<org.jgroups.Message> getUnknownForkPredicate()
- Specified by:
getUnknownForkPredicatein interfaceChannelCommandDispatcherFactoryConfiguration
-
-