You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Andrey Gura (JIRA)" <ji...@apache.org> on 2015/10/30 12:40:27 UTC

[jira] [Updated] (IGNITE-1817) Deprecate RandomEvictionPolicy and IgniteCache.randomEntry method

     [ https://issues.apache.org/jira/browse/IGNITE-1817?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrey Gura updated IGNITE-1817:
--------------------------------
    Description: 
{{RandomEvictionPolicy}} class and {{IgniteCache.randomEntry()}} method should be deprecated.

Offheap cache should throw {{UnsupportedOperationException}} for this method (see IGNITE-1180).

Client node should also throw {{UnsupportedOperationException}} (see IGNITE-1180).

{{RandomEvictionPolicy}} doesn't support near caches (see IGNITE-1380).

  was:
{{RandomEvictionPolicy}} and {{IgniteCache.randomEntry()}} method should be deprecated.

Offheap cache should throw {{UnsupportedOperationException}} for this method (see IGNITE-1180).

Client node should also throw {{UnsupportedOperationException}} (see IGNITE-1180).

{{RandomEvictionPolicy}} doesn't support near caches (see IGNITE-1380)


> Deprecate RandomEvictionPolicy and IgniteCache.randomEntry method
> -----------------------------------------------------------------
>
>                 Key: IGNITE-1817
>                 URL: https://issues.apache.org/jira/browse/IGNITE-1817
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Andrey Gura
>            Assignee: Andrey Gura
>
> {{RandomEvictionPolicy}} class and {{IgniteCache.randomEntry()}} method should be deprecated.
> Offheap cache should throw {{UnsupportedOperationException}} for this method (see IGNITE-1180).
> Client node should also throw {{UnsupportedOperationException}} (see IGNITE-1180).
> {{RandomEvictionPolicy}} doesn't support near caches (see IGNITE-1380).



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