toggle menu
Wow
3.16.8
jvm
switch theme
search in API
wow-r2dbc
/
me.ahoo.wow.r2dbc
/
ShardingDatabase
Sharding
Database
class
ShardingDatabase
(
registrar
:
ConnectionFactoryRegistrar
,
aggregateIdSharding
:
AggregateIdSharding
)
:
Database
,
EventStreamDatabase
,
SnapshotDatabase
Members
Constructors
Sharding
Database
Link copied to clipboard
constructor
(
registrar
:
ConnectionFactoryRegistrar
,
aggregateIdSharding
:
AggregateIdSharding
)
Functions
create
Connection
Link copied to clipboard
open
override
fun
createConnection
(
aggregateId
:
AggregateId
)
:
Publisher
<
out
Connection
>
sharding
Link copied to clipboard
fun
sharding
(
aggregateId
:
AggregateId
)
:
ConnectionFactory