Jens,
> > Here is what I think you are suggesting:
> > service SlowRunner { ... }
> > service SlowStopper { ... }
>
> I don't think that two different services are really necessary. In fact,
I
> would not even recommend it for your particular case.
Yep, you're right. Two services don't make m
[
https://issues.apache.org/jira/browse/THRIFT-1772?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Avi Flamholz updated THRIFT-1772:
-
Patch Info: Patch Available
I have a patch file. Not sure how to upload it. It adds an assert to
Hi Ben,
Here is what I think you are suggesting:
service SlowRunner { ... }
service SlowStopper { ... }
I don't think that two different services are really necessary. In fact, I
would not even recommend it for your particular case.
One of the commands would be "doSlowOperation" and anoth
[
https://issues.apache.org/jira/browse/THRIFT-1772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13510165#comment-13510165
]
Avi Flamholz commented on THRIFT-1772:
--
Henrique --
I have a working and tested pat
Thanks for the reply Jens. Here is what I think you are suggesting:
service SlowRunner
{
i32 createOperation(),
void slowOperation(1: i32 instanceID),
}
service SlowStopper
{
void stopEverything(1: i32 instanceID),
}
So with my interface, a client would call SlowClient::slowOperation() in
Jens Geyer created THRIFT-1775:
--
Summary: Java ignores default value(s) for unions
Key: THRIFT-1775
URL: https://issues.apache.org/jira/browse/THRIFT-1775
Project: Thrift
Issue Type: Bug
[
https://issues.apache.org/jira/browse/THRIFT-1769?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jens Geyer updated THRIFT-1769:
---
Patch Info: (was: Patch Available)
Patch may need revision -> postponed.
> union
[
https://issues.apache.org/jira/browse/THRIFT-1767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jens Geyer updated THRIFT-1767:
---
Attachment: (was: THRIFT-1767_unions_cant_have_required_fields.patch)
> unions can't have re
[
https://issues.apache.org/jira/browse/THRIFT-1767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jens Geyer updated THRIFT-1767:
---
Attachment: THRIFT-1767_unions_cant_have_required_fields_Delphi - rev2.patch
Revised patch:
* Impor
[
https://issues.apache.org/jira/browse/THRIFT-1768?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jens Geyer updated THRIFT-1768:
---
Attachment: THRIFT-1768_unions_cant_have_required_fields_Compiler -
rev1.patch
Revised patch:
* wa
[
https://issues.apache.org/jira/browse/THRIFT-1768?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jens Geyer updated THRIFT-1768:
---
Attachment: (was:
THRIFT-1768_unions_cant_have_required_fields_Compiler.patch)
> unions can
Hi Ben,
just as an idea what I would be trying:
1. extract the implementation of slowOperation() and stopEverything() from
the service into a dedicated class and make that one threadsafe.
2. if you need only one instance of this implementation class, make it a
singleton or even a static cla
[
https://issues.apache.org/jira/browse/THRIFT-1767?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13509975#comment-13509975
]
Jens Geyer edited comment on THRIFT-1767 at 12/4/12 9:27 PM:
-
Suppose I have a .thrift spec similar to the following:
service Slow
{
void slowOperation(),
void stopEverything(),
}
When my application launches, my code will establish a connection with the
server, and hold on to that connection for the lifetime of the app. When
a user launches a dialog
[
https://issues.apache.org/jira/browse/THRIFT-1772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13509987#comment-13509987
]
Henrique Mendonca commented on THRIFT-1772:
---
Thanks Avi, Although it might redu
[
https://issues.apache.org/jira/browse/THRIFT-1767?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13509975#comment-13509975
]
Jens Geyer commented on THRIFT-1767:
I'm not so sure.
{code}
Union {
1 : i32 one,
[
https://issues.apache.org/jira/browse/THRIFT-1481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13509947#comment-13509947
]
Vlad Troyanker commented on THRIFT-1481:
+1
This is important to interoperate w
[
https://issues.apache.org/jira/browse/THRIFT-1481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13509818#comment-13509818
]
Ben Craig commented on THRIFT-1481:
---
I should be able to provide a .patch for this once
[
https://issues.apache.org/jira/browse/THRIFT-1767?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13509816#comment-13509816
]
Kenjiro Fukumitsu commented on THRIFT-1767:
---
I think default value for union's
[
https://issues.apache.org/jira/browse/THRIFT-1767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kenjiro Fukumitsu updated THRIFT-1767:
--
Attachment: THRIFT-1767_union_clear_value_experimental.patch
> unions can't have r
[
https://issues.apache.org/jira/browse/THRIFT-1767?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13509799#comment-13509799
]
Kenjiro Fukumitsu edited comment on THRIFT-1767 at 12/4/12 3:30 PM:
---
[
https://issues.apache.org/jira/browse/THRIFT-1767?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13509799#comment-13509799
]
Kenjiro Fukumitsu commented on THRIFT-1767:
---
I think it is nicer if union's pro
[
https://issues.apache.org/jira/browse/THRIFT-1750?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ben Craig updated THRIFT-1750:
--
Attachment: (was: compiler_cleanup.patch)
> Make compiler build cleanly under visual studio 10
[
https://issues.apache.org/jira/browse/THRIFT-1750?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ben Craig updated THRIFT-1750:
--
Attachment: compiler_cleanup.patch
Putting a newline at the end of platform.h that was accidentally om
[
https://issues.apache.org/jira/browse/THRIFT-1753?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ben Craig updated THRIFT-1753:
--
Attachment: cleaner_port4.patch
Same as last patch, but now starting the TFileTransport flush thread,
[
https://issues.apache.org/jira/browse/THRIFT-1768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13509770#comment-13509770
]
Kenjiro Fukumitsu commented on THRIFT-1768:
---
I think at the entrance of union's
26 matches
Mail list logo