use of org.apache.ignite.internal.managers.discovery.IgniteDiscoverySpi in project ignite by apache.
the class DiscoverySpiDataExchangeTest method optimize.
/**
* {@inheritDoc}
*/
@Override
protected IgniteConfiguration optimize(IgniteConfiguration cfg) throws IgniteCheckedException {
IgniteConfiguration cfg0 = super.optimize(cfg);
cfg0.setDiscoverySpi(new DelegatedDiscoverySpi((IgniteDiscoverySpi) cfg.getDiscoverySpi()));
return cfg0;
}
Aggregations