[
https://issues.apache.org/jira/browse/IGNITE-14653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mirza Aliev updated IGNITE-14653:
---------------------------------
Description:
Currently, we have two separate interfaces {{ValutService}} and
{{MetastorageService}}, but they have a lot of common methods. Seems that it
would be convenient to have a common interface.
* We need a common interface for listeners on vault and metastorage with
{{onUpdate}} and {{onError}} methods
* We should have {{Entry}} interface for vault that will be extended with
metastorage {{Entry}} with extra revision logic
* Also seems that {{Watcher}} from metastorage and vault might have common
parent
was:
Currently, we have two separate interfaces {{ValutService}} and
{{MetastorageService}}, but they have a lot of common methods. Seems that it
would be convenient to have a common interface.
* We need a common interface for listeners on vault and metastorage with
{{onUpdate}} and {{onError}} methods
* We should have {{Entry}} interface for vault that will be extended with
metastorage {{Entry}} with extra revision logic
* Also seems that Watcher from metastorage and vault might have common parent
> Generify Vault and Metastorage services interfaces
> ---------------------------------------------------
>
> Key: IGNITE-14653
> URL: https://issues.apache.org/jira/browse/IGNITE-14653
> Project: Ignite
> Issue Type: Improvement
> Reporter: Mirza Aliev
> Priority: Major
> Labels: ignite-3
>
> Currently, we have two separate interfaces {{ValutService}} and
> {{MetastorageService}}, but they have a lot of common methods. Seems that it
> would be convenient to have a common interface.
> * We need a common interface for listeners on vault and metastorage with
> {{onUpdate}} and {{onError}} methods
> * We should have {{Entry}} interface for vault that will be extended with
> metastorage {{Entry}} with extra revision logic
> * Also seems that {{Watcher}} from metastorage and vault might have common
> parent
--
This message was sent by Atlassian Jira
(v8.3.4#803005)