find

protected Optional<ShardSessionRecord> find(ShardIndex index)

Looks for the session record by the given shard index.

Return

a session record or Optional.empty() if the record is not present in the registry

Parameters

index

shard index to find a session for