-
Sub-task
-
Resolution: Done
-
Major
-
10.0.0.Final
-
None
-
Sprint 10.0.0.Alpha1, Sprint 10.0.0.Alpha2, Sprint 10.0.0.Beta1, DataGrid Sprint #29, DataGrid Sprint #30, DataGrid Sprint #39
We should stop exposing InternalMetadata via the persistence SPI and add created() methods direct to the MarshallableEntry interface introduced in ISPN-9693. This requires MarshallableEntry to change to:
interface MarshallableEntry<K, V> { ByteBuffer getKeyBytes(); ByteBuffer getValueBytes(); K getKey(); V getValue(); Metadata metadata(); ByteBuffer metadataBytes(); long created(); long lastUsed(); boolean isExpired(long now); long expiryTime(); }
With MarshalledEntry then providing the old method for backwards compatiblity:
ByteBuffer getMetadataBytes(); InternalMetadata getMetadata();
- relates to
-
ISPN-9846 Ensure Backwards Compatibility with Persistence SPI changes
- Closed