[JBoss JIRA] (ISPN-9923) Reactive basic API
by Katia Aresti (Jira)
[ https://issues.jboss.org/browse/ISPN-9923?page=com.atlassian.jira.plugin.... ]
Katia Aresti updated ISPN-9923:
-------------------------------
Description:
Create a first *ReactiveCache* api based in reactive streams standard. The example API below is not complete, is just an example
{code:java}
public interface ReactiveCache<K, V> {
CompletionStage<V> get(K key);
CompletionStage<Void> put(K key, V value);
CompletionStage<V> getAndPut(K key, V value);
CompletionStage<Void> remove(K key);
CompletionStage<Boolean> remove(K key, V value);
CompletionStage<V> getAndRemove(K key);
CompletionStage<Void> putMany(Publisher<Map.Entry<K, V>> pairs);
Publisher<K> getKeys();
Publisher<V> getValues();
CompletionStage<Long> size();
}
{code}
was:
Create a first *ReactiveCache* api based in reactive streams standard
{code:java}
public interface ReactiveCache<K, V> {
CompletionStage<V> get(K key);
CompletionStage<Void> put(K key, V value);
CompletionStage<V> getAndPut(K key, V value);
CompletionStage<Void> remove(K key);
CompletionStage<Boolean> remove(K key, V value);
CompletionStage<V> getAndRemove(K key);
CompletionStage<Void> putMany(Publisher<Map.Entry<K, V>> pairs);
Publisher<K> getKeys();
Publisher<V> getValues();
CompletionStage<Long> size();
}
{code}
> Reactive basic API
> ------------------
>
> Key: ISPN-9923
> URL: https://issues.jboss.org/browse/ISPN-9923
> Project: Infinispan
> Issue Type: Sub-task
> Components: API
> Reporter: Katia Aresti
> Assignee: Katia Aresti
> Priority: Major
>
> Create a first *ReactiveCache* api based in reactive streams standard. The example API below is not complete, is just an example
> {code:java}
> public interface ReactiveCache<K, V> {
> CompletionStage<V> get(K key);
> CompletionStage<Void> put(K key, V value);
> CompletionStage<V> getAndPut(K key, V value);
> CompletionStage<Void> remove(K key);
> CompletionStage<Boolean> remove(K key, V value);
> CompletionStage<V> getAndRemove(K key);
> CompletionStage<Void> putMany(Publisher<Map.Entry<K, V>> pairs);
> Publisher<K> getKeys();
> Publisher<V> getValues();
> CompletionStage<Long> size();
> }
> {code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 10 months
[JBoss JIRA] (ISPN-9923) Reactive basic API
by Katia Aresti (Jira)
[ https://issues.jboss.org/browse/ISPN-9923?page=com.atlassian.jira.plugin.... ]
Katia Aresti updated ISPN-9923:
-------------------------------
Description:
Create a first *ReactiveCache* api based in reactive streams standard
{code:java}
public interface ReactiveCache<K, V> {
CompletionStage<V> get(K key);
CompletionStage<Void> put(K key, V value);
CompletionStage<V> getAndPut(K key, V value);
CompletionStage<Void> remove(K key);
CompletionStage<Boolean> remove(K key, V value);
CompletionStage<V> getAndRemove(K key);
CompletionStage<Void> putMany(Publisher<Map.Entry<K, V>> pairs);
Publisher<K> getKeys();
Publisher<V> getValues();
CompletionStage<Long> size();
}
{code}
was:
Create a first *ReactiveCache* api based in reactive streams standard
{code title=ReactiveCache.java}
public interface ReactiveCache<K, V> {
CompletionStage<V> get(K key);
CompletionStage<Void> put(K key, V value);
CompletionStage<V> getAndPut(K key, V value);
CompletionStage<Void> remove(K key);
CompletionStage<Boolean> remove(K key, V value);
CompletionStage<V> getAndRemove(K key);
CompletionStage<Void> putMany(Publisher<Map.Entry<K, V>> pairs);
Publisher<K> getKeys();
Publisher<V> getValues();
CompletionStage<Long> size();
}
{code}
> Reactive basic API
> ------------------
>
> Key: ISPN-9923
> URL: https://issues.jboss.org/browse/ISPN-9923
> Project: Infinispan
> Issue Type: Sub-task
> Components: API
> Reporter: Katia Aresti
> Assignee: Katia Aresti
> Priority: Major
>
> Create a first *ReactiveCache* api based in reactive streams standard
> {code:java}
> public interface ReactiveCache<K, V> {
> CompletionStage<V> get(K key);
> CompletionStage<Void> put(K key, V value);
> CompletionStage<V> getAndPut(K key, V value);
> CompletionStage<Void> remove(K key);
> CompletionStage<Boolean> remove(K key, V value);
> CompletionStage<V> getAndRemove(K key);
> CompletionStage<Void> putMany(Publisher<Map.Entry<K, V>> pairs);
> Publisher<K> getKeys();
> Publisher<V> getValues();
> CompletionStage<Long> size();
> }
> {code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 10 months
[JBoss JIRA] (ISPN-9923) Reactive basic API
by Katia Aresti (Jira)
[ https://issues.jboss.org/browse/ISPN-9923?page=com.atlassian.jira.plugin.... ]
Katia Aresti reassigned ISPN-9923:
----------------------------------
Assignee: Katia Aresti
> Reactive basic API
> ------------------
>
> Key: ISPN-9923
> URL: https://issues.jboss.org/browse/ISPN-9923
> Project: Infinispan
> Issue Type: Sub-task
> Components: API
> Reporter: Katia Aresti
> Assignee: Katia Aresti
> Priority: Major
>
> Create a first *ReactiveCache* api based in reactive streams standard
> {code title=ReactiveCache.java}
> public interface ReactiveCache<K, V> {
> CompletionStage<V> get(K key);
> CompletionStage<Void> put(K key, V value);
> CompletionStage<V> getAndPut(K key, V value);
> CompletionStage<Void> remove(K key);
> CompletionStage<Boolean> remove(K key, V value);
> CompletionStage<V> getAndRemove(K key);
> CompletionStage<Void> putMany(Publisher<Map.Entry<K, V>> pairs);
> Publisher<K> getKeys();
> Publisher<V> getValues();
> CompletionStage<Long> size();
> }
> {code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 10 months
[JBoss JIRA] (ISPN-9923) Reactive basic API
by Katia Aresti (Jira)
Katia Aresti created ISPN-9923:
----------------------------------
Summary: Reactive basic API
Key: ISPN-9923
URL: https://issues.jboss.org/browse/ISPN-9923
Project: Infinispan
Issue Type: Sub-task
Components: API
Reporter: Katia Aresti
Create a first *ReactiveCache* api based in reactive streams standard
{code title=ReactiveCache.java}
public interface ReactiveCache<K, V> {
CompletionStage<V> get(K key);
CompletionStage<Void> put(K key, V value);
CompletionStage<V> getAndPut(K key, V value);
CompletionStage<Void> remove(K key);
CompletionStage<Boolean> remove(K key, V value);
CompletionStage<V> getAndRemove(K key);
CompletionStage<Void> putMany(Publisher<Map.Entry<K, V>> pairs);
Publisher<K> getKeys();
Publisher<V> getValues();
CompletionStage<Long> size();
}
{code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 10 months
[JBoss JIRA] (ISPN-9922) Create infinispan-api and hotrod-client reactive module
by Katia Aresti (Jira)
[ https://issues.jboss.org/browse/ISPN-9922?page=com.atlassian.jira.plugin.... ]
Katia Aresti reassigned ISPN-9922:
----------------------------------
Assignee: Katia Aresti
> Create infinispan-api and hotrod-client reactive module
> -------------------------------------------------------
>
> Key: ISPN-9922
> URL: https://issues.jboss.org/browse/ISPN-9922
> Project: Infinispan
> Issue Type: Sub-task
> Components: API
> Affects Versions: 10.0.0.Alpha3
> Reporter: Katia Aresti
> Assignee: Katia Aresti
> Priority: Major
>
> Two new dependencies will be used for this API
> * infinispan-api
> * infinispan-client-hotrod-reactive
> Infinispan API will be the new API entry point for embedded and clien/server mode functionalities. It will have a logical dependency with the implementing dependencies.
> Infinispan Client Hotrod Reactive will be the dependency users will need to import to use Infinispan Reactive
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 10 months
[JBoss JIRA] (ISPN-9922) Create infinispan-api and hotrod-client reactive module
by Katia Aresti (Jira)
Katia Aresti created ISPN-9922:
----------------------------------
Summary: Create infinispan-api and hotrod-client reactive module
Key: ISPN-9922
URL: https://issues.jboss.org/browse/ISPN-9922
Project: Infinispan
Issue Type: Sub-task
Components: API
Affects Versions: 10.0.0.Alpha3
Reporter: Katia Aresti
Two new dependencies will be used for this API
* infinispan-api
* infinispan-client-hotrod-reactive
Infinispan API will be the new API entry point for embedded and clien/server mode functionalities. It will have a logical dependency with the implementing dependencies.
Infinispan Client Hotrod Reactive will be the dependency users will need to import to use Infinispan Reactive
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 10 months
[JBoss JIRA] (IPROTO-84) ProtoSchemaBuilder does not detect duplicated enum constant names
by Adrian Nistor (Jira)
[ https://issues.jboss.org/browse/IPROTO-84?page=com.atlassian.jira.plugin.... ]
Adrian Nistor updated IPROTO-84:
--------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
Integrated in master and 4.2.x
> ProtoSchemaBuilder does not detect duplicated enum constant names
> -----------------------------------------------------------------
>
> Key: IPROTO-84
> URL: https://issues.jboss.org/browse/IPROTO-84
> Project: Infinispan ProtoStream
> Issue Type: Bug
> Affects Versions: 4.2.0.Final
> Reporter: Adrian Nistor
> Assignee: Adrian Nistor
> Priority: Major
> Fix For: 4.3.0.Alpha1, 4.2.3.Final
>
>
> The duplication is eventually detected later by the proto schema parser, but at this moment the broken schema is already registered and its status is ERROR. Would be better to detect this early during the analysis of the annotations.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 10 months