|
void | DeployClusterSingleton (string name, IService service) |
| Deploys a cluster-wide singleton service. Ignite guarantees that there is always one instance of the service in the cluster. In case if Ignite node on which the service was deployed crashes or stops, Ignite 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...
|
|
Task | DeployClusterSingletonAsync (string name, IService service) |
| Deploys a cluster-wide singleton service. Ignite guarantees that there is always one instance of the service in the cluster. In case if Ignite node on which the service was deployed crashes or stops, Ignite 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. Ignite guarantees that there is always one instance of the service running on each node. Whenever new nodes are started within the underlying cluster group, Ignite will automatically deploy one instance of the service on every new node. More...
|
|
Task | DeployNodeSingletonAsync (string name, IService service) |
| Deploys a per-node singleton service. Ignite guarantees that there is always one instance of the service running on each node. Whenever new nodes are started within the underlying cluster group, Ignite will automatically deploy one instance of the service on every new node. More...
|
|
void | DeployKeyAffinitySingleton< TK > (string name, IService service, string cacheName, TK 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...
|
|
Task | DeployKeyAffinitySingletonAsync< TK > (string name, IService service, string cacheName, TK 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. Ignite 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, Ignite 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...
|
|
Task | DeployMultipleAsync (string name, IService service, int totalCount, int maxPerNodeCount) |
| Deploys multiple instances of the service on the grid. Ignite 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, Ignite 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 in the Ignite according to provided configuration. More...
|
|
Task | DeployAsync (ServiceConfiguration configuration) |
| Deploys instances of the service in the Ignite 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 Ignite 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...
|
|
Task | CancelAsync (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 Ignite 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...
|
|
Task | CancelAllAsync () |
| 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 | WithKeepBinary () |
| Returns an instance with binary mode enabled. Service method results will be kept in binary form. More...
|
|
IServices | WithServerKeepBinary () |
| Returns an instance with server-side binary mode enabled. Service method arguments will be kept in binary form. More...
|
|