public class VisorCachePartitions extends Object implements Serializable, LessNamingBean
| Constructor and Description |
|---|
VisorCachePartitions()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addBackup(int part,
int heap,
long offheap,
long swap)
Add backup partition descriptor.
|
void |
addPrimary(int part,
int heap,
long offheap,
long swap)
Add primary partition descriptor.
|
List<VisorCachePartition> |
backup() |
List<VisorCachePartition> |
primary() |
String |
toString() |
public void addPrimary(int part,
int heap,
long offheap,
long swap)
part - Partition id.heap - Number of primary keys in heap.offheap - Number of primary keys in offheap.swap - Number of primary keys in swap.public void addBackup(int part,
int heap,
long offheap,
long swap)
part - Partition id.heap - Number of backup keys in heap.offheap - Number of backup keys in offheap.swap - Number of backup keys in swap.public List<VisorCachePartition> primary()
public List<VisorCachePartition> backup()
Follow @ApacheIgnite
Ignite Fabric : ver. 1.9.0 Release Date : March 2 2017