public static interface KeyDataSerializer.Partitionable extends KeyDataSerializer
KeyDataSerializer.PartitionableDataSerializer.DataAttributeInflatable, DataSerializer.Identifiable, DataSerializer.SpecialValue, DataSerializer.UserReadable| Modifier and Type | Method and Description |
|---|---|
int |
getPartitionHashCode(DataObjectContext ctx,
XsDataInputStream dataObject)
Invoked from clients when it needs to use a partition other than the one normally
calculated from it's identity.
|
getKeyDataDescriptorgetAttributeContexts, inflateDataObjectAttributesequals, hasBinaryEquality, hashCodeinflateDataObject, serializeDataObjectint getPartitionHashCode(DataObjectContext ctx, XsDataInputStream dataObject) throws IOException
Do not store or use the data stream beyond the confines of this method call. The data stream is owned by the WebSphere eXtreme Scale framework and my be closed, pooled or reused as required.
ctx - the context of the method call.dataObject - the data input stream to read the object, produced from
DataSerializer.serializeDataObject(DataObjectContext, Object, XsDataOutputStream).
Must not be null.IOException - thrown if there is a problem reading the data.