1 Reply Latest reply on Dec 13, 2011 12:37 PM by Galder Zamarreño

    Getting real Join Time on a node

    Renzo De Renzi Newbie

      Hi guys,

      I'm running a cluster with 4 physical nodes, and I need to get some stats on node join time. So far I tried to get that (with milliseconds precision) in this way:

       

      long startTime=new Date().getTime();

      Cache<Object, Object> cache = manager.getCache("benchCache");

      long endTime=new Date().getTime();

      long result=endTime-startTime;

       

      And now I was wondering if there's a way to get the join time with more precision, inside infinispan, maybe with an Interceptor.

      Any help is appreciated a lot

      Thanks.