public interface IgniteMessageFactory extends MessageFactory
register(short, Supplier)
method call.Modifier and Type | Method and Description |
---|---|
void |
register(short directType,
Supplier<Message> supplier)
Register message factory with given direct type.
|
create
void register(short directType, Supplier<Message> supplier) throws IgniteException
IllegalStateException
exception.directType
- Direct type.supplier
- Message factory.IgniteException
- In case of attempt to register message with direct type which is already registered.IllegalStateException
- On any invocation of this method when class which implements this interface
is alredy constructed.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.16.0 Release Date : December 15 2023