CollectionClusterInfo

@Serializable
data class CollectionClusterInfo(val peerId: Long, val shardCount: Int = 0, val localShards: List<LocalShardInfo> = emptyList(), val remoteShards: List<RemoteShardInfo> = emptyList(), val shardTransfers: List<ShardTransferInfo> = emptyList())

How a collection's shards are distributed right now, as the answering peer sees it.

Constructors

Link copied to clipboard
constructor(peerId: Long, shardCount: Int = 0, localShards: List<LocalShardInfo> = emptyList(), remoteShards: List<RemoteShardInfo> = emptyList(), shardTransfers: List<ShardTransferInfo> = emptyList())

Properties

Link copied to clipboard
@SerialName(value = "local_shards")
val localShards: List<LocalShardInfo>
Link copied to clipboard
@SerialName(value = "peer_id")
val peerId: Long
Link copied to clipboard
@SerialName(value = "remote_shards")
val remoteShards: List<RemoteShardInfo>
Link copied to clipboard
@SerialName(value = "shard_count")
val shardCount: Int
Link copied to clipboard
@SerialName(value = "shard_transfers")
val shardTransfers: List<ShardTransferInfo>