ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yakov Zhdanov (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (IGNITE-638) Implement IgniteSemaphore data structure
Date Wed, 18 Nov 2015 12:41:10 GMT

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

Yakov Zhdanov reassigned IGNITE-638:

    Assignee: Yakov Zhdanov  (was: Vladisav Jelisavcic)

> Implement IgniteSemaphore data structure
> ----------------------------------------
>                 Key: IGNITE-638
>                 URL: https://issues.apache.org/jira/browse/IGNITE-638
>             Project: Ignite
>          Issue Type: Sub-task
>          Components: data structures
>            Reporter: Dmitriy Setrakyan
>            Assignee: Yakov Zhdanov
>              Labels: features, newbie
>             Fix For: 1.5
> We need to add {{IgniteSemaphore}} data structure in addition to other data structures
provided by Ignite. {{IgniteSemaphore}} should have similar API to {{java.util.concurrent.IgniteSemaphore}}
class in JDK.
> As an example, you can see how [IgniteCountDownLatch|https://github.com/apache/incubator-ignite/blob/master/modules/core/src/main/java/org/apache/ignite/IgniteCountDownLatch.java]
is implemented in [GridCacheCountDownLatchImpl|https://github.com/apache/incubator-ignite/blob/master/modules/core/src/main/java/org/apache/ignite/internal/processors/datastructures/GridCacheCountDownLatchImpl.java]
> In general we need to have an entity in ATOMIC cache storing number of permits and allow
user threads to block whenever no more permits are available.

This message was sent by Atlassian JIRA

View raw message