EOFException From BinaryEntryStore When Calling BinaryEntry.getOriginalValue()
(Doc ID 1334446.1)
Last updated on MAY 07, 2020
Applies to:Oracle Coherence - Version 3.6.0 and later
Information in this document applies to any platform.
A BinaryEntryStore calls BinaryEntry.getOriginalValue() from the store() method to access the previous value of an entry.
This is following the guidance given by Oracle in the Javadoc for BinaryEntryStore:
implementations could rely on the entry's "previous" values: in the external
format using BinaryEntry.getOriginalValue() and in the internal format using
the BinaryEntry.getOriginalBinaryValue() methods (for store operations, a
value of null here would indicate an insert operation). "
- Insert an entry for key k
- Sleep to allow write-behind. During write behind getOriginalValue() returns null.
- Clear the cache
- Re-insert entry with key k
- Sleep to allow write-behind. During write behind getOriginalValue() throws EOFException.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document