|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ShardMapping
A ShardMapping is used to associate a shard with a ZoneRule.
When leveraging ShardMappings, each shard in the partition must have a ShardMapping defined.
MapSet.addShardMapping(ShardMapping)
Method Summary | |
---|---|
ShardType |
getShardType()
Get the type of shard that this mapping represents. |
ZoneRule |
getZoneRule()
Get the ZoneRule associated with this ShardMapping. |
Method Detail |
---|
ShardType getShardType()
ShardType.PRIMARY
,
ShardType.SYNCHRONOUS_REPLICA
,
ShardType.ASYNCHRONOUS_REPLICA
ZoneRule getZoneRule()
|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |