Metrics follow-up thoughts

Brent Putman putmanb at georgetown.edu
Fri Sep 16 19:49:44 EDT 2016



On 9/16/16 6:48 PM, Cantor, Scott wrote:
>> Well, there's Method in the reflection API.  Don't know if that's what you mean.
> Yes, what I was wondering was whether it's possible to independently create a Gauge if you had a way to represent the callback method as an object.

I think I lost the bubble on why you were asking... But you could
certainly have a Gauge impl which was constructed with a Method
instance.  But the Method has to be invoked on a object (e.g. the queue
in their example).... and if you had the queue instance (somehow, maybe
from a ThreadLocal), you could just call a method on it directly in the
normal fashion, so not sure of the use case.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/dev/attachments/20160916/d3a989d2/attachment.html>


More information about the dev mailing list