Skip navigation links

Oracle® Coherence Java API Reference
Release 3.7.1.0

E22843-01


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 by KeyPartitioningStrategy implementations.

Naturally, since a PartitionAwareKey implementation explicitly dictates its partition, it should not define any key-association.

Since:
Coherence 3.7

Method Summary
 int getPartitionId()
          Return the partition id that this key should be associated with.

 

Method Detail

getPartitionId

int getPartitionId()
Return the partition id that this key should be associated with.
Returns:
the partition id that this key should be associated with

Skip navigation links

Oracle® Coherence Java API Reference
Release 3.7.1.0

E22843-01


Copyright © 2000, 2011, Oracle and/or its affiliates. All rights reserved.