f used CPUs and decrements when it
> finishes execution. Load balancer can make decisions based on data in the
> cache.
>
> Will this work?
>
> -Val
>
>
>
> --
> View this message in context:
> http://apache-ignite-users.70518.x6.nabble.com/Active-jobs-from-LoadB
:
http://apache-ignite-users.70518.x6.nabble.com/Active-jobs-from-LoadBalancingSpi-tp3157p3175.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>
> You said "nodes", not "jobs" :)
>
>
Oops sorry, it was late :)
> You can use ClusterNode.metrics() to get additional information like number
> of currently executed jobs. Will this work for you?
>
> I also recommend to take a look at existing implementations, like
> AdaptiveLoadBalancingSpi.
se cases there is no need to
implement your own SPIs.
-Val
--
View this message in context:
http://apache-ignite-users.70518.x6.nabble.com/Active-jobs-from-LoadBalancingSpi-tp3157p3163.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.
List top*, ComputeJob job) throws IgniteException;
>
> Is it what you're looking for?
>
> -Val
>
>
>
> --
> View this message in context:
> http://apache-ignite-users.70518.x6.nabble.com/Active-jobs-from-LoadBalancingSpi-tp3157p3160.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>
pache-ignite-users.70518.x6.nabble.com/Active-jobs-from-LoadBalancingSpi-tp3157p3160.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.
Hi,
Is there any way to access to collection of active nodes from
a LoadBalancingSpi?
Thanks,
Paolo