public interface GridCacheSet<T> extends Set<T>
Set interface and provides all methods from collections.
Note that all Collection methods in the set may throw GridRuntimeException in case of failure
or if set was removed.
collocated parameter). Non-collocated mode is provided only
for partitioned caches. If collocated parameter is true, then all set items
will be collocated on one node, otherwise items will be distributed through all grid nodes.| Modifier and Type | Method and Description |
|---|---|
boolean |
collocated()
Returns
true if this set can be kept on the one node only. |
String |
name()
Gets set name.
|
boolean |
removed()
Gets status of set.
|
String name()
boolean collocated()
throws GridException
true if this set can be kept on the one node only.
Returns false if this set can be kept on the many nodes.True if this set is in collocated mode false otherwise.GridException - If operation failed.boolean removed()
True if set was removed from cache false otherwise.Copyright © 2014. All rights reserved.