[ 
https://issues.apache.org/jira/browse/IGNITE-946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14646035#comment-14646035
 ] 

Denis Magda commented on IGNITE-946:
------------------------------------

Valentin, several questions/thoughts so far cause the task is not fully clear.

1) Do you mean {{CacheVersionedEntryImpl}} under the "versioned entry" that you 
suggest making public?

If so then as a version it should return not an abstract {{Object}} but rather 
a concrete implementation.
I would like to add {{CacheVersion}} class that will have the same public 
methods {{GridCacheVersion}} has excluding DR-oriented. {{GridCacheVersion}} 
will extend {{CacheVersion}}.

2) Could you point out to or provide an example (code sample) how the user will 
access a versioned entry with {{unwrap}}?
As I understand he/she will call {{unwrap}} on {{Cache.Entry}}, that is 
returned from a bunch of {{IgniteCache}} methods, and that {{Cache.Entry}} will 
be one of our internal classes (probably it should be an instance of 
{{GridCacheMapEntry}}). Correct?

> Need to expose versioned cache entry to public API
> --------------------------------------------------
>
>                 Key: IGNITE-946
>                 URL: https://issues.apache.org/jira/browse/IGNITE-946
>             Project: Ignite
>          Issue Type: Bug
>          Components: cache
>    Affects Versions: sprint-4
>            Reporter: Valentin Kulichenko
>            Assignee: Denis Magda
>            Priority: Critical
>              Labels: Usability
>
> Currently we have versioned entry, but it's not available on public API, but 
> knowing version can be useful in some cases. Need to make it accessible via 
> {{unwrap}} method.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to