Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,12 @@
* any need for explicit deployment.
* </li>
* </ol>
*
* @deprecated Will be replaced with the
* <a href="https://cwiki.apache.org/confluence/display/IGNITE/IEP-144+IgniteClassPath">IgniteClassPath</a> in the next versions.
*/
@Deprecated(forRemoval = true)
public enum DeploymentMode {

Check warning on line 77 in modules/core/src/main/java/org/apache/ignite/configuration/DeploymentMode.java

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Do not forget to remove this deprecated code someday.

See more on https://sonarcloud.io/project/issues?id=apache_ignite&issues=AZzYgB-gtu-cQYVet6U1&open=AZzYgB-gtu-cQYVet6U1&pullRequest=12874
/**
* In this mode deployed classes do not share resources. Basically, resources are created
* once per deployed task class and then get reused for all executions.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
public static final long DFLT_DISCOVERY_STARTUP_DELAY = 60000;

/** Default deployment mode (value is {@link DeploymentMode#SHARED}). */
public static final DeploymentMode DFLT_DEPLOYMENT_MODE = DeploymentMode.SHARED;

Check warning on line 146 in modules/core/src/main/java/org/apache/ignite/configuration/IgniteConfiguration.java

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Remove this call to a deprecated class, it has been marked for removal.

See more on https://sonarcloud.io/project/issues?id=apache_ignite&issues=AZzYgB1htu-cQYVet6Uq&open=AZzYgB1htu-cQYVet6Uq&pullRequest=12874

Check warning on line 146 in modules/core/src/main/java/org/apache/ignite/configuration/IgniteConfiguration.java

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Remove this call to a deprecated class, it has been marked for removal.

See more on https://sonarcloud.io/project/issues?id=apache_ignite&issues=AZzYgB1htu-cQYVet6Ur&open=AZzYgB1htu-cQYVet6Ur&pullRequest=12874

Check warning on line 146 in modules/core/src/main/java/org/apache/ignite/configuration/IgniteConfiguration.java

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Remove this call to a deprecated class, it has been marked for removal.

See more on https://sonarcloud.io/project/issues?id=apache_ignite&issues=AZzYgB1htu-cQYVet6Us&open=AZzYgB1htu-cQYVet6Us&pullRequest=12874

/** Default cache size for missed resources. */
public static final int DFLT_P2P_MISSED_RESOURCES_CACHE_SIZE = 100;
Expand Down Expand Up @@ -398,7 +398,7 @@
private CollisionSpi colSpi;

/** Deployment SPI. */
private DeploymentSpi deploySpi;

Check warning on line 401 in modules/core/src/main/java/org/apache/ignite/configuration/IgniteConfiguration.java

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Remove this call to a deprecated class, it has been marked for removal.

See more on https://sonarcloud.io/project/issues?id=apache_ignite&issues=AZzYgB1htu-cQYVet6Ut&open=AZzYgB1htu-cQYVet6Ut&pullRequest=12874

/** Checkpoint SPI. */
private CheckpointSpi[] cpSpi;
Expand Down Expand Up @@ -463,7 +463,7 @@
private long discoStartupDelay = DFLT_DISCOVERY_STARTUP_DELAY;

/** Tasks classes sharing mode. */
private DeploymentMode deployMode = DFLT_DEPLOYMENT_MODE;

Check warning on line 466 in modules/core/src/main/java/org/apache/ignite/configuration/IgniteConfiguration.java

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Remove this call to a deprecated class, it has been marked for removal.

See more on https://sonarcloud.io/project/issues?id=apache_ignite&issues=AZzYgB1htu-cQYVet6Uu&open=AZzYgB1htu-cQYVet6Uu&pullRequest=12874

/** Cache size of missed resources. */
private int p2pMissedCacheSize = DFLT_P2P_MISSED_RESOURCES_CACHE_SIZE;
Expand Down Expand Up @@ -615,7 +615,7 @@
// SPIs.
discoSpi = cfg.getDiscoverySpi();
commSpi = cfg.getCommunicationSpi();
deploySpi = cfg.getDeploymentSpi();

Check warning on line 618 in modules/core/src/main/java/org/apache/ignite/configuration/IgniteConfiguration.java

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Remove this call to a deprecated method, it has been marked for removal.

See more on https://sonarcloud.io/project/issues?id=apache_ignite&issues=AZzYgB1htu-cQYVet6Uv&open=AZzYgB1htu-cQYVet6Uv&pullRequest=12874
evtSpi = cfg.getEventStorageSpi();
cpSpi = cfg.getCheckpointSpi();
colSpi = cfg.getCollisionSpi();
Expand Down Expand Up @@ -654,7 +654,7 @@
connectorCfg = cfg.getConnectorConfiguration();
consistentId = cfg.getConsistentId();
dataStreamerPoolSize = cfg.getDataStreamerThreadPoolSize();
deployMode = cfg.getDeploymentMode();

Check warning on line 657 in modules/core/src/main/java/org/apache/ignite/configuration/IgniteConfiguration.java

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Remove this call to a deprecated method, it has been marked for removal.

See more on https://sonarcloud.io/project/issues?id=apache_ignite&issues=AZzYgB1htu-cQYVet6Uw&open=AZzYgB1htu-cQYVet6Uw&pullRequest=12874
discoStartupDelay = cfg.getDiscoveryStartupDelay();
execCfgs = cfg.getExecutorConfiguration();
failureDetectionTimeout = cfg.getFailureDetectionTimeout();
Expand Down Expand Up @@ -2130,8 +2130,11 @@
* {@link LocalDeploymentSpi} will be used.
*
* @return Grid deployment SPI implementation or {@code null} to use default implementation.
* @deprecated Will be replaced with the
* <a href="https://cwiki.apache.org/confluence/display/IGNITE/IEP-144+IgniteClassPath">IgniteClassPath</a> in the next versions.
*/
@Deprecated(forRemoval = true)
public DeploymentSpi getDeploymentSpi() {

Check warning on line 2137 in modules/core/src/main/java/org/apache/ignite/configuration/IgniteConfiguration.java

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Do not forget to remove this deprecated code someday.

See more on https://sonarcloud.io/project/issues?id=apache_ignite&issues=AZzYgB1htu-cQYVet6Ux&open=AZzYgB1htu-cQYVet6Ux&pullRequest=12874
return deploySpi;
}

Expand All @@ -2141,8 +2144,11 @@
* @param deploySpi Fully configured instance of {@link DeploymentSpi}.
* @see IgniteConfiguration#getDeploymentSpi()
* @return {@code this} for chaining.
* @deprecated Will be replaced with the
* <a href="https://cwiki.apache.org/confluence/display/IGNITE/IEP-144+IgniteClassPath">IgniteClassPath</a> in the next versions.
*/
@Deprecated(forRemoval = true)
public IgniteConfiguration setDeploymentSpi(DeploymentSpi deploySpi) {

Check warning on line 2151 in modules/core/src/main/java/org/apache/ignite/configuration/IgniteConfiguration.java

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Do not forget to remove this deprecated code someday.

See more on https://sonarcloud.io/project/issues?id=apache_ignite&issues=AZzYgB1htu-cQYVet6Uy&open=AZzYgB1htu-cQYVet6Uy&pullRequest=12874
this.deploySpi = deploySpi;

return this;
Expand Down Expand Up @@ -2474,8 +2480,11 @@
*
* @param deployMode Task classes and resources sharing mode.
* @return {@code this} for chaining.
* @deprecated Will be replaced with the
* <a href="https://cwiki.apache.org/confluence/display/IGNITE/IEP-144+IgniteClassPath">IgniteClassPath</a> in the next versions.
*/
@Deprecated(forRemoval = true)
public IgniteConfiguration setDeploymentMode(DeploymentMode deployMode) {

Check warning on line 2487 in modules/core/src/main/java/org/apache/ignite/configuration/IgniteConfiguration.java

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Do not forget to remove this deprecated code someday.

See more on https://sonarcloud.io/project/issues?id=apache_ignite&issues=AZzYgB1htu-cQYVet6Uz&open=AZzYgB1htu-cQYVet6Uz&pullRequest=12874
this.deployMode = deployMode;

return this;
Expand All @@ -2486,8 +2495,11 @@
* Refer to {@link DeploymentMode} documentation for more information.
*
* @return Deployment mode.
* @deprecated Will be replaced with the
* <a href="https://cwiki.apache.org/confluence/display/IGNITE/IEP-144+IgniteClassPath">IgniteClassPath</a> in the next versions.
*/
@Deprecated(forRemoval = true)
public DeploymentMode getDeploymentMode() {

Check warning on line 2502 in modules/core/src/main/java/org/apache/ignite/configuration/IgniteConfiguration.java

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Do not forget to remove this deprecated code someday.

See more on https://sonarcloud.io/project/issues?id=apache_ignite&issues=AZzYgB1htu-cQYVet6U0&open=AZzYgB1htu-cQYVet6U0&pullRequest=12874
return deployMode;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,12 @@
/**
* Listener for deployment events. It is used by grid implementation
* to properly create or release resources associated with any deployment.
*
* @deprecated Will be replaced with the
* <a href="https://cwiki.apache.org/confluence/display/IGNITE/IEP-144+IgniteClassPath">IgniteClassPath</a> in the next versions.
*/
@Deprecated(forRemoval = true)
public interface DeploymentListener extends EventListener {

Check warning on line 30 in modules/core/src/main/java/org/apache/ignite/spi/deployment/DeploymentListener.java

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Do not forget to remove this deprecated code someday.

See more on https://sonarcloud.io/project/issues?id=apache_ignite&issues=AZzYgCBttu-cQYVet6U5&open=AZzYgCBttu-cQYVet6U5&pullRequest=12874
/**
* Called when a deployment has been unregistered..
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,12 @@

/**
* Generic abstraction over deployed resource containing resource's name, class and corresponding class loader.
*
* @deprecated Will be replaced with the
* <a href="https://cwiki.apache.org/confluence/display/IGNITE/IEP-144+IgniteClassPath">IgniteClassPath</a> in the next versions.
*/
@Deprecated(forRemoval = true)
public interface DeploymentResource {

Check warning on line 27 in modules/core/src/main/java/org/apache/ignite/spi/deployment/DeploymentResource.java

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Do not forget to remove this deprecated code someday.

See more on https://sonarcloud.io/project/issues?id=apache_ignite&issues=AZzYgCDZtu-cQYVet6U7&open=AZzYgCDZtu-cQYVet6U7&pullRequest=12874
/**
* Gets resource name, either class name or alias name, such as alias
* specified by {@link org.apache.ignite.compute.ComputeTaskName} annotation.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,12 @@

/**
* Simple adapter for {@link DeploymentResource} interface.
*
* @deprecated Will be replaced with the
* <a href="https://cwiki.apache.org/confluence/display/IGNITE/IEP-144+IgniteClassPath">IgniteClassPath</a> in the next versions.
*/
@Deprecated(forRemoval = true)
public class DeploymentResourceAdapter implements DeploymentResource {

Check warning on line 29 in modules/core/src/main/java/org/apache/ignite/spi/deployment/DeploymentResourceAdapter.java

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Do not forget to remove this deprecated code someday.

See more on https://sonarcloud.io/project/issues?id=apache_ignite&issues=AZzYgCDGtu-cQYVet6U6&open=AZzYgCDGtu-cQYVet6U6&pullRequest=12874
/** */
private final String name;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,12 @@
* via {@link org.apache.ignite.Ignite#configuration()} method to check its configuration properties or call other non-SPI
* methods. Note again that calling methods from this interface on the obtained instance can lead
* to undefined behavior and explicitly not supported.
*
* @deprecated Will be replaced with the
* <a href="https://cwiki.apache.org/confluence/display/IGNITE/IEP-144+IgniteClassPath">IgniteClassPath</a> in the next versions.
*/
@Deprecated(forRemoval = true)
public interface DeploymentSpi extends IgniteSpi {

Check warning on line 65 in modules/core/src/main/java/org/apache/ignite/spi/deployment/DeploymentSpi.java

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Do not forget to remove this deprecated code someday.

See more on https://sonarcloud.io/project/issues?id=apache_ignite&issues=AZzYgCBctu-cQYVet6U4&open=AZzYgCBctu-cQYVet6U4&pullRequest=12874
/**
* Finds class loader for the given class.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,13 @@
* with {@link org.apache.ignite.configuration.IgniteConfiguration} as it is used by default and has no
* configuration parameters.
* @see org.apache.ignite.spi.deployment.DeploymentSpi
* @deprecated Will be replaced with the
* <a href="https://cwiki.apache.org/confluence/display/IGNITE/IEP-144+IgniteClassPath">IgniteClassPath</a> in the next versions.
*/
@IgniteSpiMultipleInstancesSupport(true)
@IgnoreIfPeerClassLoadingDisabled
@Deprecated(forRemoval = true)
public class LocalDeploymentSpi extends IgniteSpiAdapter implements DeploymentSpi {

Check warning on line 71 in modules/core/src/main/java/org/apache/ignite/spi/deployment/local/LocalDeploymentSpi.java

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Do not forget to remove this deprecated code someday.

See more on https://sonarcloud.io/project/issues?id=apache_ignite&issues=AZzYgB-8tu-cQYVet6U2&open=AZzYgB-8tu-cQYVet6U2&pullRequest=12874
/** Enables additional check for resource name on resources removal. */
@SystemProperty(value = "Enables an additional check of a resource name on resources removal")
public static final String IGNITE_DEPLOYMENT_ADDITIONAL_CHECK = "IGNITE.DEPLOYMENT.ADDITIONAL.CHECK";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,12 @@

/**
* Management MBean for {@link LocalDeploymentSpi} SPI.
*
* @deprecated Will be replaced with the
* <a href="https://cwiki.apache.org/confluence/display/IGNITE/IEP-144+IgniteClassPath">IgniteClassPath</a> in the next versions.
*/
@MXBeanDescription("MBean that provides access to local deployment SPI configuration.")
@Deprecated(forRemoval = true)
public interface LocalDeploymentSpiMBean extends IgniteSpiManagementMBean {

Check warning on line 31 in modules/core/src/main/java/org/apache/ignite/spi/deployment/local/LocalDeploymentSpiMBean.java

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Do not forget to remove this deprecated code someday.

See more on https://sonarcloud.io/project/issues?id=apache_ignite&issues=AZzYgCBItu-cQYVet6U3&open=AZzYgCBItu-cQYVet6U3&pullRequest=12874
// No-op.
}
Original file line number Diff line number Diff line change
Expand Up @@ -306,11 +306,14 @@
* <br>
* For information about Spring framework visit <a href="http://www.springframework.org/">www.springframework.org</a>
* @see org.apache.ignite.spi.deployment.DeploymentSpi
* @deprecated Will be replaced with the
* <a href="https://cwiki.apache.org/confluence/display/IGNITE/IEP-144+IgniteClassPath">IgniteClassPath</a> in the next versions.
*/
@IgniteSpiMultipleInstancesSupport(true)
@IgniteSpiConsistencyChecked(optional = false)
@Deprecated(forRemoval = true)
@SuppressWarnings({"FieldAccessedSynchronizedAndUnsynchronized"})
public class UriDeploymentSpi extends IgniteSpiAdapter implements DeploymentSpi {

Check warning on line 316 in modules/urideploy/src/main/java/org/apache/ignite/spi/deployment/uri/UriDeploymentSpi.java

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Do not forget to remove this deprecated code someday.

See more on https://sonarcloud.io/project/issues?id=apache_ignite&issues=AZzYgCEOtu-cQYVet6U8&open=AZzYgCEOtu-cQYVet6U8&pullRequest=12874
/**
* Default deployment directory where SPI will pick up packages. Note that this path is relative to
* {@code IGNITE_HOME/work} folder if {@code IGNITE_HOME} system or environment variable specified,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,13 @@

/**
* Management bean for {@link UriDeploymentSpi}.
*
* @deprecated Will be replaced with the
* <a href="https://cwiki.apache.org/confluence/display/IGNITE/IEP-144+IgniteClassPath">IgniteClassPath</a> in the next versions.
*/
@Deprecated(forRemoval = true)
@MXBeanDescription("MBean that provides access to URI deployment SPI configuration.")
public interface UriDeploymentSpiMBean extends IgniteSpiManagementMBean {

Check warning on line 32 in modules/urideploy/src/main/java/org/apache/ignite/spi/deployment/uri/UriDeploymentSpiMBean.java

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Do not forget to remove this deprecated code someday.

See more on https://sonarcloud.io/project/issues?id=apache_ignite&issues=AZzYgCEitu-cQYVet6U9&open=AZzYgCEitu-cQYVet6U9&pullRequest=12874
/**
* Gets temporary directory path.
*
Expand Down
Loading