public class Tenant extends Object
Constructor and Description |
---|
Tenant(String tenantId,
Cell cell,
org.apache.kafka.common.PartitionPlacementStrategy placementPolicy)
Constructor of the tenant class using the tenant id, cell id and placement policy.
|
Modifier and Type | Method and Description |
---|---|
Cell |
cell()
Return the cell the tenant is assigned to.
|
boolean |
equals(Object o) |
int |
hashCode() |
org.apache.kafka.common.PartitionPlacementStrategy |
placementPolicy()
Return the placement policy.
|
String |
tenantId()
Return tenant id of the tenant.
|
String |
toString() |