|
IBM WebSphereTM eXtreme Scale, Release 8.5 API Specification |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface KeyDataSerializer.Partitionable
KeyDataSerializers can implement this optional interface to use alternative partitioning scheme.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.ibm.websphere.objectgrid.plugins.io.KeyDataSerializer |
---|
KeyDataSerializer.Partitionable |
Nested classes/interfaces inherited from interface com.ibm.websphere.objectgrid.plugins.io.DataSerializer |
---|
DataSerializer.DataAttributeInflatable, DataSerializer.Identifiable, DataSerializer.SpecialValue, DataSerializer.UserReadable |
Nested classes/interfaces inherited from interface com.ibm.websphere.objectgrid.plugins.io.DataSerializer |
---|
DataSerializer.DataAttributeInflatable, DataSerializer.Identifiable, DataSerializer.SpecialValue, DataSerializer.UserReadable |
Nested classes/interfaces inherited from interface com.ibm.websphere.objectgrid.plugins.io.DataSerializer |
---|
DataSerializer.DataAttributeInflatable, DataSerializer.Identifiable, DataSerializer.SpecialValue, DataSerializer.UserReadable |
Method Summary | |
---|---|
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. |
Methods inherited from interface com.ibm.websphere.objectgrid.plugins.io.KeyDataSerializer |
---|
getKeyDataDescriptor |
Methods inherited from interface com.ibm.websphere.objectgrid.plugins.io.DataSerializer |
---|
inflateDataObject, serializeDataObject |
Methods inherited from interface com.ibm.websphere.objectgrid.plugins.io.DataSerializer.DataAttributeInflatable |
---|
getAttributeContexts, inflateDataObjectAttributes |
Methods inherited from interface com.ibm.websphere.objectgrid.plugins.io.DataSerializer |
---|
inflateDataObject, serializeDataObject |
Methods inherited from interface com.ibm.websphere.objectgrid.plugins.io.DataSerializer.Identifiable |
---|
equals, hasBinaryEquality, hashCode |
Methods inherited from interface com.ibm.websphere.objectgrid.plugins.io.DataSerializer |
---|
inflateDataObject, serializeDataObject |
Method Detail |
---|
int 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.
|
IBM WebSphereTM eXtreme Scale, Release 8.5 API Specification |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |