Overview | Package | Class | Tree | Index | Help

Oracle® Coherence Java API Reference
v3.5.3
E15583-01
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.tangosol.util
Interface BinaryEntry

All Superinterfaces:
  InvocableMap.Entry, java.util.Map.Entry, QueryMap.Entry

All Known Implementing Classes:
  ConverterCollections.ConverterMapEvent.ConverterMapEventEntry

    public interface BinaryEntry

extends InvocableMap.Entry

Map.Entry that internally stores both key and value in a Binary format and uses an underlying Serializer to convert it to and from an Object view.

Since:
  Coherence 3.5
Author:
  as 2009.01.05

Method Summary
`Binary` | `getBinaryKey()` Return a raw binary key for this entry.
`Binary` | `getBinaryValue()` Return a raw binary value for this entry.
`BackingMapManagerContext` | `getContext()` Return the context this entry operates within.
`Serializer` | `getSerializer()` Return a `Serializer` that is used to serialize/deserialize this entry.
`void` | `updateBinaryValue(Binary binValue)` Update the binary value for this entry.

Methods inherited from interface com.tangosol.util.InvocableMap.Entry
`getKey, getValue, isPresent, remove, setValue, setValue, update`

Methods inherited from interface com.tangosol.util.QueryMap.Entry
`extract`

Methods inherited from interface java.util.Map.Entry
`equals, hashCode`

Method Detail

### getBinaryKey

    Binary getBinaryKey()

  Return a raw binary key for this entry.

  Returns:
    a raw binary key for this entry

### getBinaryValue

    Binary getBinaryValue()

  Return a raw binary value for this entry.

  Returns:
    a raw binary value for this entry

### getSerializer

    Serializer getSerializer()

  Return a `Serializer` that is used to serialize/deserialize this entry.

  Returns:
    a `Serializer` that is used to serialize/deserialize this entry

### getContext

    BackingMapManagerContext getContext()

  Return the context this entry operates within.

  Returns:
    the BackingMapManagerContext for this entry

### updateBinaryValue

    void updateBinaryValue(Binary binValue)

  Update the binary value for this entry.

  Passing a non-null binary is functionally equivalent to:

         setValue(getContext().getValueFromInternalConverter().convert(binValue));

  Passing null value is functionally equivalent to removing the entry.

         remove(false);

  Parameters:
    `binValue` - a raw binary value to for this entry or null

Overview | Package | Class | Tree | Index | Help

Oracle® Coherence Java API Reference
v3.5.3
E15583-01
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000, 2010, Oracle. All rights reserved.