@SPI
public abstract class ShardProcessingSession
extends java.lang.Object
Starts by picking up the shard to process.
Modifier | Constructor and Description |
---|---|
protected |
ShardProcessingSession(io.spine.server.delivery.ShardSessionRecord record) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
complete()
Completes this session and releases the picked shard, making it available for picking up.
|
io.spine.server.delivery.ShardIndex |
shardIndex()
Returns the index of the shard, to which this session relates to.
|