-
-
Method Summary
void
Adds a distribution to the state
void
Adds a pending distribution to the state
void
Removed a distribution from the state
void
Removes a pending distribution fromm the state
-
Method Details
-
addCommandDistribution
Adds a distribution to the state
- Parameters:
distributionKey
- the key of the distribution
commandDistributionRecord
- the distribution record that needs to be stored
-
removeCommandDistribution
void removeCommandDistribution(long distributionKey)
Removed a distribution from the state
- Parameters:
distributionKey
- the key of the distribution that will be removed
-
addPendingDistribution
void addPendingDistribution(long distributionKey,
int partition)
Adds a pending distribution to the state
- Parameters:
distributionKey
- the key of the distribution
partition
- the partition for which the distribution is pending
-
removePendingDistribution
void removePendingDistribution(long distributionKey,
int partition)
Removes a pending distribution fromm the state
- Parameters:
distributionKey
- the key of the pending distribution that will be removed
partition
- the partition of the pending distribution that will be removed