Class ChannelCommandDispatcherFactoryServiceConfigurator
- java.lang.Object
-
- org.wildfly.clustering.service.SimpleServiceNameProvider
-
- org.wildfly.extension.clustering.server.dispatcher.ChannelCommandDispatcherFactoryServiceConfigurator
-
- All Implemented Interfaces:
Function<ClassLoader,org.wildfly.clustering.marshalling.spi.ByteBufferMarshaller>,Predicate<ByteBuffer>,Supplier<AutoCloseableCommandDispatcherFactory>,org.jboss.as.clustering.controller.CapabilityServiceConfigurator,ChannelCommandDispatcherFactoryConfiguration,org.wildfly.clustering.service.ServiceConfigurator,org.wildfly.clustering.service.ServiceNameProvider
public class ChannelCommandDispatcherFactoryServiceConfigurator extends org.wildfly.clustering.service.SimpleServiceNameProvider implements org.jboss.as.clustering.controller.CapabilityServiceConfigurator, ChannelCommandDispatcherFactoryConfiguration, Supplier<AutoCloseableCommandDispatcherFactory>, Function<ClassLoader,org.wildfly.clustering.marshalling.spi.ByteBufferMarshaller>, Predicate<ByteBuffer>
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 org.wildfly.clustering.marshalling.spi.ByteBufferMarshallerapply(ClassLoader loader)org.jboss.msc.service.ServiceBuilder<?>build(org.jboss.msc.service.ServiceTarget target)org.wildfly.clustering.service.ServiceConfiguratorconfigure(org.jboss.as.controller.capability.CapabilityServiceSupport support)AutoCloseableCommandDispatcherFactoryget()org.jgroups.JChannelgetChannel()org.wildfly.clustering.marshalling.spi.ByteBufferMarshallergetMarshaller()Function<ClassLoader,org.wildfly.clustering.marshalling.spi.ByteBufferMarshaller>getMarshallerFactory()DurationgetTimeout()Predicate<ByteBuffer>getUnknownForkPredicate()booleantest(ByteBuffer buffer)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
-
-
-
-
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 org.wildfly.clustering.service.ServiceConfigurator configure(org.jboss.as.controller.capability.CapabilityServiceSupport support)
- Specified by:
configurein interfaceorg.jboss.as.clustering.controller.CapabilityServiceConfigurator
-
build
public org.jboss.msc.service.ServiceBuilder<?> build(org.jboss.msc.service.ServiceTarget target)
- Specified by:
buildin interfaceorg.wildfly.clustering.service.ServiceConfigurator
-
timeout
public ChannelCommandDispatcherFactoryServiceConfigurator timeout(Duration timeout)
-
getMarshallerFactory
public Function<ClassLoader,org.wildfly.clustering.marshalling.spi.ByteBufferMarshaller> getMarshallerFactory()
- Specified by:
getMarshallerFactoryin interfaceChannelCommandDispatcherFactoryConfiguration
-
apply
public org.wildfly.clustering.marshalling.spi.ByteBufferMarshaller apply(ClassLoader loader)
- Specified by:
applyin interfaceFunction<ClassLoader,org.wildfly.clustering.marshalling.spi.ByteBufferMarshaller>
-
getChannel
public org.jgroups.JChannel getChannel()
- Specified by:
getChannelin interfaceChannelCommandDispatcherFactoryConfiguration
-
getMarshaller
public org.wildfly.clustering.marshalling.spi.ByteBufferMarshaller getMarshaller()
- Specified by:
getMarshallerin interfaceChannelCommandDispatcherFactoryConfiguration
-
getTimeout
public Duration getTimeout()
- Specified by:
getTimeoutin interfaceChannelCommandDispatcherFactoryConfiguration
-
getUnknownForkPredicate
public Predicate<ByteBuffer> getUnknownForkPredicate()
- Specified by:
getUnknownForkPredicatein interfaceChannelCommandDispatcherFactoryConfiguration
-
test
public boolean test(ByteBuffer buffer)
- Specified by:
testin interfacePredicate<ByteBuffer>
-
-