[jira] [Commented] (IGNITE-4030) Streamline PlatformTarget interface

2016-10-13 Thread Pavel Tupitsyn (JIRA)

[ 
https://issues.apache.org/jira/browse/IGNITE-4030?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15572187#comment-15572187
 ] 

Pavel Tupitsyn commented on IGNITE-4030:


Finally decided to keep most of the methods. Changes are:
* Merge OutLong with InLongOutLong
* Merge InObjectStreamOutStream with InObjectStreamOutObjectStream

> Streamline PlatformTarget interface
> ---
>
> Key: IGNITE-4030
> URL: https://issues.apache.org/jira/browse/IGNITE-4030
> Project: Ignite
>  Issue Type: Sub-task
>  Components: platforms
>Reporter: Pavel Tupitsyn
>Assignee: Pavel Tupitsyn
>  Labels: .NET
> Fix For: 1.8
>
>
> 1) Review the set of inOut methods. There should be one uber-method which 
> takes a stream and an object, returns a stream and an object. This method 
> covers all use cases. Other methods should gradually simplify the signature.
> 2) Provide a symmetrical callback method set



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


[jira] [Commented] (IGNITE-4030) Streamline PlatformTarget interface

2016-10-13 Thread Pavel Tupitsyn (JIRA)

[ 
https://issues.apache.org/jira/browse/IGNITE-4030?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15571915#comment-15571915
 ] 

Pavel Tupitsyn commented on IGNITE-4030:


Further considerations:
* Allocating a stream when it is not used is unacceptable
* Allocating a stream for a single primitive (bool, int, long, etc) is 
unacceptable

> Streamline PlatformTarget interface
> ---
>
> Key: IGNITE-4030
> URL: https://issues.apache.org/jira/browse/IGNITE-4030
> Project: Ignite
>  Issue Type: Sub-task
>  Components: platforms
>Reporter: Pavel Tupitsyn
>Assignee: Pavel Tupitsyn
>  Labels: .NET
> Fix For: 1.8
>
>
> 1) Review the set of inOut methods. There should be one uber-method which 
> takes a stream and an object, returns a stream and an object. This method 
> covers all use cases. Other methods should gradually simplify the signature.
> 2) Provide a symmetrical callback method set



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


[jira] [Commented] (IGNITE-4030) Streamline PlatformTarget interface

2016-10-12 Thread Pavel Tupitsyn (JIRA)

[ 
https://issues.apache.org/jira/browse/IGNITE-4030?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15568983#comment-15568983
 ] 

Pavel Tupitsyn commented on IGNITE-4030:


Proposed method set:
* InObjectStreamOutObjectStream - covers all cases. Estimated usages: 27
* InStreamOutStream - all cases without objects. Estimated usages: 91
* InLongOutLong - simple cases. Estimated usages: 49


> Streamline PlatformTarget interface
> ---
>
> Key: IGNITE-4030
> URL: https://issues.apache.org/jira/browse/IGNITE-4030
> Project: Ignite
>  Issue Type: Sub-task
>  Components: platforms
>Reporter: Pavel Tupitsyn
>Assignee: Pavel Tupitsyn
>  Labels: .NET
> Fix For: 1.8
>
>
> 1) Review the set of inOut methods. There should be one uber-method which 
> takes a stream and an object, returns a stream and an object. This method 
> covers all use cases. Other methods should gradually simplify the signature.
> 2) Provide a symmetrical callback method set



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