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.
GridGain In-Memory Computing Platform : ver. 8.9.14 Release Date : November 5 2024