public class CollectionConfiguration extends Object
| Constructor and Description |
|---|
CollectionConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCacheName() |
boolean |
isCollocated() |
void |
setCacheName(String cacheName) |
void |
setCollocated(boolean collocated) |
String |
toString() |
public boolean isCollocated()
True if all items within the same collection will be collocated on the same node.public void setCollocated(boolean collocated)
collocated - If true then all items within the same collection will be collocated on the same node.
Otherwise elements of the same set maybe be cached on different nodes. This parameter works only
collections stored in CacheMode.PARTITIONED cache.public String getCacheName()
public void setCacheName(String cacheName)
cacheName - Cache name.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.0.0 Release Date : March 31 2015