[infinispan-issues] [JBoss JIRA] (ISPN-9845) Stop exposing InternalMetadata via the persistence SPI

Ryan Emerson (Jira) issues at jboss.org
Fri Dec 21 06:12:00 EST 2018


     [ https://issues.jboss.org/browse/ISPN-9845?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ryan Emerson updated ISPN-9845:
-------------------------------
        Parent: ISPN-9620
    Issue Type: Sub-task  (was: Enhancement)


> Stop exposing InternalMetadata via the persistence SPI
> ------------------------------------------------------
>
>                 Key: ISPN-9845
>                 URL: https://issues.jboss.org/browse/ISPN-9845
>             Project: Infinispan
>          Issue Type: Sub-task
>          Components: Loaders and Stores
>    Affects Versions: 10.0.0.Alpha2
>            Reporter: Ryan Emerson
>            Assignee: Ryan Emerson
>            Priority: Major
>             Fix For: 10.0.0.Beta1
>
>
> 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:
> {code:java}
> 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();
> }
> {code}
> With MarshalledEntry then providing the old method for backwards compatiblity:
> {code:java}
> ByteBuffer getMetadataBytes();
> InternalMetadata getMetadata();
> {code



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the infinispan-issues mailing list