public class OwnershipStatistics extends Object
Constructor and Description |
---|
OwnershipStatistics(DefaultConsistentHash ch,
List<Address> nodes) |
OwnershipStatistics(List<Address> nodes) |
OwnershipStatistics(OwnershipStatistics other) |
Modifier and Type | Method and Description |
---|---|
void |
decOwned(Address a) |
void |
decPrimaryOwned(Address a) |
int |
getOwned(Address a) |
int |
getPrimaryOwned(Address a) |
void |
incOwned(Address a) |
void |
incPrimaryOwned(Address a) |
public OwnershipStatistics(DefaultConsistentHash ch, List<Address> nodes)
public OwnershipStatistics(OwnershipStatistics other)
Copyright © 2017 JBoss, a division of Red Hat. All Rights Reserved.