public class ServiceChangeBatchRequest extends Object implements DiscoveryCustomMessage
| Constructor and Description |
|---|
ServiceChangeBatchRequest(Collection<org.apache.ignite.internal.processors.service.ServiceChangeAbstractRequest> reqs) |
| Modifier and Type | Method and Description |
|---|---|
@Nullable DiscoveryCustomMessage |
ackMessage()
Called when custom message has been handled by all nodes.
|
DiscoCache |
createDiscoCache(GridDiscoveryManager mgr,
AffinityTopologyVersion topVer,
DiscoCache discoCache)
Creates new discovery cache if message caused topology version change.
|
IgniteUuid |
id() |
boolean |
isMutable() |
Collection<org.apache.ignite.internal.processors.service.ServiceChangeAbstractRequest> |
requests() |
@Nullable ServiceDeploymentActions |
servicesDeploymentActions() |
void |
servicesDeploymentActions(ServiceDeploymentActions serviceDeploymentActions) |
String |
toString() |
public ServiceChangeBatchRequest(Collection<org.apache.ignite.internal.processors.service.ServiceChangeAbstractRequest> reqs)
reqs - Change requests.public Collection<org.apache.ignite.internal.processors.service.ServiceChangeAbstractRequest> requests()
@Nullable public @Nullable ServiceDeploymentActions servicesDeploymentActions()
public void servicesDeploymentActions(ServiceDeploymentActions serviceDeploymentActions)
serviceDeploymentActions - Services deployment actions to be processed on services deployment process.public IgniteUuid id()
id in interface DiscoveryCustomMessage@Nullable public @Nullable DiscoveryCustomMessage ackMessage()
ackMessage in interface DiscoveryCustomMessagenull if ack is not required.public boolean isMutable()
isMutable in interface DiscoveryCustomMessageTrue if message can be modified during listener notification. Changes will be sent to next nodes.public DiscoCache createDiscoCache(GridDiscoveryManager mgr, AffinityTopologyVersion topVer, DiscoCache discoCache)
createDiscoCache in interface DiscoveryCustomMessagemgr - Discovery manager.topVer - New topology version.discoCache - Current discovery cache.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.1 Release Date : December 20 2021