public class DistributedBaselineConfiguration extends Object
| Constructor and Description |
|---|
DistributedBaselineConfiguration(GridInternalSubscriptionProcessor isp,
GridKernalContext ctx,
IgniteLogger log) |
| Modifier and Type | Method and Description |
|---|---|
long |
getBaselineAutoAdjustTimeout() |
boolean |
isBaselineAutoAdjustEnabled() |
void |
listenAutoAdjustEnabled(DistributePropertyListener<? super Boolean> lsnr) |
void |
listenAutoAdjustTimeout(DistributePropertyListener<? super Long> lsnr) |
void |
onActivate()
Called when cluster performing activation.
|
GridFutureAdapter<?> |
updateBaselineAutoAdjustEnabledAsync(boolean baselineAutoAdjustEnabled) |
GridFutureAdapter<?> |
updateBaselineAutoAdjustTimeoutAsync(long baselineAutoAdjustTimeout) |
public DistributedBaselineConfiguration(GridInternalSubscriptionProcessor isp, GridKernalContext ctx, IgniteLogger log)
isp - Subscription processor.ctx - Kernal context.public void listenAutoAdjustEnabled(DistributePropertyListener<? super Boolean> lsnr)
public void listenAutoAdjustTimeout(DistributePropertyListener<? super Long> lsnr)
public void onActivate()
throws IgniteCheckedException
IgniteCheckedExceptionpublic boolean isBaselineAutoAdjustEnabled()
public GridFutureAdapter<?> updateBaselineAutoAdjustEnabledAsync(boolean baselineAutoAdjustEnabled) throws IgniteCheckedException
baselineAutoAdjustEnabled - Value of manual baseline control or auto adjusting baseline.IgniteCheckedException - if failed.public long getBaselineAutoAdjustTimeout()
public GridFutureAdapter<?> updateBaselineAutoAdjustTimeoutAsync(long baselineAutoAdjustTimeout) throws IgniteCheckedException
baselineAutoAdjustTimeout - Value of time which we would wait before the actual topology change since last
discovery event(node join/exit).IgniteCheckedException - If failed.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.0 Release Date : September 11 2021