Package com.tangosol.net.partition
Interface KeyPartitioningStrategy.PartitionAwareKey
-
- All Known Implementing Classes:
SimplePartitionKey
- Enclosing interface:
- KeyPartitioningStrategy
public static interface KeyPartitioningStrategy.PartitionAwareKey
PartitionAwareKey is a well-known interface that should be respected byKeyPartitioningStrategy
implementations.Naturally, since a PartitionAwareKey implementation explicitly dictates its partition, it should not define any key-association.
- Since:
- Coherence 3.7
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getPartitionId()
Return the partition id that this key should be associated with.
-