I think we need a specialized CollectionStore API for this. Something that
will receive an element value and its index (if index is required).

D.

On Thu, Jan 14, 2016 at 11:31 PM, Valentin Kulichenko <
[email protected]> wrote:

> Igniters,
>
> It sounds like users could be interested in being able to persist the data
> saved in queues and sets. See the thread on user list [1].
>
> The obvious solution is to reuse our CacheStore interface, but I'm not sure
> that this is possible because it's designed for key-value storage. E.g.,
> what is the key for a set element? In case of a queue we also need to be
> able to preserve order after writing to the database and reloading.
>
> Any ideas how to achieve this?
>
> -Val
>
> [1]
>
> http://apache-ignite-users.70518.x6.nabble.com/Stupide-question-about-Queue-td2557.html
>

Reply via email to