Interface IServicePoolService
-
- All Known Implementing Classes:
ServicePoolAgent
public interface IServicePoolService
Service pool service that allows for adding and removing service types and handling strategies to the pool.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IFuture<java.lang.Void>
addServiceType(java.lang.Class<?> servicetype, IPoolStrategy strategy, java.lang.String componentmodel)
Add a new service type and a strategy.IFuture<java.lang.Void>
addServiceType(java.lang.Class<?> servicetype, IPoolStrategy strategy, java.lang.String componentmodel, CreationInfo info, PublishInfo pi, ServiceScope scope)
Add a new service type and a strategy.IFuture<java.lang.Void>
addServiceType(java.lang.Class<?> servicetype, java.lang.String componentmodel)
Add a new service type.IFuture<java.lang.Void>
addServiceType(java.lang.Class<?> servicetype, java.lang.String componentmodel, CreationInfo info)
Add a new service type and a strategy.IFuture<java.lang.Void>
removeServiceType(java.lang.Class<?> servicetype)
Remove a service type.
-
-
-
Method Detail
-
addServiceType
IFuture<java.lang.Void> addServiceType(java.lang.Class<?> servicetype, java.lang.String componentmodel)
Add a new service type.- Parameters:
servicetype
- The service type.componentmodel
- The component model.
-
addServiceType
IFuture<java.lang.Void> addServiceType(java.lang.Class<?> servicetype, java.lang.String componentmodel, CreationInfo info)
Add a new service type and a strategy.- Parameters:
servicetype
- The service type.componentmodel
- The component model.info
- The creation info.
-
addServiceType
IFuture<java.lang.Void> addServiceType(java.lang.Class<?> servicetype, IPoolStrategy strategy, java.lang.String componentmodel)
Add a new service type and a strategy.- Parameters:
servicetype
- The service type.strategy
- The service pool strategy.componentmodel
- The component model.
-
addServiceType
IFuture<java.lang.Void> addServiceType(java.lang.Class<?> servicetype, IPoolStrategy strategy, java.lang.String componentmodel, CreationInfo info, PublishInfo pi, ServiceScope scope)
Add a new service type and a strategy.- Parameters:
servicetype
- The service type.strategy
- The service pool strategy.componentmodel
- The component model.info
- The worker creation info.pi
- The worker publish info.scope
- The service publication scope.
-
removeServiceType
IFuture<java.lang.Void> removeServiceType(java.lang.Class<?> servicetype)
Remove a service type.- Parameters:
servicetype
- The service type.
-
-