Class ServicePoolHelper
- java.lang.Object
-
- jadex.bridge.service.types.servicepool.ServicePoolHelper
-
public class ServicePoolHelper extends java.lang.Object
Helper methods for advanced service pool management.
-
-
Constructor Summary
Constructors Constructor Description ServicePoolHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IFuture<java.lang.Integer>
getFreeCapacity(IInternalAccess ia, IService service)
Test if a service is pooled.static IFuture<java.lang.Integer>
getMaxCapacity(IInternalAccess ia, IService service)
Test if a service is pooled.static IFuture<java.lang.Boolean>
isPooledService(IInternalAccess ia, IService service)
Test if a service is pooled.
-
-
-
Method Detail
-
getFreeCapacity
public static IFuture<java.lang.Integer> getFreeCapacity(IInternalAccess ia, IService service)
Test if a service is pooled.- Parameters:
service
- The service.- Returns:
- True, if it is a pooled service.
-
getMaxCapacity
public static IFuture<java.lang.Integer> getMaxCapacity(IInternalAccess ia, IService service)
Test if a service is pooled.- Parameters:
service
- The service.- Returns:
- True, if it is a pooled service.
-
isPooledService
public static IFuture<java.lang.Boolean> isPooledService(IInternalAccess ia, IService service)
Test if a service is pooled.- Parameters:
service
- The service.- Returns:
- True, if it is a pooled service.
-
-