public interface MessageFactoryProvider extends MessageFactory
Implementation of this interface is responsible for registration of all message factories in
registerAll(org.apache.ignite.plugin.extensions.communication.IgniteMessageFactory)
method.
registerAll(org.apache.ignite.plugin.extensions.communication.IgniteMessageFactory)
method's call is responsibility of IgniteMessageFactory
implementation.
Modifier and Type | Method and Description |
---|---|
default @Nullable Message |
create(short type)
Always throws
UnsupportedOperationException . |
void |
registerAll(IgniteMessageFactory factory)
Registers all messages factories.
|
void registerAll(IgniteMessageFactory factory)
IgniteMessageFactory.register(short, java.util.function.Supplier<org.apache.ignite.plugin.extensions.communication.Message>)
.factory
- IgniteMessageFactory
implementation.@Nullable default @Nullable Message create(short type)
UnsupportedOperationException
.create
in interface MessageFactory
type
- Message direct type.UnsupportedOperationException
- On any invocation.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.16.0 Release Date : December 15 2023