@SPI
public interface ShardObserver
Modifier and Type | Method and Description |
---|---|
void |
onMessage(io.spine.server.delivery.InboxMessage update)
A callback executed once the message was written into the shard.
|
void onMessage(io.spine.server.delivery.InboxMessage update)
Allows the descendants to react upon this update. E.g. by scheduling a delivery from the shard with the specified index.
update
- the message with which some shard was updated