[
https://issues.apache.org/jira/browse/IGNITE-11509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dmitriy Govorukhin updated IGNITE-11509:
----------------------------------------
Description:
The new methods on the IgniteCluster for manage baseline auto-adjust options.
{code}
/**
* @return Value of manual baseline control or auto adjusting baseline.
{@code True} If cluster in auto-adjust.
* {@code False} If cluster in manuale.
*/
public boolean isBaselineAutoAdjustEnabled();
/**
* @param baselineAutoAdjustEnabled Value of manual baseline control or
auto adjusting baseline. {@code True} If
* cluster in auto-adjust. {@code False} If cluster in manuale.
* @throws IgniteException If operation failed.
*/
public void baselineAutoAdjustEnabled(boolean baselineAutoAdjustEnabled)
throws IgniteException;
/**
* @param baselineAutoAdjustEnabled Value of manual baseline control or
auto adjusting baseline. {@code True} If
* cluster in auto-adjust. {@code False} If cluster in manuale.
* @return Future for await operation completion.
*/
public IgniteFuture<?> baselineAutoAdjustEnabledAsync(boolean
baselineAutoAdjustEnabled);
/**
* @return Value of time which we would wait before the actual topology
change since last server topology change
* (node join/left/fail).
* @throws IgniteException If operation failed.
*/
public long baselineAutoAdjustTimeout();
/**
* @param baselineAutoAdjustTimeout Value of time which we would wait
before the actual topology change since last
* server topology change (node join/left/fail).
* @throws IgniteException If failed.
*/
public void baselineAutoAdjustTimeout(long baselineAutoAdjustTimeout)
throws IgniteException;
/**
* @param baselineAutoAdjustTimeout Value of time which we would wait
before the actual topology change since last
* server topology change (node join/left/fail).
* @return Future for await operation completion.
*/
public IgniteFuture<?> baselineAutoAdjustTimeoutAsync(long
baselineAutoAdjustTimeout);
{code}
> Remove DistributedBaselineConfiguration and replace to methods on
> IgniteCluster
> -------------------------------------------------------------------------------
>
> Key: IGNITE-11509
> URL: https://issues.apache.org/jira/browse/IGNITE-11509
> Project: Ignite
> Issue Type: Bug
> Reporter: Dmitriy Govorukhin
> Assignee: Dmitriy Govorukhin
> Priority: Major
> Fix For: 2.8
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> The new methods on the IgniteCluster for manage baseline auto-adjust options.
> {code}
> /**
> * @return Value of manual baseline control or auto adjusting baseline.
> {@code True} If cluster in auto-adjust.
> * {@code False} If cluster in manuale.
> */
> public boolean isBaselineAutoAdjustEnabled();
> /**
> * @param baselineAutoAdjustEnabled Value of manual baseline control or
> auto adjusting baseline. {@code True} If
> * cluster in auto-adjust. {@code False} If cluster in manuale.
> * @throws IgniteException If operation failed.
> */
> public void baselineAutoAdjustEnabled(boolean baselineAutoAdjustEnabled)
> throws IgniteException;
> /**
> * @param baselineAutoAdjustEnabled Value of manual baseline control or
> auto adjusting baseline. {@code True} If
> * cluster in auto-adjust. {@code False} If cluster in manuale.
> * @return Future for await operation completion.
> */
> public IgniteFuture<?> baselineAutoAdjustEnabledAsync(boolean
> baselineAutoAdjustEnabled);
> /**
> * @return Value of time which we would wait before the actual topology
> change since last server topology change
> * (node join/left/fail).
> * @throws IgniteException If operation failed.
> */
> public long baselineAutoAdjustTimeout();
> /**
> * @param baselineAutoAdjustTimeout Value of time which we would wait
> before the actual topology change since last
> * server topology change (node join/left/fail).
> * @throws IgniteException If failed.
> */
> public void baselineAutoAdjustTimeout(long baselineAutoAdjustTimeout)
> throws IgniteException;
> /**
> * @param baselineAutoAdjustTimeout Value of time which we would wait
> before the actual topology change since last
> * server topology change (node join/left/fail).
> * @return Future for await operation completion.
> */
> public IgniteFuture<?> baselineAutoAdjustTimeoutAsync(long
> baselineAutoAdjustTimeout);
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)