|
| void | DeployClusterSingleton (string name, IService service) |
| | Deploys a cluster-wide singleton service. Grid guarantees that there is always one instance of the service in the cluster. In case if grid node on which the service was deployed crashes or stops, grid will automatically redeploy it on another node. However, if the node on which the service is deployed remains in topology, then the service will always be deployed on that node only, regardless of topology changes. More...
|
| |
| void | DeployNodeSingleton (string name, IService service) |
| | Deploys a per-node singleton service. Grid guarantees that there is always one instance of the service running on each node. Whenever new nodes are started within the underlying cluster group, grid will automatically deploy one instance of the service on every new node. More...
|
| |
| void | DeployKeyAffinitySingleton< K > (string name, IService service, string cacheName, K affinityKey) |
| | Deploys one instance of this service on the primary node for a given affinity key. Whenever topology changes and primary node assignment changes, Ignite will always make sure that the service is undeployed on the previous primary node and deployed on the new primary node. More...
|
| |
| void | DeployMultiple (string name, IService service, int totalCount, int maxPerNodeCount) |
| | Deploys multiple instances of the service on the grid. Grid will deploy a maximum amount of services equal to totalCount parameter making sure that there are no more than maxPerNodeCount service instances running on each node. Whenever topology changes, grid will automatically rebalance the deployed services within cluster to make sure that each node will end up with about equal number of deployed instances whenever possible. More...
|
| |
| void | Deploy (ServiceConfiguration configuration) |
| | Deploys instances of the service on the grid according to provided configuration. More...
|
| |
| void | Cancel (string name) |
| | Cancels service deployment. If a service with specified name was deployed on the grid, then IService.Cancel method will be called on it. Note that grid cannot guarantee that the service exits from IService.Execute method whenever IService.Cancel is called. It is up to the user to make sure that the service code properly reacts to cancellations. More...
|
| |
| void | CancelAll () |
| | Cancels all deployed services. Note that depending on user logic, it may still take extra time for a service to finish execution, even after it was cancelled. More...
|
| |
| ICollection< IServiceDescriptor > | GetServiceDescriptors () |
| | Gets metadata about all deployed services. More...
|
| |
| T | GetService< T > (string name) |
| | Gets deployed service with specified name. More...
|
| |
| ICollection< T > | GetServices< T > (string name) |
| | Gets all deployed services with specified name. More...
|
| |
| T | GetServiceProxy< T > (string name) |
| | Gets a remote handle on the service. If service is available locally, then local instance is returned, otherwise, a remote proxy is dynamically created and provided for the specified service. More...
|
| |
| T | GetServiceProxy< T > (string name, bool sticky) |
| | Gets a remote handle on the service. If service is available locally, then local instance is returned, otherwise, a remote proxy is dynamically created and provided for the specified service. More...
|
| |
| IServices | WithKeepPortable () |
| | Returns an instance with portable mode enabled. Service method results will be kept in portable form. More...
|
| |
| IServices | WithServerKeepPortable () |
| | Returns an instance with server-side portable mode enabled. Service method arguments will be kept in portable form. More...
|
| |
| TWithAsync | WithAsync () |
| | Gets component with asynchronous mode enabled. More...
|
| |
| IFuture | GetFuture () |
| | Gets and resets future for previous asynchronous operation. More...
|
| |
| IFuture< TResult > | GetFuture< TResult > () |
| | Gets and resets future for previous asynchronous operation. More...
|
| |