| 
GigaSpaces XAP 9.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SpacePartition
A Space partition mainly make sense with partitioned topologies and holds all the
 SpaceInstances that form the partition.
| Method Summary | |
|---|---|
 SpaceInstance | 
getBackup()
Returns the (first) backup space instance, null if currently there is no backup. | 
 SpaceInstance[] | 
getInstances()
Returns all the space instances that form the partition.  | 
 int | 
getPartitionId()
Returns the partition id (starting from 0).  | 
 SpaceInstance | 
getPrimary()
Returns the primary space instance, null if currently there is no primary. | 
 Space | 
getSpace()
Returns the Space this Space Partition is part of.  | 
| Methods inherited from interface java.lang.Iterable | 
|---|
iterator | 
| Method Detail | 
|---|
int getPartitionId()
SpaceInstance.getInstanceId()
 starts from 1.
SpaceInstance[] getInstances()
Space getSpace()
SpaceInstance getPrimary()
null if currently there is no primary.
SpaceInstance getBackup()
null if currently there is no backup.
  | 
GigaSpaces XAP 9.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||