Re: Question about excluding serialized classes

2019-09-17 Thread Aaron Lindsey
Hi Jake, I think this thread has moved a bit off-topic, but I appreciate you pointing out that scenario. We'll have to consider that when re-working this PR. - Aaron On Tue, Sep 17, 2019 at 9:42 AM Jacob Barrett wrote: > > > On Sep 17, 2019, at 9:36 AM, Aaron Lindsey wrote: > > > >> > >> Not

Re: Question about excluding serialized classes

2019-09-17 Thread Jacob Barrett
> On Sep 17, 2019, at 9:36 AM, Aaron Lindsey wrote: > >> >> Not all functions are registered. I can invoke a function with >> Execution.execute(Function) from the client, the Function is serialized and >> executed on the server, the class need only exist on the server for >> deserialization. M

Re: Question about excluding serialized classes

2019-09-17 Thread Aaron Lindsey
> > Not all functions are registered. I can invoke a function with > Execution.execute(Function) from the client, the Function is serialized and > executed on the server, the class need only exist on the server for > deserialization. Must a function be registered now to get metrics? > For this met

Re: Question about excluding serialized classes

2019-09-17 Thread Dale Emery
> On Sep 16, 2019, at 7:54 PM, Jacob Barrett wrote: > > The current implementation has statistics without decoration. For our meters, we want to make a distinction that the current stats implementation does not: We want to measure only non-internal functions. It isn’t clear (yet) how we can i

Re: Question about excluding serialized classes

2019-09-17 Thread Jacob Barrett
Not all functions are registered. I can invoke a function with Execution.execute(Function) from the client, the Function is serialized and executed on the server, the class need only exist on the server for deserialization. Must a function be registered now to get metrics? > On Sep 17, 2019, at

Re: Question about excluding serialized classes

2019-09-17 Thread Aaron Lindsey
Jake — We're not constructing a new object each time a function is invoked because the "decorated" functions are only created when a function is registered, but we'll keep your concern in mind. Thanks for all of the feedback from everyone. I think we have the information we need to move forward. I

Re: [DISCUSS] Improvements on client function execution API

2019-09-17 Thread Alberto Gomez
Thanks Anil. This is how this started, trying to pop the timeout up from a system property to a parameter in the Execution methods. -Alberto G. On 16/9/19 21:37, Anilkumar Gingade wrote: > Alberto, > > Sorry for late responseCurrently geode (java client) does provide > ability to set functio