From ba045e9385034723189b2a2c97686ffd0548ca99 Mon Sep 17 00:00:00 2001 From: Anton Vinogradov Date: Fri, 20 Feb 2026 19:54:46 +0300 Subject: [PATCH 1/9] WIP --- .../calcite/message/CalciteErrorMessage.java | 10 - .../calcite/message/GenericValueMessage.java | 14 -- .../calcite/message/InboxCloseMessage.java | 21 -- .../message/QueryBatchAcknowledgeMessage.java | 28 --- .../calcite/message/QueryBatchMessage.java | 49 ---- .../calcite/message/QueryCloseMessage.java | 7 - .../calcite/message/QueryStartRequest.java | 65 ------ .../ignite/internal/GridJobCancelRequest.java | 21 -- .../internal/GridJobExecuteRequest.java | 219 ------------------ .../internal/GridJobSiblingsRequest.java | 14 -- .../internal/GridTaskCancelRequest.java | 7 - .../internal/GridTaskSessionRequest.java | 28 --- .../internal/IgniteDiagnosticRequest.java | 15 -- .../checkpoint/GridCheckpointRequest.java | 21 -- .../managers/communication/GridIoMessage.java | 56 ----- .../GridIoSecurityAwareMessage.java | 7 - .../communication/IgniteIoTestMessage.java | 14 -- .../communication/SessionChannelMessage.java | 7 - .../deployment/GridDeploymentRequest.java | 35 --- .../GenerateEncryptionKeyRequest.java | 14 -- .../eventstorage/GridEventStorageMessage.java | 84 ------- .../UserAuthenticateRequestMessage.java | 21 -- .../UserAuthenticateResponseMessage.java | 14 -- ...serManagementOperationFinishedMessage.java | 14 -- .../cache/DynamicCacheChangeRequest.java | 21 -- .../cache/GridCacheGroupIdMessage.java | 7 - .../processors/cache/GridCacheIdMessage.java | 7 - .../processors/cache/GridCacheMessage.java | 8 - .../processors/cache/StateChangeRequest.java | 8 - .../processors/cache/WalStateAckMessage.java | 28 --- .../cache/WalStateProposeMessage.java | 7 - .../cache/binary/MetadataRequestMessage.java | 7 - .../cache/binary/MetadataResponseMessage.java | 7 - .../GridCacheTtlUpdateRequest.java | 52 ----- .../GridCacheTxRecoveryRequest.java | 42 ---- .../GridDistributedBaseMessage.java | 14 -- .../GridDistributedLockRequest.java | 105 --------- .../GridDistributedTxFinishRequest.java | 91 -------- .../GridDistributedTxPrepareRequest.java | 105 --------- .../distributed/GridNearUnlockRequest.java | 7 - .../dht/GridDhtAffinityAssignmentRequest.java | 28 --- .../distributed/dht/GridDhtLockRequest.java | 91 -------- .../dht/GridDhtTxFinishRequest.java | 21 -- .../GridDhtTxOnePhaseCommitAckRequest.java | 7 - .../dht/GridDhtTxPrepareRequest.java | 126 ---------- .../distributed/dht/GridDhtUnlockRequest.java | 7 - .../dht/PartitionUpdateCountersMessage.java | 7 - .../TransactionAttributesAwareRequest.java | 10 - ...omicApplicationAttributesAwareRequest.java | 10 - .../GridDhtAtomicAbstractUpdateRequest.java | 49 ---- .../GridDhtAtomicSingleUpdateRequest.java | 56 ----- .../atomic/GridDhtAtomicUpdateRequest.java | 217 ----------------- .../GridNearAtomicAbstractUpdateRequest.java | 47 ---- .../GridNearAtomicCheckUpdateRequest.java | 15 -- .../GridNearAtomicFullUpdateRequest.java | 105 --------- ...idNearAtomicSingleUpdateFilterRequest.java | 5 - ...idNearAtomicSingleUpdateInvokeRequest.java | 20 -- .../GridNearAtomicSingleUpdateRequest.java | 28 --- .../preloader/CacheGroupAffinityMessage.java | 35 --- .../preloader/GridDhtForceKeysRequest.java | 28 --- .../GridDhtPartitionDemandMessage.java | 28 --- .../GridDhtPartitionSupplyMessage.java | 63 ----- .../GridDhtPartitionsAbstractMessage.java | 21 -- .../GridDhtPartitionsFullMessage.java | 91 -------- .../GridDhtPartitionsSingleMessage.java | 84 ------- .../GridDhtPartitionsSingleRequest.java | 7 - .../dht/preloader/latch/LatchAckMessage.java | 21 -- .../distributed/near/GridNearGetRequest.java | 98 -------- .../distributed/near/GridNearLockRequest.java | 56 ----- .../near/GridNearSingleGetRequest.java | 59 ----- .../near/GridNearTxFinishRequest.java | 9 - .../near/GridNearTxPrepareRequest.java | 56 ----- .../snapshot/AbstractSnapshotMessage.java | 7 - .../IncrementalSnapshotAwareMessage.java | 28 --- .../snapshot/SnapshotFilesFailureMessage.java | 7 - .../snapshot/SnapshotFilesRequestMessage.java | 35 --- .../cache/query/GridCacheQueryRequest.java | 189 --------------- .../cache/transactions/TxLocksRequest.java | 21 -- .../cluster/CacheMetricsMessage.java | 105 --------- .../cluster/ChangeGlobalStateMessage.java | 7 - .../cluster/ClusterMetricsUpdateMessage.java | 14 -- .../ContinuousRoutineStartResultMessage.java | 21 -- .../MissingMappingRequestMessage.java | 10 - .../MissingMappingResponseMessage.java | 15 -- .../DistributedMetaStorageUpdateMessage.java | 10 - .../odbc/OdbcQueryExecuteBatchRequest.java | 7 - .../odbc/OdbcQueryGetTablesMetaRequest.java | 7 - .../ClientIgniteSetRequest.java | 9 - .../messages/GridQueryCancelRequest.java | 7 - .../messages/GridQueryNextPageRequest.java | 35 --- .../query/messages/GridQueryKillRequest.java | 21 -- .../message/SchemaFinishDiscoveryMessage.java | 7 - .../message/SchemaOperationStatusMessage.java | 28 --- .../GridClientAuthenticationRequest.java | 14 -- .../message/GridClientCacheRequest.java | 9 - .../GridClientClusterStateRequest.java | 23 -- .../message/GridClientStateRequest.java | 14 -- .../client/message/GridClientTaskRequest.java | 14 -- .../message/GridClientWarmUpRequest.java | 12 - .../handlers/task/GridTaskResultRequest.java | 16 -- .../protocols/tcp/redis/GridRedisMessage.java | 9 - .../request/GridRestChangeStateRequest.java | 7 - .../internal/util/UUIDCollectionMessage.java | 7 - .../jobstealing/JobStealingRequest.java | 7 - .../TcpInverseConnectionResponseMessage.java | 7 - .../tcp/messages/HandshakeMessage.java | 28 --- .../tcp/messages/HandshakeWaitMessage.java | 8 - .../tcp/messages/NodeIdMessage.java | 7 - .../messages/RecoveryLastReceivedMessage.java | 7 - .../tcp/messages/InetAddressMessage.java | 20 -- .../messages/InetSocketAddressMessage.java | 5 - .../messages/TcpDiscoveryAbstractMessage.java | 23 -- .../TcpDiscoveryAuthFailedMessage.java | 15 -- .../TcpDiscoveryCheckFailedMessage.java | 7 - ...cpDiscoveryClientMetricsUpdateMessage.java | 9 - .../TcpDiscoveryClientPingRequest.java | 7 - .../messages/TcpDiscoveryDiscardMessage.java | 14 -- .../TcpDiscoveryDuplicateIdMessage.java | 7 - .../TcpDiscoveryLoopbackProblemMessage.java | 14 -- .../TcpDiscoveryMetricsUpdateMessage.java | 19 -- .../TcpDiscoveryNodeAddFinishedMessage.java | 21 -- .../TcpDiscoveryNodeFailedMessage.java | 14 -- .../tcp/messages/TcpDiscoveryPingRequest.java | 7 - .../TcpDiscoveryRingLatencyCheckMessage.java | 15 -- .../TcpDiscoveryStatusCheckMessage.java | 27 --- .../h2/twostep/msg/GridH2DmlRequest.java | 9 - .../h2/twostep/msg/GridH2QueryRequest.java | 11 - 127 files changed, 3829 deletions(-) diff --git a/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/message/CalciteErrorMessage.java b/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/message/CalciteErrorMessage.java index f6dcbc252e9cd..a766adae9206f 100644 --- a/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/message/CalciteErrorMessage.java +++ b/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/message/CalciteErrorMessage.java @@ -55,11 +55,6 @@ public UUID queryId() { return qryId; } - /** */ - public void queryId(UUID qryId) { - this.qryId = qryId; - } - /** * @return Fragment ID. */ @@ -67,11 +62,6 @@ public long fragmentId() { return fragmentId; } - /** */ - public void fragmentId(long fragmentId) { - this.fragmentId = fragmentId; - } - /** {@inheritDoc} */ @Override public MessageType type() { return MessageType.QUERY_ERROR_MESSAGE; diff --git a/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/message/GenericValueMessage.java b/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/message/GenericValueMessage.java index 90fbf297c52e2..b03659defa95f 100644 --- a/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/message/GenericValueMessage.java +++ b/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/message/GenericValueMessage.java @@ -48,20 +48,6 @@ public GenericValueMessage(Object val) { return val; } - /** - * @return Serialized value. - */ - public byte[] serialized() { - return serialized; - } - - /** - * @param serialized Serialized value. - */ - public void serialized(byte[] serialized) { - this.serialized = serialized; - } - /** {@inheritDoc} */ @Override public void prepareMarshal(GridCacheSharedContext ctx) throws IgniteCheckedException { if (val != null && serialized == null) diff --git a/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/message/InboxCloseMessage.java b/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/message/InboxCloseMessage.java index 52b2a4c3441ec..19638738da0a4 100644 --- a/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/message/InboxCloseMessage.java +++ b/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/message/InboxCloseMessage.java @@ -55,13 +55,6 @@ public UUID queryId() { return qryId; } - /** - * @param queryId New query ID. - */ - public void queryId(UUID qryId) { - this.qryId = qryId; - } - /** * @return Fragment ID. */ @@ -69,13 +62,6 @@ public long fragmentId() { return fragmentId; } - /** - * @param fragmentId New fragment ID. - */ - public void fragmentId(long fragmentId) { - this.fragmentId = fragmentId; - } - /** * @return Exchange ID. */ @@ -83,13 +69,6 @@ public long exchangeId() { return exchangeId; } - /** - * @param exchangeId New exchange ID. - */ - public void exchangeId(long exchangeId) { - this.exchangeId = exchangeId; - } - /** {@inheritDoc} */ @Override public MessageType type() { return MessageType.QUERY_INBOX_CANCEL_MESSAGE; diff --git a/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/message/QueryBatchAcknowledgeMessage.java b/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/message/QueryBatchAcknowledgeMessage.java index 0d6b604646a67..ec7b04e05adfb 100644 --- a/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/message/QueryBatchAcknowledgeMessage.java +++ b/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/message/QueryBatchAcknowledgeMessage.java @@ -58,25 +58,11 @@ public QueryBatchAcknowledgeMessage(UUID qryId, long fragmentId, long exchangeId return qryId; } - /** - * @param qryId New query ID. - */ - public void queryId(UUID qryId) { - this.qryId = qryId; - } - /** {@inheritDoc} */ @Override public long fragmentId() { return fragmentId; } - /** - * @param fragmentId New fragment ID. - */ - public void fragmentId(long fragmentId) { - this.fragmentId = fragmentId; - } - /** * @return Exchange ID. */ @@ -84,13 +70,6 @@ public long exchangeId() { return exchangeId; } - /** - * @param exchangeId New exchange ID. - */ - public void exchangeId(long exchangeId) { - this.exchangeId = exchangeId; - } - /** * @return Batch ID. */ @@ -98,13 +77,6 @@ public int batchId() { return batchId; } - /** - * @param batchId New batch ID. - */ - public void batchId(int batchId) { - this.batchId = batchId; - } - /** {@inheritDoc} */ @Override public MessageType type() { return MessageType.QUERY_ACKNOWLEDGE_MESSAGE; diff --git a/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/message/QueryBatchMessage.java b/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/message/QueryBatchMessage.java index e863aebc47433..b722b6ccf3758 100644 --- a/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/message/QueryBatchMessage.java +++ b/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/message/QueryBatchMessage.java @@ -74,25 +74,11 @@ public QueryBatchMessage(UUID qryId, long fragmentId, long exchangeId, int batch return qryId; } - /** - * @param qryId Query ID. - */ - public void queryId(UUID qryId) { - this.qryId = qryId; - } - /** {@inheritDoc} */ @Override public long fragmentId() { return fragmentId; } - /** - * @param fragmentId Fragment ID. - */ - public void fragmentId(long fragmentId) { - this.fragmentId = fragmentId; - } - /** * @return Exchange ID. */ @@ -100,13 +86,6 @@ public long exchangeId() { return exchangeId; } - /** - * @param exchangeId Exchange ID. - */ - public void exchangeId(long exchangeId) { - this.exchangeId = exchangeId; - } - /** * @return Batch ID. */ @@ -114,13 +93,6 @@ public int batchId() { return batchId; } - /** - * @param batchId Batch ID. - */ - public void batchId(int batchId) { - this.batchId = batchId; - } - /** * @return Last batch flag. */ @@ -128,13 +100,6 @@ public boolean last() { return last; } - /** - * @param last Last batch flag. - */ - public void last(boolean last) { - this.last = last; - } - /** * @return Rows. */ @@ -142,20 +107,6 @@ public List rows() { return rows; } - /** - * @return Message rows. - */ - public List messageRows() { - return mRows; - } - - /** - * @param mRows Message rows. - */ - public void messageRows(List mRows) { - this.mRows = mRows; - } - /** {@inheritDoc} */ @Override public void prepareMarshal(GridCacheSharedContext ctx) throws IgniteCheckedException { if (mRows != null || rows == null) diff --git a/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/message/QueryCloseMessage.java b/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/message/QueryCloseMessage.java index 6c7e66113d1f8..6db451d285cc8 100644 --- a/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/message/QueryCloseMessage.java +++ b/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/message/QueryCloseMessage.java @@ -45,13 +45,6 @@ public UUID queryId() { return qryId; } - /** - * @param qryId New query ID. - */ - public void queryId(UUID qryId) { - this.qryId = qryId; - } - /** {@inheritDoc} */ @Override public MessageType type() { return MessageType.QUERY_CLOSE_MESSAGE; diff --git a/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/message/QueryStartRequest.java b/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/message/QueryStartRequest.java index 526e2d02a8f90..81d843bf3eee0 100644 --- a/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/message/QueryStartRequest.java +++ b/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/message/QueryStartRequest.java @@ -119,21 +119,11 @@ public String schema() { return schema; } - /** */ - public void schema(String schema) { - this.schema = schema; - } - /** {@inheritDoc} */ @Override public UUID queryId() { return qryId; } - /** */ - public void queryId(UUID qryId) { - this.qryId = qryId; - } - /** * @return Registered local query ID on originating node. */ @@ -141,21 +131,6 @@ public long originatingQueryId() { return originatingQryId; } - /** */ - public void originatingQueryId(long originatingQryId) { - this.originatingQryId = originatingQryId; - } - - /** */ - public @Nullable byte[] parametersBytes() { - return paramsBytes; - } - - /** */ - public void parametersBytes(@Nullable byte[] paramsBytes) { - this.paramsBytes = paramsBytes; - } - /** {@inheritDoc} */ @Override public long fragmentId() { return fragmentDesc.fragmentId(); @@ -168,11 +143,6 @@ public FragmentDescription fragmentDescription() { return fragmentDesc; } - /** */ - public void fragmentDescription(FragmentDescription fragmentDesc) { - this.fragmentDesc = fragmentDesc; - } - /** * @return Topology version. */ @@ -180,11 +150,6 @@ public AffinityTopologyVersion topologyVersion() { return ver; } - /** */ - public void topologyVersion(AffinityTopologyVersion ver) { - this.ver = ver; - } - /** * @return Fragment plan. */ @@ -192,11 +157,6 @@ public String root() { return root; } - /** */ - public void root(String root) { - this.root = root; - } - /** * @return Total count of fragments in query for this node. */ @@ -204,11 +164,6 @@ public int totalFragmentsCount() { return totalFragmentsCnt; } - /** */ - public void totalFragmentsCount(int totalFragmentsCnt) { - this.totalFragmentsCnt = totalFragmentsCnt; - } - /** * @return Query parameters. */ @@ -232,16 +187,6 @@ public long timeout() { return timeout; } - /** */ - public void timeout(long timeout) { - this.timeout = timeout; - } - - /** */ - public void parametersBytes(long timeout) { - this.timeout = timeout; - } - /** * @return Transaction entries to mixin on query processing. */ @@ -249,21 +194,11 @@ public void parametersBytes(long timeout) { return qryTxEntries; } - /** */ - public void queryTransactionEntries(@Nullable Collection qryTxEntries) { - this.qryTxEntries = qryTxEntries; - } - /** */ public @Nullable Map applicationAttributes() { return appAttrs; } - /** */ - public void applicationAttributes(@Nullable Map appAttrs) { - this.appAttrs = appAttrs; - } - /** {@inheritDoc} */ @Override public void prepareMarshal(GridCacheSharedContext ctx) throws IgniteCheckedException { if (paramsBytes == null && params != null) diff --git a/modules/core/src/main/java/org/apache/ignite/internal/GridJobCancelRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/GridJobCancelRequest.java index 25ee72e150faa..f6f77938ae7d4 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/GridJobCancelRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/GridJobCancelRequest.java @@ -105,27 +105,6 @@ public boolean system() { return system; } - /** - * Gets execution ID of task to be cancelled. - */ - public void sessionId(IgniteUuid sesId) { - this.sessionId = sesId; - } - - /** - * Gets session ID of job to be cancelled. If {@code null}, then - * all jobs for the specified task execution ID will be cancelled. - */ - public void jobId(IgniteUuid jobId) { - this.jobId = jobId; - } - - /** - */ - public void system(boolean system) { - this.system = system; - } - /** {@inheritDoc} */ @Override public short directType() { return 0; diff --git a/modules/core/src/main/java/org/apache/ignite/internal/GridJobExecuteRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/GridJobExecuteRequest.java index e46408abcd6dc..089b1ad209432 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/GridJobExecuteRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/GridJobExecuteRequest.java @@ -274,13 +274,6 @@ public IgniteUuid sessionId() { return sesId; } - /** - * @param sesId New task session ID. - */ - public void sessionId(IgniteUuid sesId) { - this.sesId = sesId; - } - /** * @return Job session ID. */ @@ -288,13 +281,6 @@ public IgniteUuid jobId() { return jobId; } - /** - * @param jobId New job session ID. - */ - public void jobId(IgniteUuid jobId) { - this.jobId = jobId; - } - /** * @return Task class name. */ @@ -302,13 +288,6 @@ public String taskClassName() { return taskClsName; } - /** - * @param taskClsName New task class name. - */ - public void taskClassName(String taskClsName) { - this.taskClsName = taskClsName; - } - /** * @return Task name. */ @@ -316,13 +295,6 @@ public String taskName() { return taskName; } - /** - * @param taskName New task name. - */ - public void taskName(String taskName) { - this.taskName = taskName; - } - /** * @return Task version. */ @@ -330,27 +302,6 @@ public String userVersion() { return userVer; } - /** - * @param userVer New task version. - */ - public void userVersion(String userVer) { - this.userVer = userVer; - } - - /** - * @return Serialized job bytes. - */ - public byte[] jobBytes() { - return jobBytes; - } - - /** - * @param jobBytes New serialized job bytes. - */ - public void jobBytes(byte[] jobBytes) { - this.jobBytes = jobBytes; - } - /** * @return Grid job. */ @@ -365,13 +316,6 @@ public long startTaskTime() { return startTaskTime; } - /** - * @param startTaskTime New task start time. - */ - public void startTaskTime(long startTaskTime) { - this.startTaskTime = startTaskTime; - } - /** * @return Timeout. */ @@ -379,13 +323,6 @@ public long timeout() { return timeout; } - /** - * @param timeout New timeout. - */ - public void timeout(long timeout) { - this.timeout = timeout; - } - /** * Gets this instance creation time. * @@ -395,20 +332,6 @@ public long getCreateTime() { return createTime; } - /** - * @return Serialized collection of split siblings. - */ - public byte[] siblingsBytes() { - return siblingsBytes; - } - - /** - * @param siblingsBytes New serialized collection of split siblings. - */ - public void siblingsBytes(byte[] siblingsBytes) { - this.siblingsBytes = siblingsBytes; - } - /** * @return Job siblings. */ @@ -416,20 +339,6 @@ public Collection getSiblings() { return siblings; } - /** - * @return Serialized form of session attributes. - */ - public byte[] sessionAttributesBytes() { - return sesAttrsBytes; - } - - /** - * @param sesAttrsBytes New serialized form of session attributes. - */ - public void sessionAttributesBytes(byte[] sesAttrsBytes) { - this.sesAttrsBytes = sesAttrsBytes; - } - /** * @return Session attributes. */ @@ -437,20 +346,6 @@ public Map getSessionAttributes() { return sesAttrs; } - /** - * @return Serialized form of job attributes. - */ - public byte[] jobAttributesBytes() { - return jobAttrsBytes; - } - - /** - * @param jobAttrsBytes New serialized form of job attributes. - */ - public void jobAttributesBytes(byte[] jobAttrsBytes) { - this.jobAttrsBytes = jobAttrsBytes; - } - /** * @return Job attributes. */ @@ -465,13 +360,6 @@ public String checkpointSpi() { return cpSpi; } - /** - * @param cpSpi New checkpoint SPI name. - */ - public void checkpointSpi(String cpSpi) { - this.cpSpi = cpSpi; - } - /** * @return Task local class loader id. */ @@ -479,13 +367,6 @@ public IgniteUuid classLoaderId() { return clsLdrId; } - /** - * @param clsLdrId New task local class loader id. - */ - public void classLoaderId(IgniteUuid clsLdrId) { - this.clsLdrId = clsLdrId; - } - /** * @return Deployment mode. */ @@ -493,29 +374,6 @@ public DeploymentMode deploymentMode() { return depMode; } - /** - * @param depMode New deployment mode value. - */ - public void deploymentMode(DeploymentMode depMode) { - this.depMode = depMode; - } - - /** - * Returns true if siblings list is dynamic, i.e. task is continuous. - * - * @return True if siblings list is dynamic. - */ - public boolean dynamicSiblings() { - return dynamicSiblings; - } - - /** - * @param dynamicSiblings New dynamic siblings flag. - */ - public void dynamicSiblings(boolean dynamicSiblings) { - this.dynamicSiblings = dynamicSiblings; - } - /** * @return Node class loader participant map. */ @@ -523,13 +381,6 @@ public Map loaderParticipants() { return ldrParticipants; } - /** - * @param ldrParticipants New node class loader participant map. - */ - public void loaderParticipants(Map ldrParticipants) { - this.ldrParticipants = ldrParticipants; - } - /** * @return Returns {@code true} if deployment should always be used. */ @@ -537,13 +388,6 @@ public boolean forceLocalDeployment() { return forceLocDep; } - /** - * @param forceLocDep New local deployment forcing flag. - */ - public void forceLocalDeployment(boolean forceLocDep) { - this.forceLocDep = forceLocDep; - } - /** * @return Topology. */ @@ -551,13 +395,6 @@ public void forceLocalDeployment(boolean forceLocDep) { return top; } - /** - * @param top New topology. - */ - public void topology(@Nullable Collection top) { - this.top = top; - } - /** * @return Topology predicate. */ @@ -565,20 +402,6 @@ public IgnitePredicate getTopologyPredicate() { return topPred; } - /** - * @return Marshalled topology predicate. - */ - public byte[] topologyPredicateBytes() { - return topPredBytes; - } - - /** - * @param topPredBytes New marshalled topology predicate. - */ - public void topologyPredicateBytes(byte[] topPredBytes) { - this.topPredBytes = topPredBytes; - } - /** * @return {@code True} if session attributes are enabled. */ @@ -586,13 +409,6 @@ public boolean sessionFullSupport() { return sesFullSup; } - /** - * @param sesFullSup New flag, indicating that session attributes are enabled. - */ - public void sessionFullSupport(boolean sesFullSup) { - this.sesFullSup = sesFullSup; - } - /** * @return {@code True} if internal job. */ @@ -600,13 +416,6 @@ public boolean internal() { return internal; } - /** - * @param internal New internal job flag. - */ - public void internal(boolean internal) { - this.internal = internal; - } - /** * @return Caches' identifiers to reserve specified partition for job execution. */ @@ -614,13 +423,6 @@ public int[] cacheIds() { return cacheIds; } - /** - * @param cacheIds New cache identifiers. - */ - public void cacheIds(int[] cacheIds) { - this.cacheIds = cacheIds; - } - /** * @return Partition to lock for job execution. */ @@ -628,25 +430,11 @@ public int partition() { return part; } - /** - * @param part New partition. - */ - public void partition(int part) { - this.part = part; - } - /** {@inheritDoc} */ @Override public String executorName() { return execName; } - /** - * @param execName New executor name. - */ - public void executorName(String execName) { - this.execName = execName; - } - /** * @return Affinity version which was used to map job */ @@ -654,13 +442,6 @@ public AffinityTopologyVersion topologyVersion() { return topVer; } - /** - * @param topVer New topology version. - */ - public void topologyVersion(AffinityTopologyVersion topVer) { - this.topVer = topVer; - } - /** {@inheritDoc} */ @Override public short directType() { return 1; diff --git a/modules/core/src/main/java/org/apache/ignite/internal/GridJobSiblingsRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/GridJobSiblingsRequest.java index 672450cabd8a8..d14a449bb5998 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/GridJobSiblingsRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/GridJobSiblingsRequest.java @@ -58,13 +58,6 @@ public IgniteUuid sessionId() { return sesId; } - /** - * @param sesId New session ID. - */ - public void sessionId(IgniteUuid sesId) { - this.sesId = sesId; - } - /** * @return Topic ID. */ @@ -72,13 +65,6 @@ public long topicId() { return topicId; } - /** - * @param topicId New topic ID. - */ - public void topicId(long topicId) { - this.topicId = topicId; - } - /** {@inheritDoc} */ @Override public short directType() { return 3; diff --git a/modules/core/src/main/java/org/apache/ignite/internal/GridTaskCancelRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/GridTaskCancelRequest.java index ae329423720f7..dba1b6af737cf 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/GridTaskCancelRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/GridTaskCancelRequest.java @@ -54,13 +54,6 @@ public IgniteUuid sessionId() { return sesId; } - /** - * @param sesId New session ID. - */ - public void sessionId(IgniteUuid sesId) { - this.sesId = sesId; - } - /** {@inheritDoc} */ @Override public short directType() { return 5; diff --git a/modules/core/src/main/java/org/apache/ignite/internal/GridTaskSessionRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/GridTaskSessionRequest.java index c1ea1fe7bb00b..447c4b1112d62 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/GridTaskSessionRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/GridTaskSessionRequest.java @@ -65,20 +65,6 @@ public GridTaskSessionRequest(IgniteUuid sesId, IgniteUuid jobId, Map attr this.attrs = attrs; } - /** - * @return Changed attributes (serialized). - */ - public byte[] attributesBytes() { - return attrsBytes; - } - - /** - * @param attrsBytes Changed attributes (serialized). - */ - public void attributesBytes(byte[] attrsBytes) { - this.attrsBytes = attrsBytes; - } - /** * @return Changed attributes. */ @@ -93,13 +79,6 @@ public IgniteUuid sessionId() { return sesId; } - /** - * @param sesId Task session ID. - */ - public void sessionId(IgniteUuid sesId) { - this.sesId = sesId; - } - /** * @return Job ID. */ @@ -107,13 +86,6 @@ public IgniteUuid jobId() { return jobId; } - /** - * @param jobId Job ID. - */ - public void jobId(IgniteUuid jobId) { - this.jobId = jobId; - } - /** {@inheritDoc} */ @Override public short directType() { return 6; diff --git a/modules/core/src/main/java/org/apache/ignite/internal/IgniteDiagnosticRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/IgniteDiagnosticRequest.java index ddb7d134652fc..bc733db54c0d1 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/IgniteDiagnosticRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/IgniteDiagnosticRequest.java @@ -124,11 +124,6 @@ public UUID nodeId() { return nodeId; } - /** */ - public void nodeId(UUID nodeId) { - this.nodeId = nodeId; - } - /** * @return Future ID. */ @@ -136,21 +131,11 @@ public long futureId() { return futId; } - /** */ - public void futureId(long futId) { - this.futId = futId; - } - /** @return Compound diagnostic infos. */ public @Nullable Set infos() { return infos; } - /** Sets compound diagnostic infos. */ - public void infos(@Nullable Set infos) { - this.infos = infos; - } - /** {@inheritDoc} */ @Override public short directType() { return -61; diff --git a/modules/core/src/main/java/org/apache/ignite/internal/managers/checkpoint/GridCheckpointRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/managers/checkpoint/GridCheckpointRequest.java index 856d609676da0..4af14a3727da4 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/managers/checkpoint/GridCheckpointRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/managers/checkpoint/GridCheckpointRequest.java @@ -69,13 +69,6 @@ public IgniteUuid sessionId() { return sesId; } - /** - * @param sesId Session ID. - */ - public void sessionId(IgniteUuid sesId) { - this.sesId = sesId; - } - /** * @return Checkpoint key. */ @@ -83,13 +76,6 @@ public String key() { return key; } - /** - * @param key Checkpoint key. - */ - public void key(String key) { - this.key = key; - } - /** * @return Checkpoint SPI. */ @@ -97,13 +83,6 @@ public String checkpointSpi() { return cpSpi; } - /** - * @param cpSpi Checkpoint SPI. - */ - public void checkpointSpi(String cpSpi) { - this.cpSpi = cpSpi; - } - /** {@inheritDoc} */ @Override public short directType() { return 7; diff --git a/modules/core/src/main/java/org/apache/ignite/internal/managers/communication/GridIoMessage.java b/modules/core/src/main/java/org/apache/ignite/internal/managers/communication/GridIoMessage.java index 8e1c3ea6d9da8..b42b8df962a7e 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/managers/communication/GridIoMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/managers/communication/GridIoMessage.java @@ -118,13 +118,6 @@ public byte policy() { return plc; } - /** - * @param plc Policy. - */ - public void policy(byte plc) { - this.plc = plc; - } - /** * @return Topic. */ @@ -139,20 +132,6 @@ void topic(Object topic) { this.topic = topic; } - /** - * @return Topic bytes. - */ - public byte[] topicBytes() { - return topicBytes; - } - - /** - * @param topicBytes Topic bytes. - */ - public void topicBytes(byte[] topicBytes) { - this.topicBytes = topicBytes; - } - /** * @return Topic ordinal. */ @@ -160,13 +139,6 @@ public int topicOrdinal() { return topicOrd; } - /** - * @param topicOrd Topic ordinal. - */ - public void topicOrdinal(int topicOrd) { - this.topicOrd = topicOrd; - } - /** * @return Message. */ @@ -174,13 +146,6 @@ public Message message() { return msg; } - /** - * @param msg Message. - */ - public void message(Message msg) { - this.msg = msg; - } - /** * @return Message timeout. */ @@ -188,13 +153,6 @@ public long timeout() { return timeout; } - /** - * @param timeout Message timeout. - */ - public void timeout(long timeout) { - this.timeout = timeout; - } - /** * @return Whether message can be skipped on timeout. */ @@ -202,13 +160,6 @@ public boolean skipOnTimeout() { return skipOnTimeout; } - /** - * @param skipOnTimeout Whether message can be skipped on timeout. - */ - public void skipOnTimeout(boolean skipOnTimeout) { - this.skipOnTimeout = skipOnTimeout; - } - /** * @return {@code True} if message is ordered, {@code false} otherwise. */ @@ -216,13 +167,6 @@ public boolean isOrdered() { return ordered; } - /** - * @param ordered {@code True} if message is ordered, {@code false} otherwise. - */ - public void isOrdered(boolean ordered) { - this.ordered = ordered; - } - /** {@inheritDoc} */ @Override public boolean equals(Object obj) { throw new AssertionError(); diff --git a/modules/core/src/main/java/org/apache/ignite/internal/managers/communication/GridIoSecurityAwareMessage.java b/modules/core/src/main/java/org/apache/ignite/internal/managers/communication/GridIoSecurityAwareMessage.java index 65afd74f4d1b5..ae4c7abebab7a 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/managers/communication/GridIoSecurityAwareMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/managers/communication/GridIoSecurityAwareMessage.java @@ -71,13 +71,6 @@ public UUID securitySubjectId() { return secSubjId; } - /** - * @param secSubjId Security subject ID. - */ - public void securitySubjectId(UUID secSubjId) { - this.secSubjId = secSubjId; - } - /** {@inheritDoc} */ @Override public short directType() { return TYPE_CODE; diff --git a/modules/core/src/main/java/org/apache/ignite/internal/managers/communication/IgniteIoTestMessage.java b/modules/core/src/main/java/org/apache/ignite/internal/managers/communication/IgniteIoTestMessage.java index 9fd6a00ddca72..7773fb3bcbb15 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/managers/communication/IgniteIoTestMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/managers/communication/IgniteIoTestMessage.java @@ -208,13 +208,6 @@ public long responseReceiveTs() { return resRcvTs; } - /** - * @return Response process timestamp. - */ - public long responseProcessTs() { - return resProcTs; - } - /** * @return Request send timestamp (millis). */ @@ -229,13 +222,6 @@ public long requestReceivedTsMillis() { return reqRcvTsMillis; } - /** - * @return Response send timestamp (millis). - */ - public long responseSendTsMillis() { - return resSndTsMillis; - } - /** * @return Response received timestamp (millis). */ diff --git a/modules/core/src/main/java/org/apache/ignite/internal/managers/communication/SessionChannelMessage.java b/modules/core/src/main/java/org/apache/ignite/internal/managers/communication/SessionChannelMessage.java index 45f46a12be32e..1afab64ee6d8f 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/managers/communication/SessionChannelMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/managers/communication/SessionChannelMessage.java @@ -56,13 +56,6 @@ public IgniteUuid sesId() { return sesId; } - /** - * @param sesId The unique session id for the channel. - */ - public void sesId(IgniteUuid sesId) { - this.sesId = sesId; - } - /** {@inheritDoc} */ @Override public short directType() { return TYPE_CODE; diff --git a/modules/core/src/main/java/org/apache/ignite/internal/managers/deployment/GridDeploymentRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/managers/deployment/GridDeploymentRequest.java index fd3abb429baee..00890882e0590 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/managers/deployment/GridDeploymentRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/managers/deployment/GridDeploymentRequest.java @@ -91,20 +91,6 @@ Object responseTopic() { return resTopic; } - /** - * @return Serialized topic. - */ - public byte[] responseTopicBytes() { - return resTopicBytes; - } - - /** - * @param resTopicBytes Serialized topic. - */ - public void responseTopicBytes(byte[] resTopicBytes) { - this.resTopicBytes = resTopicBytes; - } - /** * Class name/resource name that is being requested. * @@ -114,13 +100,6 @@ public String resourceName() { return rsrcName; } - /** - * @param rsrcName Resource or class name. - */ - public void resourceName(String rsrcName) { - this.rsrcName = rsrcName; - } - /** * Gets property ldrId. * @@ -130,13 +109,6 @@ public IgniteUuid classLoaderId() { return ldrId; } - /** - * @param ldrId Property class loader ID. - */ - public void classLoaderId(IgniteUuid ldrId) { - this.ldrId = ldrId; - } - /** * Gets property undeploy. * @@ -146,13 +118,6 @@ public boolean isUndeploy() { return isUndeploy; } - /** - * @param isUndeploy Property undeploy. - */ - public void isUndeploy(boolean isUndeploy) { - this.isUndeploy = isUndeploy; - } - /** * @return Node IDs chain which is updated as request jumps * from node to node. diff --git a/modules/core/src/main/java/org/apache/ignite/internal/managers/encryption/GenerateEncryptionKeyRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/managers/encryption/GenerateEncryptionKeyRequest.java index fff70b5d84166..b6359952bb051 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/managers/encryption/GenerateEncryptionKeyRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/managers/encryption/GenerateEncryptionKeyRequest.java @@ -53,13 +53,6 @@ public IgniteUuid id() { return id; } - /** - * @param id New request ID. - */ - public void id(IgniteUuid id) { - this.id = id; - } - /** * @return Count of encryption key to generate. */ @@ -67,13 +60,6 @@ public int keyCount() { return keyCnt; } - /** - * @param keyCnt New key count. - */ - public void keyCount(int keyCnt) { - this.keyCnt = keyCnt; - } - /** {@inheritDoc} */ @Override public short directType() { return 162; diff --git a/modules/core/src/main/java/org/apache/ignite/internal/managers/eventstorage/GridEventStorageMessage.java b/modules/core/src/main/java/org/apache/ignite/internal/managers/eventstorage/GridEventStorageMessage.java index 77ee2c0e201c1..dade283bc0d1f 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/managers/eventstorage/GridEventStorageMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/managers/eventstorage/GridEventStorageMessage.java @@ -142,34 +142,6 @@ Object responseTopic() { return resTopic; } - /** - * @return Serialized response topic. - */ - public byte[] responseTopicBytes() { - return resTopicBytes; - } - - /** - * @param resTopicBytes Serialized response topic. - */ - public void responseTopicBytes(byte[] resTopicBytes) { - this.resTopicBytes = resTopicBytes; - } - - /** - * @return Filter. - */ - public byte[] filterBytes() { - return filterBytes; - } - - /** - * @param filterBytes Filter bytes. - */ - public void filterBytes(byte[] filterBytes) { - this.filterBytes = filterBytes; - } - /** * @return Filter. */ @@ -184,20 +156,6 @@ public IgnitePredicate filter() { return evts != null ? Collections.unmodifiableCollection(evts) : null; } - /** - * @return Serialized events. - */ - public byte[] eventsBytes() { - return evtsBytes; - } - - /** - * @param evtsBytes Serialized events. - */ - public void eventsBytes(byte[] evtsBytes) { - this.evtsBytes = evtsBytes; - } - /** * @return the Class loader ID. */ @@ -205,13 +163,6 @@ public IgniteUuid classLoaderId() { return clsLdrId; } - /** - * @param clsLdrId the Class loader ID. - */ - public void classLoaderId(IgniteUuid clsLdrId) { - this.clsLdrId = clsLdrId; - } - /** * @return Deployment mode. */ @@ -219,13 +170,6 @@ public DeploymentMode deploymentMode() { return depMode; } - /** - * @param depMode Deployment mode. - */ - public void deploymentMode(DeploymentMode depMode) { - this.depMode = depMode; - } - /** * @return Filter class name. */ @@ -233,13 +177,6 @@ public String filterClassName() { return filterClsName; } - /** - * @param filterClsName Filter class name. - */ - public void filterClassName(String filterClsName) { - this.filterClsName = filterClsName; - } - /** * @return User version. */ @@ -247,13 +184,6 @@ public String userVersion() { return userVer; } - /** - * @param userVer User version. - */ - public void userVersion(String userVer) { - this.userVer = userVer; - } - /** * @return Node class loader participant map. */ @@ -275,20 +205,6 @@ public void loaderParticipants(@Nullable Map ldrParties) { return ErrorMessage.error(errMsg); } - /** - * @return Error message. - */ - public @Nullable ErrorMessage errorMessage() { - return errMsg; - } - - /** - * @param errMsg Error message. - */ - public void errorMessage(@Nullable ErrorMessage errMsg) { - this.errMsg = errMsg; - } - /** * @param marsh Marshaller. */ diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/authentication/UserAuthenticateRequestMessage.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/authentication/UserAuthenticateRequestMessage.java index 45c1a9561fa83..0a33a95f63764 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/authentication/UserAuthenticateRequestMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/authentication/UserAuthenticateRequestMessage.java @@ -62,13 +62,6 @@ public String name() { return name; } - /** - * @param name New username. - */ - public void name(String name) { - this.name = name; - } - /** * @return User password. */ @@ -76,13 +69,6 @@ public String password() { return passwd; } - /** - * @param passwd New user password. - */ - public void password(String passwd) { - this.passwd = passwd; - } - /** * @return Request ID. */ @@ -90,13 +76,6 @@ public IgniteUuid id() { return id; } - /** - * @param id New request ID. - */ - public void id(IgniteUuid id) { - this.id = id; - } - /** {@inheritDoc} */ @Override public short directType() { return 131; diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/authentication/UserAuthenticateResponseMessage.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/authentication/UserAuthenticateResponseMessage.java index ea8fa323ae8ca..5c9e8251ef46d 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/authentication/UserAuthenticateResponseMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/authentication/UserAuthenticateResponseMessage.java @@ -64,13 +64,6 @@ public String errorMessage() { return errMsg; } - /** - * @param errMsg New error message. - */ - public void errorMessage(String errMsg) { - this.errMsg = errMsg; - } - /** * @return Request ID. */ @@ -78,13 +71,6 @@ public IgniteUuid id() { return id; } - /** - * @param id New request ID. - */ - public void id(IgniteUuid id) { - this.id = id; - } - /** {@inheritDoc} */ @Override public short directType() { return 132; diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/authentication/UserManagementOperationFinishedMessage.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/authentication/UserManagementOperationFinishedMessage.java index 1132b1eca310c..d0c32b91b14f1 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/authentication/UserManagementOperationFinishedMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/authentication/UserManagementOperationFinishedMessage.java @@ -58,13 +58,6 @@ public IgniteUuid operationId() { return opId; } - /** - * @param opId New operation ID. - */ - public void operationId(IgniteUuid opId) { - this.opId = opId; - } - /** * @return Success flag. */ @@ -79,13 +72,6 @@ public String errorMessage() { return errorMsg; } - /** - * @param errorMsg New error message. - */ - public void errorMessage(String errorMsg) { - this.errorMsg = errorMsg; - } - /** {@inheritDoc} */ @Override public short directType() { return 130; diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/DynamicCacheChangeRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/DynamicCacheChangeRequest.java index e0e6037a8568a..6f3bf5f11b62e 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/DynamicCacheChangeRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/DynamicCacheChangeRequest.java @@ -331,13 +331,6 @@ public String cacheName() { return cacheName; } - /** - * @param cacheName Cache name. - */ - public void cacheName(String cacheName) { - this.cacheName = cacheName; - } - /** * @return Near node ID. */ @@ -434,20 +427,6 @@ public void sql(boolean sql) { this.sql = sql; } - /** - * @param nodeId ID of node provided cache configuration in discovery data. - */ - public void receivedFrom(UUID nodeId) { - rcvdFrom = nodeId; - } - - /** - * @return ID of node provided cache configuration in discovery data. - */ - @Nullable public UUID receivedFrom() { - return rcvdFrom; - } - /** * @return Dynamic schema. */ diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheGroupIdMessage.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheGroupIdMessage.java index b456d623f9ab9..49f9980c4c998 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheGroupIdMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheGroupIdMessage.java @@ -40,13 +40,6 @@ public int groupId() { return grpId; } - /** - * @param grpId Cache group ID. - */ - public void groupId(int grpId) { - this.grpId = grpId; - } - /** {@inheritDoc} */ @Override public boolean writeTo(ByteBuffer buf, MessageWriter writer) { // TODO: Safe to remove only after all inheritors have migrated to the new ser/der scheme (IGNITE-25490). diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheIdMessage.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheIdMessage.java index e7aac72ec7646..8365c22a2509e 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheIdMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheIdMessage.java @@ -40,13 +40,6 @@ public int cacheId() { return cacheId; } - /** - * @param cacheId Cache ID. - */ - public void cacheId(int cacheId) { - this.cacheId = cacheId; - } - /** {@inheritDoc} */ @Override public boolean writeTo(ByteBuffer buf, MessageWriter writer) { // TODO: Remove #writeTo() after all inheritors have migrated to the new ser/der scheme (IGNITE-25490). diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheMessage.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheMessage.java index 068c0abceeab0..be7c6b6f5670a 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheMessage.java @@ -265,14 +265,6 @@ public GridDeploymentInfoBean deployInfo() { return depInfo; } - /** - * @param depInfo Preset deployment info. - * @see GridCacheDeployable#deployInfo() - */ - public void deployInfo(GridDeploymentInfoBean depInfo) { - this.depInfo = depInfo; - } - /** * This method is called before the whole message is serialized * and is responsible for pre-marshalling state. diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/StateChangeRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/StateChangeRequest.java index a0ce972da8559..75da7b8adff7d 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/StateChangeRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/StateChangeRequest.java @@ -24,7 +24,6 @@ import org.apache.ignite.internal.processors.cluster.BaselineTopologyHistoryItem; import org.apache.ignite.internal.processors.cluster.ChangeGlobalStateMessage; import org.apache.ignite.internal.util.typedef.internal.S; -import org.apache.ignite.lang.IgniteUuid; import org.jetbrains.annotations.Nullable; /** @@ -74,13 +73,6 @@ public AffinityTopologyVersion topologyVersion() { return topVer; } - /** - * @return State change message ID. - */ - public IgniteUuid id() { - return msg.id(); - } - /** * @return State change request ID. */ diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/WalStateAckMessage.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/WalStateAckMessage.java index ae3fb550c6640..bd2031b6287f4 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/WalStateAckMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/WalStateAckMessage.java @@ -75,13 +75,6 @@ public UUID operationId() { return opId; } - /** - * @param opId New operation ID. - */ - public void operationId(UUID opId) { - this.opId = opId; - } - /** * @return Affinity node flag. */ @@ -89,13 +82,6 @@ public boolean affNode() { return affNode; } - /** - * @param affNode New affinity node flag. - */ - public void affNode(boolean affNode) { - this.affNode = affNode; - } - /** * @return Result. */ @@ -103,13 +89,6 @@ public boolean changed() { return changed; } - /** - * @param changed New operation result. - */ - public void changed(boolean changed) { - this.changed = changed; - } - /** * @return Error message. */ @@ -117,13 +96,6 @@ public void changed(boolean changed) { return errMsg; } - /** - * @param errMsg New error message. - */ - public void errorMessage(String errMsg) { - this.errMsg = errMsg; - } - /** * @return Sender node ID. */ diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/WalStateProposeMessage.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/WalStateProposeMessage.java index b7c4e34092e62..442b67968e58c 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/WalStateProposeMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/WalStateProposeMessage.java @@ -61,13 +61,6 @@ public WalStateProposeMessage(UUID opId, int grpId, IgniteUuid grpDepId, UUID no this.enable = enable; } - /** - * @return Node ID. - */ - public UUID nodeId() { - return nodeId; - } - /** * @return Caches. */ diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/binary/MetadataRequestMessage.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/binary/MetadataRequestMessage.java index 99ad492481b82..143f731de6dab 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/binary/MetadataRequestMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/binary/MetadataRequestMessage.java @@ -61,13 +61,6 @@ public int typeId() { return typeId; } - /** - * @param typeId Type ID. - */ - public void typeId(int typeId) { - this.typeId = typeId; - } - /** {@inheritDoc} */ @Override public String toString() { return S.toString(MetadataRequestMessage.class, this); diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/binary/MetadataResponseMessage.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/binary/MetadataResponseMessage.java index 5d75c7a280df9..13c49a1d53eba 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/binary/MetadataResponseMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/binary/MetadataResponseMessage.java @@ -70,13 +70,6 @@ public int typeId() { return typeId; } - /** - * @param typeId Type ID. - */ - public void typeId(int typeId) { - this.typeId = typeId; - } - /** {@inheritDoc} */ @Override public String toString() { return S.toString(MetadataResponseMessage.class, this); diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridCacheTtlUpdateRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridCacheTtlUpdateRequest.java index 9ee1dc93dcaaa..b7d7e6322fcc5 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridCacheTtlUpdateRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridCacheTtlUpdateRequest.java @@ -88,13 +88,6 @@ public GridCacheTtlUpdateRequest(int cacheId, AffinityTopologyVersion topVer, lo return topVer; } - /** - * @param topVer New topology version. - */ - public void topologyVersion(AffinityTopologyVersion topVer) { - this.topVer = topVer; - } - /** * @return TTL. */ @@ -102,13 +95,6 @@ public long ttl() { return ttl; } - /** - * @param ttl New TTL. - */ - public void ttl(long ttl) { - this.ttl = ttl; - } - /** * @param key Key. * @param ver Version. @@ -148,13 +134,6 @@ public List keys() { return keys; } - /** - * @param keys New entries keys. - */ - public void keys(List keys) { - this.keys = keys; - } - /** * @return Versions. */ @@ -162,23 +141,6 @@ public List versions() { return vers; } - /** - * @param vers New entries versions. - */ - public void versions(List vers) { - this.vers = vers; - } - - /** - * @param idx Entry index. - * @return Version. - */ - public GridCacheVersion version(int idx) { - assert idx >= 0 && idx < vers.size() : idx; - - return vers.get(idx); - } - /** * @return Keys for near cache. */ @@ -186,13 +148,6 @@ public List nearKeys() { return nearKeys; } - /** - * @param nearKeys New near entries keys. - */ - public void nearKeys(List nearKeys) { - this.nearKeys = nearKeys; - } - /** * @return Versions for near cache entries. */ @@ -200,13 +155,6 @@ public List nearVersions() { return nearVers; } - /** - * @param nearVers New near entries versions. - */ - public void nearVersions(List nearVers) { - this.nearVers = nearVers; - } - /** {@inheritDoc} */ @Override public void prepareMarshal(GridCacheSharedContext ctx) throws IgniteCheckedException { super.prepareMarshal(ctx); diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridCacheTxRecoveryRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridCacheTxRecoveryRequest.java index 250a36305c8b8..8b48490c6bd77 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridCacheTxRecoveryRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridCacheTxRecoveryRequest.java @@ -93,13 +93,6 @@ public boolean nearTxCheck() { return nearTxCheck; } - /** - * @param nearTxCheck {@code True} if should check only tx on near node. - */ - public void nearTxCheck(boolean nearTxCheck) { - this.nearTxCheck = nearTxCheck; - } - /** * @return Near version. */ @@ -107,13 +100,6 @@ public GridCacheVersion nearXidVersion() { return nearXidVer; } - /** - * @param nearXidVer Near version. - */ - public void nearXidVersion(GridCacheVersion nearXidVer) { - this.nearXidVer = nearXidVer; - } - /** * @return Future ID. */ @@ -121,13 +107,6 @@ public IgniteUuid futureId() { return futId; } - /** - * @param futId Future ID. - */ - public void futureId(IgniteUuid futId) { - this.futId = futId; - } - /** * @return Mini future ID. */ @@ -135,13 +114,6 @@ public IgniteUuid miniId() { return miniId; } - /** - * @param miniId Mini future ID. - */ - public void miniId(IgniteUuid miniId) { - this.miniId = miniId; - } - /** * @return Expected number of transactions on node. */ @@ -149,13 +121,6 @@ public int transactions() { return txNum; } - /** - * @param txNum Expected number of transactions on node. - */ - public void transactions(int txNum) { - this.txNum = txNum; - } - /** * @return System transaction flag. */ @@ -163,13 +128,6 @@ public boolean system() { return sys; } - /** - * @param sys System transaction flag. - */ - public void system(boolean sys) { - this.sys = sys; - } - /** {@inheritDoc} */ @Override public IgniteLogger messageLogger(GridCacheSharedContext ctx) { return ctx.txRecoveryMessageLogger(); diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridDistributedBaseMessage.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridDistributedBaseMessage.java index 83d6dba9c0b5a..8d8d045ffdace 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridDistributedBaseMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridDistributedBaseMessage.java @@ -118,13 +118,6 @@ public void completedVersions(@Nullable Collection committedVe return committedVers; } - /** - * @param committedVers Committed versions. - */ - public void committedVersions(@Nullable Collection committedVers) { - this.committedVers = committedVers; - } - /** * @return Rolled back versions. */ @@ -132,13 +125,6 @@ public void committedVersions(@Nullable Collection committedVe return rolledbackVers; } - /** - * @param rolledbackVers Rolled back versions. - */ - public void rolledbackVersions(@Nullable Collection rolledbackVers) { - this.rolledbackVers = rolledbackVers; - } - /** * @return Count of keys referenced in candidates array (needed only locally for optimization). */ diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridDistributedLockRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridDistributedLockRequest.java index a1b0a85ba9f6a..aa7eb1c8ec747 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridDistributedLockRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridDistributedLockRequest.java @@ -180,13 +180,6 @@ public UUID nodeId() { return nodeId; } - /** - * @param nodeId Node ID. - */ - public void nodeId(UUID nodeId) { - this.nodeId = nodeId; - } - /** * @return Near transaction ID. */ @@ -194,13 +187,6 @@ public GridCacheVersion nearXidVersion() { return nearXidVer; } - /** - * @param nearXidVer Near transaction ID. - */ - public void nearXidVersion(GridCacheVersion nearXidVer) { - this.nearXidVer = nearXidVer; - } - /** * @return Owner node thread ID. */ @@ -208,13 +194,6 @@ public long threadId() { return threadId; } - /** - * @param threadId Owner node thread ID. - */ - public void threadId(long threadId) { - this.threadId = threadId; - } - /** * @return Future ID. */ @@ -222,13 +201,6 @@ public IgniteUuid futureId() { return futId; } - /** - * @param futId Future ID. - */ - public void futureId(IgniteUuid futId) { - this.futId = futId; - } - /** * @return {@code True} if implicit transaction lock. */ @@ -236,13 +208,6 @@ public boolean inTx() { return isInTx; } - /** - * @param isInTx {@code True} if implicit transaction lock. - */ - public void inTx(boolean isInTx) { - this.isInTx = isInTx; - } - /** * @return Invalidate flag. */ @@ -250,13 +215,6 @@ public boolean isInvalidate() { return isInvalidate; } - /** - * @param isInvalidate Invalidate flag. - */ - public void isInvalidate(boolean isInvalidate) { - this.isInvalidate = isInvalidate; - } - /** * @return {@code True} if lock is implicit and for a read operation. */ @@ -264,13 +222,6 @@ public boolean txRead() { return isRead; } - /** - * @param isRead {@code True} if lock is implicit and for a read operation. - */ - public void txRead(boolean isRead) { - this.isRead = isRead; - } - /** * @param idx Key index. * @return Flag indicating whether a value should be returned. @@ -279,20 +230,6 @@ public boolean returnValue(int idx) { return retVals[idx]; } - /** - * @return Array indicating whether value should be returned for a key. - */ - public boolean[] returnValues() { - return retVals; - } - - /** - * @param retVals Array indicating whether value should be returned for a key. - */ - public void returnValues(boolean[] retVals) { - this.retVals = retVals; - } - /** * Sets skip store flag value. * @@ -363,13 +300,6 @@ public TransactionIsolation isolation() { return isolation; } - /** - * @param isolation Transaction isolation level. - */ - public void isolation(TransactionIsolation isolation) { - this.isolation = isolation; - } - /** * @return Tx size. */ @@ -377,13 +307,6 @@ public int txSize() { return txSize; } - /** - * @param txSize Tx size. - */ - public void txSize(int txSize) { - this.txSize = txSize; - } - /** * Adds a key. * @@ -408,13 +331,6 @@ public List keys() { return keys; } - /** - * @param keys Unmarshalled keys. - */ - public void keys(List keys) { - this.keys = keys; - } - /** {@inheritDoc} */ @Override public int partition() { return keys != null && !keys.isEmpty() ? keys.get(0).partition() : -1; @@ -427,27 +343,6 @@ public long timeout() { return timeout; } - /** - * @param timeout Max lock wait time. - */ - public void timeout(long timeout) { - this.timeout = timeout; - } - - /** - * @return Flags. - */ - public byte flags() { - return flags; - } - - /** - * @param flags Flags. - */ - public void flags(byte flags) { - this.flags = flags; - } - /** {@inheritDoc} */ @Override public IgniteLogger messageLogger(GridCacheSharedContext ctx) { return ctx.txLockMessageLogger(); diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridDistributedTxFinishRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridDistributedTxFinishRequest.java index ad3fd2704a88b..3528473dd3f08 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridDistributedTxFinishRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridDistributedTxFinishRequest.java @@ -165,13 +165,6 @@ public GridDistributedTxFinishRequest( return syncMode; } - /** - * @param syncMode Transaction write synchronization mode. - */ - public void syncMode(CacheWriteSynchronizationMode syncMode) { - this.syncMode = syncMode; - } - /** * Sets flag mask. * @@ -192,20 +185,6 @@ protected final boolean isFlag(int mask) { return (flags & mask) != 0; } - /** - * @return Task name hash. - */ - public final int taskNameHash() { - return taskNameHash; - } - - /** - * @param taskNameHash Task name hash. - */ - public void taskNameHash(int taskNameHash) { - this.taskNameHash = taskNameHash; - } - /** * @return Topology version. */ @@ -213,13 +192,6 @@ public void taskNameHash(int taskNameHash) { return topVer; } - /** - * @param topVer Topology version. - */ - public void topologyVersion(AffinityTopologyVersion topVer) { - this.topVer = topVer; - } - /** * @return IO policy. */ @@ -227,13 +199,6 @@ public byte policy() { return plc; } - /** - * @param plc IO policy. - */ - public void policy(byte plc) { - this.plc = plc; - } - /** * @return Future ID. */ @@ -241,13 +206,6 @@ public IgniteUuid futureId() { return futId; } - /** - * @param futId Future ID. - */ - public void futureId(IgniteUuid futId) { - this.futId = futId; - } - /** * @return Thread ID. */ @@ -255,13 +213,6 @@ public long threadId() { return threadId; } - /** - * @param threadId Thread ID. - */ - public void threadId(long threadId) { - this.threadId = threadId; - } - /** * @return Commit version. */ @@ -269,13 +220,6 @@ public GridCacheVersion commitVersion() { return commitVer; } - /** - * @param commitVer Commit version. - */ - public void commitVersion(GridCacheVersion commitVer) { - this.commitVer = commitVer; - } - /** * @return Commit flag. */ @@ -283,13 +227,6 @@ public boolean commit() { return commit; } - /** - * @param commit Commit flag. - */ - public void commit(boolean commit) { - this.commit = commit; - } - /** * * @return Invalidate flag. @@ -298,13 +235,6 @@ public boolean isInvalidate() { return invalidate; } - /** - * @param invalidate Invalidate flag. - */ - public void isInvalidate(boolean invalidate) { - this.invalidate = invalidate; - } - /** * @return Base version. */ @@ -312,27 +242,6 @@ public GridCacheVersion baseVersion() { return baseVer; } - /** - * @param baseVer Base version. - */ - public void baseVersion(GridCacheVersion baseVer) { - this.baseVer = baseVer; - } - - /** - * @return Flags. - */ - public byte flags() { - return flags; - } - - /** - * @param flags Flags. - */ - public void flags(byte flags) { - this.flags = flags; - } - /** * * @return {@code True} if reply is required. diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridDistributedTxPrepareRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridDistributedTxPrepareRequest.java index 6de8034d6903d..379fc9bcd1708 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridDistributedTxPrepareRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridDistributedTxPrepareRequest.java @@ -250,13 +250,6 @@ public byte policy() { return plc; } - /** - * @param plc IO policy. - */ - public void policy(byte plc) { - this.plc = plc; - } - /** * Adds version to be verified on remote node. * @@ -284,13 +277,6 @@ public long threadId() { return threadId; } - /** - * @param threadId Thread ID. - */ - public void threadId(long threadId) { - this.threadId = threadId; - } - /** * @return Commit version. */ @@ -298,13 +284,6 @@ public GridCacheVersion writeVersion() { return writeVer; } - /** - * @param writeVer Commit version. - */ - public void writeVersion(GridCacheVersion writeVer) { - this.writeVer = writeVer; - } - /** * @return Invalidate flag. */ @@ -319,13 +298,6 @@ public long timeout() { return timeout; } - /** - * @param timeout Transaction timeout. - */ - public void timeout(long timeout) { - this.timeout = timeout; - } - /** * @return Concurrency. */ @@ -333,13 +305,6 @@ public TransactionConcurrency concurrency() { return concurrency; } - /** - * @param concurrency Concurrency. - */ - public void concurrency(TransactionConcurrency concurrency) { - this.concurrency = concurrency; - } - /** * @return Isolation level. */ @@ -347,13 +312,6 @@ public TransactionIsolation isolation() { return isolation; } - /** - * @param isolation Isolation level. - */ - public void isolation(TransactionIsolation isolation) { - this.isolation = isolation; - } - /** * @return Read set. */ @@ -382,34 +340,6 @@ public void writes(Collection writes) { this.writes = writes; } - /** - * @return DHT version keys. - */ - public Collection dhtVersionKeys() { - return dhtVerKeys; - } - - /** - * @param dhtVerKeys DHT version keys. - */ - public void dhtVersionKeys(Collection dhtVerKeys) { - this.dhtVerKeys = dhtVerKeys; - } - - /** - * @return DHT version values. - */ - public Collection dhtVersionValues() { - return dhtVerVals; - } - - /** - * @param dhtVerVals DHT version values. - */ - public void dhtVersionValues(Collection dhtVerVals) { - this.dhtVerVals = dhtVerVals; - } - /** * @return Expected transaction size. */ @@ -417,41 +347,6 @@ public int txSize() { return txSize; } - /** - * @param txSize Expected transaction size. - */ - public void txSize(int txSize) { - this.txSize = txSize; - } - - /** - * @return Tx nodes direct marshallable message. - */ - public Map txNodesMessages() { - return txNodesMsg; - } - - /** - * @param txNodesMsg Tx nodes direct marshallable message. - */ - public void txNodesMessages(Map txNodesMsg) { - this.txNodesMsg = txNodesMsg; - } - - /** - * @return Flags. - */ - public byte flags() { - return flags; - } - - /** - * @param flags Flags. - */ - public void flags(byte flags) { - this.flags = flags; - } - /** * @return One phase commit flag. */ diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridNearUnlockRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridNearUnlockRequest.java index 9e4a2de3b0348..152f6f75893b2 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridNearUnlockRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridNearUnlockRequest.java @@ -54,13 +54,6 @@ public GridNearUnlockRequest(int cacheId, int keyCnt, boolean addDepInfo) { this.cacheId = cacheId; } - /** - * Sets the keys - */ - public void keys(List keys) { - this.keys = keys; - } - /** * @return Keys. */ diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtAffinityAssignmentRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtAffinityAssignmentRequest.java index 3bcb6532ec220..d2ebcb9835ba1 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtAffinityAssignmentRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtAffinityAssignmentRequest.java @@ -69,20 +69,6 @@ public GridDhtAffinityAssignmentRequest( flags |= SND_PART_STATE_MASK; } - /** - * @return Flags. - */ - public byte flags() { - return flags; - } - - /** - * @param flags Flags. - */ - public void flags(byte flags) { - this.flags = flags; - } - /** * @return {@code True} if need send in response cache partitions state. */ @@ -97,13 +83,6 @@ public long futureId() { return futId; } - /** - * @param futId Future ID. - */ - public void futureId(long futId) { - this.futId = futId; - } - /** {@inheritDoc} */ @Override public boolean addDeploymentInfo() { return false; @@ -121,13 +100,6 @@ public void futureId(long futId) { return topVer; } - /** - * @param topVer Requested topology version. - */ - public void topologyVersion(AffinityTopologyVersion topVer) { - this.topVer = topVer; - } - /** {@inheritDoc} */ @Override public short directType() { return 28; diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtLockRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtLockRequest.java index 067dc4d0d1f8c..6deb563f671d8 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtLockRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtLockRequest.java @@ -178,13 +178,6 @@ public int taskNameHash() { return taskNameHash; } - /** - * @param taskNameHash Task name hash. - */ - public void taskNameHash(int taskNameHash) { - this.taskNameHash = taskNameHash; - } - /** * @return Topology version. */ @@ -192,69 +185,6 @@ public void taskNameHash(int taskNameHash) { return topVer; } - /** - * @param topVer Topology version. - */ - public void topologyVersion(AffinityTopologyVersion topVer) { - this.topVer = topVer; - } - - /** - * @return Invalidate reader flags. - */ - public BitSet invalidateEntries() { - return invalidateEntries; - } - - /** - * @param invalidateEntries Invalidate reader flags. - */ - public void invalidateEntries(BitSet invalidateEntries) { - this.invalidateEntries = invalidateEntries; - } - - /** - * @return Array of keys from {@link #owned}. Used during marshalling and unmarshalling. - */ - public KeyCacheObject[] ownedKeys() { - return ownedKeys; - } - - /** - * @param ownedKeys Array of keys from {@link #owned}. Used during marshalling and unmarshalling. - */ - public void ownedKeys(KeyCacheObject[] ownedKeys) { - this.ownedKeys = ownedKeys; - } - - /** - * @return Array of values from {@link #owned}. Used during marshalling and unmarshalling. - */ - public GridCacheVersion[] ownedValues() { - return ownedValues; - } - - /** - * @param ownedValues Array of values from {@link #owned}. Used during marshalling and unmarshalling. - */ - public void ownedValues(GridCacheVersion[] ownedValues) { - this.ownedValues = ownedValues; - } - - /** - * @return Indexes of keys needed to be preloaded. - */ - public BitSet preloadKeys() { - return preloadKeys; - } - - /** - * @param preloadKeys Indexes of keys needed to be preloaded. - */ - public void preloadKeys(BitSet preloadKeys) { - this.preloadKeys = preloadKeys; - } - /** * Adds a DHT key. * @@ -315,13 +245,6 @@ public IgniteUuid miniId() { return miniId; } - /** - * @param miniId Mini ID. - */ - public void miniId(IgniteUuid miniId) { - this.miniId = miniId; - } - /** * @return TTL for read operation. */ @@ -329,13 +252,6 @@ public long accessTtl() { return accessTtl; } - /** - * @param accessTtl TTL for read operation. - */ - public void accessTtl(long accessTtl) { - this.accessTtl = accessTtl; - } - /** * @return Transaction label. */ @@ -343,13 +259,6 @@ public void accessTtl(long accessTtl) { return txLbl; } - /** - * @param txLbl Transaction label. - */ - public void txLabel(String txLbl) { - this.txLbl = txLbl; - } - /** {@inheritDoc} */ @Override public void prepareMarshal(GridCacheSharedContext ctx) throws IgniteCheckedException { super.prepareMarshal(ctx); diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtTxFinishRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtTxFinishRequest.java index 409ee4f24eb41..d6e5b22b60a82 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtTxFinishRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtTxFinishRequest.java @@ -131,13 +131,6 @@ public int miniId() { return miniId; } - /** - * @param miniId Mini ID. - */ - public void miniId(int miniId) { - this.miniId = miniId; - } - /** * @return Near node ID. */ @@ -145,13 +138,6 @@ public UUID nearNodeId() { return nearNodeId; } - /** - * @param nearNodeId Near node ID. - */ - public void nearNodeId(UUID nearNodeId) { - this.nearNodeId = nearNodeId; - } - /** * @return System invalidate flag. */ @@ -215,13 +201,6 @@ public Collection updateCounters() { return updCntrs; } - /** - * @param updCntrs Partition counters update deferred until transaction commit. - */ - public void updateCounters(Collection updCntrs) { - this.updCntrs = updCntrs; - } - /** {@inheritDoc} */ @Override public short directType() { return 32; diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtTxOnePhaseCommitAckRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtTxOnePhaseCommitAckRequest.java index 189b4f22b93b5..3fbd909658b67 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtTxOnePhaseCommitAckRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtTxOnePhaseCommitAckRequest.java @@ -55,13 +55,6 @@ public Collection versions() { return vers; } - /** - * @param vers Lock or transaction versions. - */ - public void versions(Collection vers) { - this.vers = vers; - } - /** {@inheritDoc} */ @Override public String toString() { return S.toString(GridDhtTxOnePhaseCommitAckRequest.class, this, super.toString()); diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtTxPrepareRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtTxPrepareRequest.java index 211a662a84825..06300deeaec6a 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtTxPrepareRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtTxPrepareRequest.java @@ -190,13 +190,6 @@ public Collection updateCounters() { return updCntrs; } - /** - * @param updCntrs Update counters list. - */ - public void updateCounters(Collection updCntrs) { - this.updCntrs = updCntrs; - } - /** * @return Near cache writes for which cache was not found (possible if client near cache was closed). */ @@ -211,13 +204,6 @@ public GridCacheVersion nearXidVersion() { return nearXidVer; } - /** - * @param nearXidVer Near transaction ID. - */ - public void nearXidVersion(GridCacheVersion nearXidVer) { - this.nearXidVer = nearXidVer; - } - /** * @return Near node ID. */ @@ -225,27 +211,6 @@ public UUID nearNodeId() { return nearNodeId; } - /** - * @param nodeId Near node ID. - */ - public void nearNodeId(UUID nodeId) { - nearNodeId = nodeId; - } - - /** - * @return Invalidate near entries flags. - */ - public BitSet invalidateNearEntries() { - return invalidateNearEntries; - } - - /** - * @param invalidateNearEntries Invalidate near entries flags. - */ - public void invalidateNearEntries(BitSet invalidateNearEntries) { - this.invalidateNearEntries = invalidateNearEntries; - } - /** * @return Task name hash. */ @@ -253,13 +218,6 @@ public int taskNameHash() { return taskNameHash; } - /** - * @param taskNameHash Task name hash. - */ - public void taskNameHash(int taskNameHash) { - this.taskNameHash = taskNameHash; - } - /** * @return Near writes. */ @@ -267,13 +225,6 @@ public Collection nearWrites() { return nearWrites == null ? Collections.emptyList() : nearWrites; } - /** - * @param nearWrites Near writes. - */ - public void nearWrites(Collection nearWrites) { - this.nearWrites = nearWrites; - } - /** * @param idx Entry index to set invalidation flag. * @param invalidate Invalidation flag value. @@ -319,13 +270,6 @@ public IgniteUuid futureId() { return futId; } - /** - * @param futId Future ID. - */ - public void futureId(IgniteUuid futId) { - this.futId = futId; - } - /** * @return Mini future ID. */ @@ -333,13 +277,6 @@ public int miniId() { return miniId; } - /** - * @param miniId Mini future ID. - */ - public void miniId(int miniId) { - this.miniId = miniId; - } - /** * @return Topology version. */ @@ -347,55 +284,6 @@ public void miniId(int miniId) { return topVer; } - /** - * @param topVer Topology version. - */ - public void topologyVersion(AffinityTopologyVersion topVer) { - this.topVer = topVer; - } - - /** - * @return Owned keys. - */ - public Collection ownedKeys() { - return ownedKeys; - } - - /** - * @param ownedKeys Owned keys. - */ - public void ownedKeys(Collection ownedKeys) { - this.ownedKeys = ownedKeys; - } - - /** - * @return Owned values. - */ - public Collection ownedValues() { - return ownedVals; - } - - /** - * @param ownedVals Owned values. - */ - public void ownedValues(Collection ownedVals) { - this.ownedVals = ownedVals; - } - - /** - * @return Preload keys. - */ - public BitSet preloadKeys() { - return preloadKeys; - } - - /** - * @param preloadKeys Preload keys. - */ - public void preloadKeys(BitSet preloadKeys) { - this.preloadKeys = preloadKeys; - } - /** * Sets owner and its mapped version. * @@ -423,13 +311,6 @@ public boolean skipCompletedVersion() { return skipCompletedVers; } - /** - * @param skipCompletedVers {@code True} if remote tx should skip adding itself to completed versions map on finish. - */ - public void skipCompletedVersion(boolean skipCompletedVers) { - this.skipCompletedVers = skipCompletedVers; - } - /** * @return Transaction label. */ @@ -437,13 +318,6 @@ public void skipCompletedVersion(boolean skipCompletedVers) { return txLbl; } - /** - * @param txLbl Transaction label. - */ - public void txLabel(String txLbl) { - this.txLbl = txLbl; - } - /** * {@inheritDoc} * diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtUnlockRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtUnlockRequest.java index 6f6a65082d0d3..eebee53b53e87 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtUnlockRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtUnlockRequest.java @@ -50,13 +50,6 @@ public GridDhtUnlockRequest(int cacheId, int dhtCnt, boolean addDepInfo) { super(cacheId, dhtCnt, addDepInfo); } - /** - * Sets the near. - */ - public void nearKeys(List nearKeys) { - this.nearKeys = nearKeys; - } - /** * @return Near keys. */ diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/PartitionUpdateCountersMessage.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/PartitionUpdateCountersMessage.java index c599082caa60f..363abf815ec30 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/PartitionUpdateCountersMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/PartitionUpdateCountersMessage.java @@ -83,13 +83,6 @@ public int cacheId() { return cacheId; } - /** - * @param cacheId New cache id. - */ - public void cacheId(int cacheId) { - this.cacheId = cacheId; - } - /** * @return Size. */ diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/TransactionAttributesAwareRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/TransactionAttributesAwareRequest.java index 189aafe36c95a..b5c01c8950802 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/TransactionAttributesAwareRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/TransactionAttributesAwareRequest.java @@ -55,21 +55,11 @@ public GridDistributedTxPrepareRequest payload() { return payload; } - /** @param payload Original update message. */ - public void payload(GridDistributedTxPrepareRequest payload) { - this.payload = payload; - } - /** @return Application attributes. */ public Map applicationAttributes() { return appAttrs; } - /** @param appAttrs Application attributes. */ - public void applicationAttributes(Map appAttrs) { - this.appAttrs = appAttrs; - } - /** {@inheritDoc} */ @Override public void prepareMarshal(GridCacheSharedContext ctx) throws IgniteCheckedException { payload.prepareMarshal(ctx); diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/AtomicApplicationAttributesAwareRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/AtomicApplicationAttributesAwareRequest.java index dac5d7ccde67a..6b44d9dec5ea9 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/AtomicApplicationAttributesAwareRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/AtomicApplicationAttributesAwareRequest.java @@ -55,21 +55,11 @@ public GridNearAtomicAbstractUpdateRequest payload() { return payload; } - /** @param payload Original update message. */ - public void payload(GridNearAtomicAbstractUpdateRequest payload) { - this.payload = payload; - } - /** @return Application attributes. */ public Map applicationAttributes() { return appAttrs; } - /** @param appAttrs Application attributes. */ - public void applicationAttributes(Map appAttrs) { - this.appAttrs = appAttrs; - } - /** {@inheritDoc} */ @Override public void prepareMarshal(GridCacheSharedContext ctx) throws IgniteCheckedException { payload.prepareMarshal(ctx); diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/GridDhtAtomicAbstractUpdateRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/GridDhtAtomicAbstractUpdateRequest.java index 380c43e3854e5..b13bac3c793f7 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/GridDhtAtomicAbstractUpdateRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/GridDhtAtomicAbstractUpdateRequest.java @@ -142,13 +142,6 @@ protected GridDhtAtomicAbstractUpdateRequest(int cacheId, return topVer; } - /** - * @param topVer New topology version. - */ - public void topologyVersion(AffinityTopologyVersion topVer) { - this.topVer = topVer; - } - /** * @param nearNodeId Near node ID. * @param nearFutId Future ID on near node. @@ -181,13 +174,6 @@ public UUID nearNodeId() { return nearNodeId; } - /** - * @param nearNodeId New near node id. - */ - public void nearNodeId(UUID nearNodeId) { - this.nearNodeId = nearNodeId; - } - /** {@inheritDoc} */ @Override public int lookupIndex() { return CACHE_MSG_IDX; @@ -207,13 +193,6 @@ public final byte flags() { return flags; } - /** - * @param flags New additional flags. - */ - public void flags(byte flags) { - this.flags = flags; - } - /** * @return Keep binary flag. */ @@ -319,13 +298,6 @@ public final int taskNameHash() { return taskNameHash; } - /** - * @param taskNameHash New task name hash. - */ - public void taskNameHash(int taskNameHash) { - this.taskNameHash = taskNameHash; - } - /** * @return Future ID on primary node. */ @@ -333,13 +305,6 @@ public final long futureId() { return futId; } - /** - * @param futId New future ID on primary node. - */ - public void futureId(long futId) { - this.futId = futId; - } - /** * @return Future ID on near node. */ @@ -347,13 +312,6 @@ public final long nearFutureId() { return nearFutId; } - /** - * @param nearFutId New near future id. - */ - public void nearFutureId(long nearFutId) { - this.nearFutId = nearFutId; - } - /** * @return Write version. */ @@ -361,13 +319,6 @@ public final GridCacheVersion writeVersion() { return writeVer; } - /** - * @param writeVer New write version. - */ - public void writeVersion(GridCacheVersion writeVer) { - this.writeVer = writeVer; - } - /** * @return Keys size. */ diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/GridDhtAtomicSingleUpdateRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/GridDhtAtomicSingleUpdateRequest.java index 47fb12d26ef8e..c1c5045bea81d 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/GridDhtAtomicSingleUpdateRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/GridDhtAtomicSingleUpdateRequest.java @@ -210,20 +210,6 @@ private void near(boolean near) { return near() ? null : key; } - /** - * @return Key to update. - */ - public KeyCacheObject key() { - return key; - } - - /** - * @param key New key to update. - */ - public void key(KeyCacheObject key) { - this.key = key; - } - /** {@inheritDoc} */ @Override public int obsoleteNearKeysSize() { return isFlag(DHT_ATOMIC_OBSOLETE_NEAR_KEY_FLAG_MASK) ? 1 : 0; @@ -252,20 +238,6 @@ public void key(KeyCacheObject key) { return updateCntr; } - /** - * @return Update counter. - */ - public long updateCounter() { - return updateCntr; - } - - /** - * @param updateCntr Update counter. - */ - public void updateCounter(long updateCntr) { - this.updateCntr = updateCntr; - } - /** {@inheritDoc} */ @Override public KeyCacheObject nearKey(int idx) { assert idx == 0 : idx; @@ -280,20 +252,6 @@ public void updateCounter(long updateCntr) { return near() ? null : val; } - /** - * @return Cache object value. - */ - public CacheObject value() { - return val; - } - - /** - * @param val Cache object value to update. - */ - public void value(CacheObject val) { - this.val = val; - } - /** {@inheritDoc} */ @Override @Nullable public CacheObject previousValue(int idx) { assert idx == 0 : idx; @@ -301,20 +259,6 @@ public void value(CacheObject val) { return prevVal; } - /** - * @return Previous value. - */ - public CacheObject previousValue() { - return prevVal; - } - - /** - * @param prevVal New previous value. - */ - public void previousValue(CacheObject prevVal) { - this.prevVal = prevVal; - } - /** {@inheritDoc} */ @Override @Nullable public CacheObject nearValue(int idx) { assert idx == 0 : idx; diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/GridDhtAtomicUpdateRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/GridDhtAtomicUpdateRequest.java index b7439c3a2c214..6a5f90debd080 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/GridDhtAtomicUpdateRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/GridDhtAtomicUpdateRequest.java @@ -321,13 +321,6 @@ else if (conflictVers != null) return forceTransformBackups; } - /** - * @param forceTransformBackups New force transform backups flag. - */ - public void forceTransformBackups(boolean forceTransformBackups) { - this.forceTransformBackups = forceTransformBackups; - } - /** {@inheritDoc} */ @Override public int size() { return keys.size(); @@ -353,20 +346,6 @@ public void forceTransformBackups(boolean forceTransformBackups) { return keys.get(idx); } - /** - * @return Keys to update. - */ - public List keys() { - return keys; - } - - /** - * @param keys New keys to update. - */ - public void keys(List keys) { - this.keys = keys; - } - /** {@inheritDoc} */ @Override public Long updateCounter(int updCntr) { if (updateCntrs != null && updCntr < updateCntrs.size()) @@ -380,20 +359,6 @@ public void keys(List keys) { return nearKeys.get(idx); } - /** - * @return Near cache keys to update. - */ - public List nearKeys() { - return nearKeys; - } - - /** - * @param nearKeys New near cache keys to update. - */ - public void nearKeys(List nearKeys) { - this.nearKeys = nearKeys; - } - /** {@inheritDoc} */ @Override @Nullable public CacheObject value(int idx) { if (vals != null) @@ -402,20 +367,6 @@ public void nearKeys(List nearKeys) { return null; } - /** - * @return Values to update. - */ - public List values() { - return vals; - } - - /** - * @param vals New values to update. - */ - public void values(List vals) { - this.vals = vals; - } - /** {@inheritDoc} */ @Override @Nullable public CacheObject previousValue(int idx) { if (prevVals != null) @@ -424,20 +375,6 @@ public void values(List vals) { return null; } - /** - * @return Previous values. - */ - public List previousValues() { - return prevVals; - } - - /** - * @param prevVals New previous values. - */ - public void previousValues(List prevVals) { - this.prevVals = prevVals; - } - /** {@inheritDoc} */ @Override @Nullable public EntryProcessor entryProcessor(int idx) { return entryProcessors == null ? null : entryProcessors.get(idx); @@ -451,20 +388,6 @@ public void previousValues(List prevVals) { return null; } - /** - * @return Values to update. - */ - public List nearValues() { - return nearVals; - } - - /** - * @param nearVals New values to update. - */ - public void nearValues(List nearVals) { - this.nearVals = nearVals; - } - /** {@inheritDoc} */ @Override @Nullable public EntryProcessor nearEntryProcessor(int idx) { return nearEntryProcessors == null ? null : nearEntryProcessors.get(idx); @@ -481,20 +404,6 @@ public void nearValues(List nearVals) { return null; } - /** - * @return Conflict versions. - */ - public List conflictVersions() { - return conflictVers; - } - - /** - * @param conflictVers New conflict versions. - */ - public void conflictVersions(List conflictVers) { - this.conflictVers = conflictVers; - } - /** {@inheritDoc} */ @Override public long ttl(int idx) { if (ttls != null) { @@ -506,20 +415,6 @@ public void conflictVersions(List conflictVers) { return CU.TTL_NOT_CHANGED; } - /** - * @return TTLs. - */ - public GridLongList ttls() { - return ttls; - } - - /** - * @param ttls New TTLs. - */ - public void ttls(GridLongList ttls) { - this.ttls = ttls; - } - /** {@inheritDoc} */ @Override public long nearTtl(int idx) { if (nearTtls != null) { @@ -531,20 +426,6 @@ public void ttls(GridLongList ttls) { return CU.TTL_NOT_CHANGED; } - /** - * @return Near TTLs. - */ - public GridLongList nearTtls() { - return nearTtls; - } - - /** - * @param nearTtls New near TTLs. - */ - public void nearTtls(GridLongList nearTtls) { - this.nearTtls = nearTtls; - } - /** {@inheritDoc} */ @Override public int partition() { assert !F.isEmpty(keys) || !F.isEmpty(nearKeys); @@ -567,20 +448,6 @@ public void nearTtls(GridLongList nearTtls) { return CU.EXPIRE_TIME_CALCULATE; } - /** - * @return Conflict expire times. - */ - public GridLongList conflictExpireTimes() { - return conflictExpireTimes; - } - - /** - * @param conflictExpireTimes New conflict expire times. - */ - public void conflictExpireTimes(GridLongList conflictExpireTimes) { - this.conflictExpireTimes = conflictExpireTimes; - } - /** {@inheritDoc} */ @Override public long nearExpireTime(int idx) { if (nearExpireTimes != null) { @@ -592,90 +459,6 @@ public void conflictExpireTimes(GridLongList conflictExpireTimes) { return CU.EXPIRE_TIME_CALCULATE; } - /** - * @return Near expire times. - */ - public GridLongList nearExpireTimes() { - return nearExpireTimes; - } - - /** - * @param nearExpireTimes New near expire times. - */ - public void nearExpireTimes(GridLongList nearExpireTimes) { - this.nearExpireTimes = nearExpireTimes; - } - - /** - * @return Obsolete near values. - */ - public List obsoleteIndexes() { - return obsoleteIndexes; - } - - /** - * @param obsoleteIndexes New obsolete near values. - */ - public void obsoleteIndexes(List obsoleteIndexes) { - this.obsoleteIndexes = obsoleteIndexes; - } - - /** - * @return Partition update counters. - */ - public GridLongList updateCounters() { - return updateCntrs; - } - - /** - * @param updateCntrs New partition update counters. - */ - public void updateCounters(GridLongList updateCntrs) { - this.updateCntrs = updateCntrs; - } - - /** - * @return Serialized entry processors. - */ - public List entryProcessorsBytes() { - return entryProcessorsBytes; - } - - /** - * @param entryProcessorsBytes New entry processors. - */ - public void entryProcessorsBytes(List entryProcessorsBytes) { - this.entryProcessorsBytes = entryProcessorsBytes; - } - - /** - * @return Serialized near entry processors. - */ - public List nearEntryProcessorsBytes() { - return nearEntryProcessorsBytes; - } - - /** - * @param nearEntryProcessorsBytes New serialized near entry processors. - */ - public void nearEntryProcessorsBytes(List nearEntryProcessorsBytes) { - this.nearEntryProcessorsBytes = nearEntryProcessorsBytes; - } - - /** - * @return Serialized optional entry processor arguments. - */ - public List invokeArgumentsBytes() { - return invokeArgsBytes; - } - - /** - * @param invokeArgsBytes New serialized optional entry processor arguments. - */ - public void invokeArgumentsBytes(List invokeArgsBytes) { - this.invokeArgsBytes = invokeArgsBytes; - } - /** {@inheritDoc} */ @Override @Nullable public Object[] invokeArguments() { return invokeArgs; diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/GridNearAtomicAbstractUpdateRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/GridNearAtomicAbstractUpdateRequest.java index 99e61a6c74b04..cc39e3a54e921 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/GridNearAtomicAbstractUpdateRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/GridNearAtomicAbstractUpdateRequest.java @@ -215,11 +215,6 @@ public boolean nearCache() { return isFlag(NEAR_CACHE_FLAG_MASK); } - /** Sets new topology version. */ - public void topologyVersion(AffinityTopologyVersion topVer) { - this.topVer = topVer; - } - /** {@inheritDoc} */ @Override public final AffinityTopologyVersion topologyVersion() { return topVer; @@ -277,27 +272,6 @@ public int taskNameHash() { return taskNameHash; } - /** - * Sets task name hash code. - */ - public void taskNameHash(int taskNameHash) { - this.taskNameHash = taskNameHash; - } - - /** - * @return Compressed boolean flags. - */ - public short flags() { - return flags; - } - - /** - * @param flags New compressed boolean flags. - */ - public void flags(short flags) { - this.flags = flags; - } - /** * @return Cache update operation. */ @@ -305,25 +279,11 @@ public GridCacheOperation operation() { return op; } - /** - * @param op Cache update operation. - */ - public void operation(GridCacheOperation op) { - this.op = op; - } - /** @return Write synchronization mode. */ public CacheWriteSynchronizationMode writeSynchronizationMode() { return syncMode; } - /** - * @param syncMode Write synchronization mode. - */ - public void writeSynchronizationMode(CacheWriteSynchronizationMode syncMode) { - this.syncMode = syncMode; - } - /** * @return Target node ID. */ @@ -338,13 +298,6 @@ public long futureId() { return futId; } - /** - * Sets near node future ID. - */ - public void futureId(long futId) { - this.futId = futId; - } - /** * @param res Response. * @return {@code True} if current response was {@code null}. diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/GridNearAtomicCheckUpdateRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/GridNearAtomicCheckUpdateRequest.java index e288b13eb6f73..ff6fead509a48 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/GridNearAtomicCheckUpdateRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/GridNearAtomicCheckUpdateRequest.java @@ -67,14 +67,6 @@ public final long futureId() { return futId; } - /** - * @param futId Future ID on near node. - */ - public void futureId(long futId) { - this.futId = futId; - } - - /** * @return Related update request. */ @@ -87,13 +79,6 @@ GridNearAtomicAbstractUpdateRequest updateRequest() { return partId; } - /** - * @param partId Partition ID this message is targeted to or {@code -1} if it cannot be determined. - */ - public void partition(int partId) { - this.partId = partId; - } - /** {@inheritDoc} */ @Override public int lookupIndex() { return CACHE_MSG_IDX; diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/GridNearAtomicFullUpdateRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/GridNearAtomicFullUpdateRequest.java index 55857aaa4c077..06dbcab7c6f23 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/GridNearAtomicFullUpdateRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/GridNearAtomicFullUpdateRequest.java @@ -238,13 +238,6 @@ else if (conflictVers != null) return keys; } - /** - * @param keys Keys to update. - */ - public void keys(List keys) { - this.keys = keys; - } - /** {@inheritDoc} */ @Override public int size() { assert keys != null; @@ -289,13 +282,6 @@ public void keys(List keys) { return conflictVers; } - /** - * @param conflictVers Conflict versions. - */ - public void conflictVersions(@Nullable List conflictVers) { - this.conflictVers = conflictVers; - } - /** {@inheritDoc} */ @Override @Nullable public GridCacheVersion conflictVersion(int idx) { if (conflictVers != null) { @@ -339,13 +325,6 @@ public void conflictVersions(@Nullable List conflictVers) { return filter; } - /** - * @param filter Filter. - */ - public void filter(@Nullable CacheEntryPredicate[] filter) { - this.filter = filter; - } - /** {@inheritDoc} */ @Override public ExpiryPolicy expiry() { return expiryPlc; @@ -428,90 +407,6 @@ public void filter(@Nullable CacheEntryPredicate[] filter) { return keys.get(0).partition(); } - /** - * @return Values to update. - */ - public List valuesToUpdate() { - return vals; - } - - /** - * @param vals Values to update. - */ - public void valuesToUpdate(List vals) { - this.vals = vals; - } - - /** - * @return Entry processors bytes. - */ - public @Nullable List entryProcessorsBytes() { - return entryProcessorsBytes; - } - - /** - * @param entryProcessorsBytes Entry processors bytes. - */ - public void entryProcessorsBytes(@Nullable List entryProcessorsBytes) { - this.entryProcessorsBytes = entryProcessorsBytes; - } - - /** - * @return Conflict TTLs. - */ - public GridLongList conflictTtls() { - return conflictTtls; - } - - /** - * @param conflictTtls Conflict TTLs. - */ - public void conflictTtls(GridLongList conflictTtls) { - this.conflictTtls = conflictTtls; - } - - /** - * @return Conflict expire times. - */ - public GridLongList conflictExpireTimes() { - return conflictExpireTimes; - } - - /** - * @param conflictExpireTimes Conflict expire times. - */ - public void conflictExpireTimes(GridLongList conflictExpireTimes) { - this.conflictExpireTimes = conflictExpireTimes; - } - - /** - * @return Entry processor arguments bytes. - */ - public @Nullable List invokeArgumentsBytes() { - return invokeArgsBytes; - } - - /** - * @param invokeArgsBytes Entry processor arguments bytes. - */ - public void invokeArgumentsBytes(@Nullable List invokeArgsBytes) { - this.invokeArgsBytes = invokeArgsBytes; - } - - /** - * @return Expiry policy bytes. - */ - public @Nullable byte[] expiryPolicyBytes() { - return expiryPlcBytes; - } - - /** - * @param expiryPlcBytes Expiry policy bytes. - */ - public void expiryPolicyBytes(@Nullable byte[] expiryPlcBytes) { - this.expiryPlcBytes = expiryPlcBytes; - } - /** {@inheritDoc} */ @Override public void cleanup(boolean clearKeys) { vals = null; diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/GridNearAtomicSingleUpdateFilterRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/GridNearAtomicSingleUpdateFilterRequest.java index 8a215625f077c..bc9ee23343469 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/GridNearAtomicSingleUpdateFilterRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/GridNearAtomicSingleUpdateFilterRequest.java @@ -89,11 +89,6 @@ public GridNearAtomicSingleUpdateFilterRequest() { this.filter = filter; } - /** */ - public void filter(CacheEntryPredicate[] filter) { - this.filter = filter; - } - /** {@inheritDoc} */ @Override @Nullable public CacheEntryPredicate[] filter() { return filter; diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/GridNearAtomicSingleUpdateInvokeRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/GridNearAtomicSingleUpdateInvokeRequest.java index f1b329ea99e49..3110cf9e3f5ec 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/GridNearAtomicSingleUpdateInvokeRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/GridNearAtomicSingleUpdateInvokeRequest.java @@ -162,26 +162,6 @@ public GridNearAtomicSingleUpdateInvokeRequest() { return invokeArgs; } - /** */ - public @Nullable byte[] entryProcessorBytes() { - return entryProcBytes; - } - - /** */ - public void entryProcessorBytes(@Nullable byte[] entryProcBytes) { - this.entryProcBytes = entryProcBytes; - } - - /** */ - public @Nullable List invokeArgumentsBytes() { - return invokeArgsBytes; - } - - /** */ - public void invokeArgumentsBytes(@Nullable List invokeArgsBytes) { - this.invokeArgsBytes = invokeArgsBytes; - } - /** {@inheritDoc} */ @Override public void prepareMarshal(GridCacheSharedContext ctx) throws IgniteCheckedException { super.prepareMarshal(ctx); diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/GridNearAtomicSingleUpdateRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/GridNearAtomicSingleUpdateRequest.java index 7da56fdb284fa..8c7a6fbc5e575 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/GridNearAtomicSingleUpdateRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/GridNearAtomicSingleUpdateRequest.java @@ -145,20 +145,6 @@ public GridNearAtomicSingleUpdateRequest() { return Collections.singletonList(key); } - /** - * @param key Key to update. - */ - public void key(KeyCacheObject key) { - this.key = key; - } - - /** - * @return Key to update. - */ - public KeyCacheObject key() { - return key; - } - /** {@inheritDoc} */ @Override public KeyCacheObject key(int idx) { assert idx == 0 : idx; @@ -171,20 +157,6 @@ public KeyCacheObject key() { return Collections.singletonList(val); } - /** - * @return Cache object value to update. - */ - public CacheObject value() { - return val; - } - - /** - * @param val Cache object value to update. - */ - public void value(CacheObject val) { - this.val = val; - } - /** {@inheritDoc} */ @Override public CacheObject value(int idx) { assert idx == 0 : idx; diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/CacheGroupAffinityMessage.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/CacheGroupAffinityMessage.java index 00b88604a51fd..540e56e5156f6 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/CacheGroupAffinityMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/CacheGroupAffinityMessage.java @@ -234,34 +234,6 @@ private List> createAssignments(List assigns, return assignments0; } - /** - * @return Assignment. - */ - public List assignments() { - return assigns; - } - - /** - * @param assigns Assignment. - */ - public void assignments(List assigns) { - this.assigns = assigns; - } - - /** - * @return Ideal assignment. - */ - public List idealAssignments() { - return idealAssigns; - } - - /** - * @param idealAssigns Ideal assignment. - */ - public void idealAssignments(List idealAssigns) { - this.idealAssigns = idealAssigns; - } - /** * @return Difference with ideal affinity assignment. */ @@ -269,13 +241,6 @@ public Map assignmentsDiff() { return assignsDiff; } - /** - * @param assignsDiff Difference with ideal affinity assignment. - */ - public void assignmentsDiff(Map assignsDiff) { - this.assignsDiff = assignsDiff; - } - /** {@inheritDoc} */ @Override public short directType() { return 128; diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtForceKeysRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtForceKeysRequest.java index 7c323a019b77a..e780c631a2d2f 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtForceKeysRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtForceKeysRequest.java @@ -95,13 +95,6 @@ public IgniteUuid futureId() { return futId; } - /** - * @param futId Future ID. - */ - public void futureId(IgniteUuid futId) { - this.futId = futId; - } - /** * @return Mini-future ID. */ @@ -109,13 +102,6 @@ public IgniteUuid miniId() { return miniId; } - /** - * @param miniId Mini-future ID. - */ - public void miniId(IgniteUuid miniId) { - this.miniId = miniId; - } - /** * @return Keys. */ @@ -123,13 +109,6 @@ public Collection keys() { return keys; } - /** - * @param keys Keys. - */ - public void keys(Collection keys) { - this.keys = keys; - } - /** * @return Topology version for which keys are requested. */ @@ -137,13 +116,6 @@ public void keys(Collection keys) { return topVer; } - /** - * @param topVer Topology version for which keys are requested. - */ - public void topologyVersion(AffinityTopologyVersion topVer) { - this.topVer = topVer; - } - /** {@inheritDoc} */ @Override public void prepareMarshal(GridCacheSharedContext ctx) throws IgniteCheckedException { super.prepareMarshal(ctx); diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtPartitionDemandMessage.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtPartitionDemandMessage.java index 3b074137445ee..b299f431afd37 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtPartitionDemandMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtPartitionDemandMessage.java @@ -101,13 +101,6 @@ public IgniteDhtDemandedPartitionsMap partitions() { return parts; } - /** - * @param parts Partitions. - */ - public void partitions(IgniteDhtDemandedPartitionsMap parts) { - this.parts = parts; - } - /** * @param updateSeq Update sequence. */ @@ -136,20 +129,6 @@ public void timeout(long timeout) { this.timeout = timeout; } - /** - * @return Worker ID. - */ - public int workerId() { - return workerId; - } - - /** - * @param workerId Worker ID. - */ - public void workerId(int workerId) { - this.workerId = workerId; - } - /** * @return Topology version for which demand message is sent. */ @@ -157,13 +136,6 @@ public void workerId(int workerId) { return topVer; } - /** - * @param topVer Topology version for which demand message is sent. - */ - public void topologyVersion(AffinityTopologyVersion topVer) { - this.topVer = topVer; - } - /** {@inheritDoc} */ @Override public boolean addDeploymentInfo() { return false; diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtPartitionSupplyMessage.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtPartitionSupplyMessage.java index fe44d824938ca..d697eb90b6c9e 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtPartitionSupplyMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtPartitionSupplyMessage.java @@ -130,13 +130,6 @@ public long rebalanceId() { return rebalanceId; } - /** - * @param rebalanceId New unique (per demander) rebalance id. - */ - public void rebalanceId(long rebalanceId) { - this.rebalanceId = rebalanceId; - } - /** * @return Topology version for which demand message is sent. */ @@ -144,13 +137,6 @@ public void rebalanceId(long rebalanceId) { return topVer; } - /** - * @param topVer New topology version for which demand message is sent. - */ - public void topologyVersion(AffinityTopologyVersion topVer) { - this.topVer = topVer; - } - /** * @return Partitions that have been fully sent. */ @@ -158,13 +144,6 @@ public Map last() { return last; } - /** - * @param last New map of partitions that have been fully sent. - */ - public void last(Map last) { - this.last = last; - } - /** * @param p Partition which was fully sent. */ @@ -199,13 +178,6 @@ public Collection missed() { return missed; } - /** - * @param missed New partitions which were not found. - */ - public void missed(Collection missed) { - this.missed = missed; - } - /** * @return Entries. */ @@ -216,39 +188,11 @@ public Map getInfosSafe() { return infos; } - /** - * @return Entries. - */ - public Map infos() { - return infos; - } - - /** - * @param infos New entries. - */ - public void infos(Map infos) { - this.infos = infos; - } - /** Supplying process error. */ @Nullable @Override public Throwable error() { return ErrorMessage.error(errMsg); } - /** - * @return Supplying process error message. - */ - @Nullable public ErrorMessage errorMessage() { - return errMsg; - } - - /** - * @param errMsg New supplying process error message. - */ - public void errorMessage(@Nullable ErrorMessage errMsg) { - this.errMsg = errMsg; - } - /** * @return Message size. */ @@ -256,13 +200,6 @@ public int messageSize() { return msgSize; } - /** - * @param msgSize New message size. - */ - public void messageSize(int msgSize) { - this.msgSize = msgSize; - } - /** * @param p Partition. * @param historical {@code True} if partition rebalancing using WAL history. diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtPartitionsAbstractMessage.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtPartitionsAbstractMessage.java index 023683fc1cb3c..c03ef06bac717 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtPartitionsAbstractMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtPartitionsAbstractMessage.java @@ -107,27 +107,6 @@ public void exchangeId(GridDhtPartitionExchangeId exchId) { return lastVer; } - /** - * @param lastVer Last used version among all nodes. - */ - public void lastVersion(GridCacheVersion lastVer) { - this.lastVer = lastVer; - } - - /** - * @return Flags. - */ - public byte flags() { - return flags; - } - - /** - * @param flags Flags. - */ - public void flags(byte flags) { - this.flags = flags; - } - /** * @return {@code True} if message data is compressed. */ diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtPartitionsFullMessage.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtPartitionsFullMessage.java index 47a581b4a5689..0a6da4ecc8838 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtPartitionsFullMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtPartitionsFullMessage.java @@ -257,20 +257,6 @@ public Map partitions() { return parts; } - /** - * @return Serialized local partitions. - */ - public byte[] partitionBytes() { - return partsBytes; - } - - /** - * @param partsBytes Serialized local partitions. - */ - public void partitionBytes(byte[] partsBytes) { - this.partsBytes = partsBytes; - } - /** * @param grpId Cache group ID. * @return {@code True} if message contains full map for given cache. @@ -361,13 +347,6 @@ public IgniteDhtPartitionHistorySuppliersMap partitionHistorySuppliers() { return partHistSuppliers; } - /** - * @param partHistSuppliers Partitions history suppliers. - */ - public void partitionHistorySuppliers(IgniteDhtPartitionHistorySuppliersMap partHistSuppliers) { - this.partHistSuppliers = partHistSuppliers; - } - /** * */ @@ -436,76 +415,6 @@ public void rebalanced(boolean rebalanced) { flags = rebalanced ? (byte)(flags | REBALANCED_FLAG_MASK) : (byte)(flags & ~REBALANCED_FLAG_MASK); } - /** - * @return Duplicated partitions data. - */ - public Map duplicatedPartitionsData() { - return dupPartsData; - } - - /** - * @param dupPartsData Duplicated partitions data. - */ - public void duplicatedPartitionsData(Map dupPartsData) { - this.dupPartsData = dupPartsData; - } - - /** - * @return Partitions update counters. - */ - public IgniteDhtPartitionCountersMap partitionCounters() { - return partCntrs; - } - - /** - * @param partCntrs Partitions update counters. - */ - public void partitionCounters(IgniteDhtPartitionCountersMap partCntrs) { - this.partCntrs = partCntrs; - } - - /** - * @return Partitions that must be cleared and re-loaded. - */ - public IgniteDhtPartitionsToReloadMap partitionsToReload() { - return partsToReload; - } - - /** - * @param partsToReload Partitions that must be cleared and re-loaded. - */ - public void partitionsToReload(IgniteDhtPartitionsToReloadMap partsToReload) { - this.partsToReload = partsToReload; - } - - /** - * @return Rebalanced flags. - */ - public byte rebalancedFlags() { - return flags; - } - - /** - * @param flags Rebalanced flags. - */ - public void rebalancedFlags(byte flags) { - this.flags = flags; - } - - /** - * @return Lost partitions. - */ - public Map lostPartitions() { - return lostParts; - } - - /** - * @param lostParts Lost partitions. - */ - public void lostPartitions(Map lostParts) { - this.lostParts = lostParts; - } - /** {@inheritDoc} */ @Override public void prepareMarshal(GridCacheSharedContext ctx) throws IgniteCheckedException { super.prepareMarshal(ctx); diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtPartitionsSingleMessage.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtPartitionsSingleMessage.java index 17ef40ee2b333..53d9918569ad2 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtPartitionsSingleMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtPartitionsSingleMessage.java @@ -147,13 +147,6 @@ public void cacheGroupsAffinityRequest(Collection grpsAffReq) { return grpsAffReq; } - /** - * @param client {@code True} if sent from client node. - */ - public void client(boolean client) { - this.client = client; - } - /** * @return {@code True} if sent from client node. */ @@ -161,20 +154,6 @@ public boolean client() { return client; } - /** - * @return Duplicated partitions data. - */ - public Map duplicatedPartitionsData() { - return dupPartsData; - } - - /** - * @param dupPartsData Duplicated partitions data. - */ - public void duplicatedPartitionsData(Map dupPartsData) { - this.dupPartsData = dupPartsData; - } - /** * @param cacheId Cache ID to add local partition for. * @param locMap Local partition map. @@ -209,13 +188,6 @@ public void addPartitionUpdateCounters(int grpId, CachePartitionPartialCountersM partCntrs.put(grpId, cntrMap); } - /** - * @param partCntrs Partition update counters per cache group. - */ - public void partitionUpdateCounters(Map partCntrs) { - this.partCntrs = partCntrs; - } - /** @return Partition update counters per cache group. */ public Map partitionUpdateCounters() { return partCntrs; @@ -262,34 +234,6 @@ public Map partitionSizes(int grpId) { return sizesMap != null ? F.emptyIfNull(sizesMap.map()) : Collections.emptyMap(); } - /** - * @return Partitions sizes. - */ - public Map partitionSizesMap() { - return partsSizes; - } - - /** - * @param partsSizes Partitions sizes. - */ - public void partitionSizesMap(Map partsSizes) { - this.partsSizes = partsSizes; - } - - /** - * @return Partitions history reservation counters. - */ - public Map partitionHistoryCountersMap() { - return partHistCntrs; - } - - /** - * @param partHistCntrs Partitions history reservation counters. - */ - public void partitionHistoryCountersMap(Map partHistCntrs) { - this.partHistCntrs = partHistCntrs; - } - /** * @param cntrMap Partition history counters. */ @@ -331,34 +275,6 @@ public Map partitions() { return parts; } - /** - * @return Serialized local partitions. - */ - public byte[] partitionBytes() { - return partsBytes; - } - - /** - * @param partsBytes Serialized local partitions. - */ - public void partitionBytes(byte[] partsBytes) { - this.partsBytes = partsBytes; - } - - /** - * @return Error message. - */ - public ErrorMessage errorMessage() { - return errMsg; - } - - /** - * @param errMsg Error message. - */ - public void errorMessage(ErrorMessage errMsg) { - this.errMsg = errMsg; - } - /** * @param ex Exception. */ diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtPartitionsSingleRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtPartitionsSingleRequest.java index 8f6a3ab87643c..ada0395b13117 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtPartitionsSingleRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtPartitionsSingleRequest.java @@ -65,13 +65,6 @@ public GridDhtPartitionExchangeId restoreExchangeId() { return restoreExchId; } - /** - * @param restoreExchId ID of current exchange on new coordinator. - */ - public void restoreExchangeId(GridDhtPartitionExchangeId restoreExchId) { - this.restoreExchId = restoreExchId; - } - /** {@inheritDoc} */ @Override public short directType() { return 48; diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/latch/LatchAckMessage.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/latch/LatchAckMessage.java index 31f402a598f73..32e3618603b2a 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/latch/LatchAckMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/latch/LatchAckMessage.java @@ -62,13 +62,6 @@ public String latchId() { return latchId; } - /** - * @param latchId New latch id. - */ - public void latchId(String latchId) { - this.latchId = latchId; - } - /** * @return Latch topology version. */ @@ -76,13 +69,6 @@ public AffinityTopologyVersion topVer() { return topVer; } - /** - * @param topVer New latch topology version. - */ - public void topVer(AffinityTopologyVersion topVer) { - this.topVer = topVer; - } - /** * @return {@code} if ack is final. */ @@ -90,13 +76,6 @@ public boolean isFinal() { return isFinal; } - /** - * @param isFinal New flag indicates that ack is final. - */ - public void isFinal(boolean isFinal) { - this.isFinal = isFinal; - } - /** {@inheritDoc} */ @Override public short directType() { return 135; diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/near/GridNearGetRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/near/GridNearGetRequest.java index 3c17e4192a487..d5a62826e9280 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/near/GridNearGetRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/near/GridNearGetRequest.java @@ -193,13 +193,6 @@ public IgniteUuid futureId() { return futId; } - /** - * @param futId Future ID. - */ - public void futureId(IgniteUuid futId) { - this.futId = futId; - } - /** * @return Sub ID. */ @@ -207,13 +200,6 @@ public IgniteUuid miniId() { return miniId; } - /** - * @param miniId Sub ID. - */ - public void miniId(IgniteUuid miniId) { - this.miniId = miniId; - } - /** * Gets task name hash. * @@ -223,25 +209,11 @@ public int taskNameHash() { return taskNameHash; } - /** - * @param taskNameHash Task name hash. - */ - public void taskNameHash(int taskNameHash) { - this.taskNameHash = taskNameHash; - } - /** {@inheritDoc} */ @Override public GridCacheVersion version() { return ver; } - /** - * @param ver Version. - */ - public void version(GridCacheVersion ver) { - this.ver = ver; - } - /** * @return Keys. */ @@ -249,48 +221,6 @@ public LinkedHashMap keyMap() { return keyMap; } - /** - * @return Keys. - */ - public List keys() { - return keys; - } - - /** - * @param keys Keys. - */ - public void keys(List keys) { - this.keys = keys; - } - - /** - * @return Readers flags. - */ - public List readersFlags() { - return readersFlags; - } - - /** - * @param readersFlags Readers flags. - */ - public void readersFlags(List readersFlags) { - this.readersFlags = readersFlags; - } - - /** - * @return Flags. - */ - public byte flags() { - return flags; - } - - /** - * @param flags Flags. - */ - public void flags(byte flags) { - this.flags = flags; - } - /** * @return Read through flag. */ @@ -325,13 +255,6 @@ public boolean addReaders() { return topVer; } - /** - * @param topVer Topology version. - */ - public void topologyVersion(AffinityTopologyVersion topVer) { - this.topVer = topVer; - } - /** * @return New TTL to set after entry is created, -1 to leave unchanged. */ @@ -339,13 +262,6 @@ public long createTtl() { return createTtl; } - /** - * @param createTtl New TTL to set after entry is created, -1 to leave unchanged. - */ - public void createTtl(long createTtl) { - this.createTtl = createTtl; - } - /** * @return New TTL to set after entry is accessed, -1 to leave unchanged. */ @@ -353,13 +269,6 @@ public long accessTtl() { return accessTtl; } - /** - * @param accessTtl New TTL to set after entry is accessed, -1 to leave unchanged. - */ - public void accessTtl(long accessTtl) { - this.accessTtl = accessTtl; - } - /** {@inheritDoc} */ @Override public int partition() { return keys != null && !keys.isEmpty() ? keys.get(0).partition() : -1; @@ -374,13 +283,6 @@ public void accessTtl(long accessTtl) { return txLbl; } - /** - * @param txLbl Possible transaction label. - */ - public void txLabel(String txLbl) { - this.txLbl = txLbl; - } - /** * @param ctx Cache context. * @throws IgniteCheckedException If failed. diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/near/GridNearLockRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/near/GridNearLockRequest.java index 8052e926d7bca..71e5187653b15 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/near/GridNearLockRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/near/GridNearLockRequest.java @@ -228,13 +228,6 @@ public int taskNameHash() { return taskNameHash; } - /** - * @param taskNameHash Task name hash. - */ - public void taskNameHash(int taskNameHash) { - this.taskNameHash = taskNameHash; - } - /** * @return Sync commit flag. */ @@ -277,20 +270,6 @@ public void addKeyBytes(KeyCacheObject key, boolean retVal, @Nullable GridCacheV addKeyBytes(key, retVal); } - /** - * @return Array of mapped DHT versions for this entry. - */ - public GridCacheVersion[] dhtVersions() { - return dhtVers; - } - - /** - * @param dhtVers Array of mapped DHT versions for this entry. - */ - public void dhtVersions(GridCacheVersion[] dhtVers) { - this.dhtVers = dhtVers; - } - /** * @param idx Index of the key. * @return DHT version for key at given index. @@ -306,13 +285,6 @@ public long createTtl() { return createTtl; } - /** - * @param createTtl New TTL to set after entry is created, -1 to leave unchanged. - */ - public void createTtl(long createTtl) { - this.createTtl = createTtl; - } - /** * @return TTL for read operation. */ @@ -320,27 +292,6 @@ public long accessTtl() { return accessTtl; } - /** - * @param accessTtl TTL for read operation. - */ - public void accessTtl(long accessTtl) { - this.accessTtl = accessTtl; - } - - /** - * @return Flags. - */ - public byte nearFlags() { - return flags; - } - - /** - * @param flags Flags. - */ - public void nearFlags(byte flags) { - this.flags = flags; - } - /** * @return Transaction label. */ @@ -348,13 +299,6 @@ public void nearFlags(byte flags) { return txLbl; } - /** - * @param txLbl Transaction label. - */ - public void txLabel(String txLbl) { - this.txLbl = txLbl; - } - /** {@inheritDoc} */ @Override public short directType() { return 51; diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/near/GridNearSingleGetRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/near/GridNearSingleGetRequest.java index 15979629207ad..485bdc360468c 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/near/GridNearSingleGetRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/near/GridNearSingleGetRequest.java @@ -150,13 +150,6 @@ public GridNearSingleGetRequest( flags |= RECOVERY_FLAG_MASK; } - /** - * Sets the key. - */ - public void key(KeyCacheObject key) { - this.key = key; - } - /** * @return Key. */ @@ -164,23 +157,6 @@ public KeyCacheObject key() { return key; } - /** Sets the flags. */ - public void flags(byte flags) { - this.flags = flags; - } - - /** @return Flags. */ - public byte flags() { - return flags; - } - - /** - * Sets future ID. - */ - public void futureId(long futId) { - this.futId = futId; - } - /** * @return Future ID. */ @@ -188,13 +164,6 @@ public long futureId() { return futId; } - /** - * Sets task name hash. - */ - public void taskNameHash(int taskNameHash) { - this.taskNameHash = taskNameHash; - } - /** * Gets task name hash. * @@ -204,13 +173,6 @@ public int taskNameHash() { return taskNameHash; } - /** - * Sets topology version. - */ - public void topologyVersion(AffinityTopologyVersion topVer) { - this.topVer = topVer; - } - /** * @return Topology version. */ @@ -218,13 +180,6 @@ public void topologyVersion(AffinityTopologyVersion topVer) { return topVer; } - /** - * Sets TTL to set after entry is created, -1 to leave unchanged. - */ - public void createTtl(long createTtl) { - this.createTtl = createTtl; - } - /** * @return New TTL to set after entry is created, -1 to leave unchanged. */ @@ -232,13 +187,6 @@ public long createTtl() { return createTtl; } - /** - * Sets new TTL to set after entry is accessed, -1 to leave unchanged. - */ - public void accessTtl(long accessTtl) { - this.accessTtl = accessTtl; - } - /** * @return New TTL to set after entry is accessed, -1 to leave unchanged. */ @@ -253,13 +201,6 @@ public long accessTtl() { return key.partition(); } - /** - * Sets the transaction label. - */ - public void txLabel(String txLbl) { - this.txLbl = txLbl; - } - /** * Get transaction label (may be null). * diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/near/GridNearTxFinishRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/near/GridNearTxFinishRequest.java index 1d82458b17207..ebc08f48fe9f4 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/near/GridNearTxFinishRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/near/GridNearTxFinishRequest.java @@ -132,15 +132,6 @@ public int miniId() { return miniId; } - /** - * For use only in GridNearTxFinishRequestSerializer. - * - * @param miniId Mini future ID. - */ - public void miniId(int miniId) { - this.miniId = miniId; - } - /** * @param miniId Mini future ID. */ diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/near/GridNearTxPrepareRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/near/GridNearTxPrepareRequest.java index 940ee0f1f2aa3..700c797dc9794 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/near/GridNearTxPrepareRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/near/GridNearTxPrepareRequest.java @@ -164,20 +164,6 @@ public boolean allowWaitTopologyFuture() { return isFlag(ALLOW_WAIT_TOP_FUT_FLAG_MASK); } - /** - * @return Recovery flag. - */ - public final boolean recovery() { - return isFlag(RECOVERY_FLAG_MASK); - } - - /** - * @param val Recovery flag. - */ - public void recovery(boolean val) { - setFlag(val, RECOVERY_FLAG_MASK); - } - /** * @return {@code True} if first optimistic tx prepare request sent from client node. */ @@ -199,13 +185,6 @@ public IgniteUuid futureId() { return futId; } - /** - * @param futId Future ID. - */ - public void futureId(IgniteUuid futId) { - this.futId = futId; - } - /** * @return Mini future ID. */ @@ -227,13 +206,6 @@ public int taskNameHash() { return taskNameHash; } - /** - * @param taskNameHash Task name hash. - */ - public void taskNameHash(int taskNameHash) { - this.taskNameHash = taskNameHash; - } - /** * @return Implicit single flag. */ @@ -255,13 +227,6 @@ public final boolean explicitLock() { return topVer; } - /** - * @param topVer Topology version. - */ - public void topologyVersion(AffinityTopologyVersion topVer) { - this.topVer = topVer; - } - /** * @return Transaction label. */ @@ -269,27 +234,6 @@ public void topologyVersion(AffinityTopologyVersion topVer) { return txLbl; } - /** - * @param txLbl Transaction label. - */ - public void txLabel(String txLbl) { - this.txLbl = txLbl; - } - - /** - * @return Flags. - */ - public byte nearFlags() { - return flags; - } - - /** - * @param flags Flags. - */ - public void nearFlags(byte flags) { - this.flags = flags; - } - /** * */ diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/AbstractSnapshotMessage.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/AbstractSnapshotMessage.java index 5fe0213a7a5e2..002d179deca2c 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/AbstractSnapshotMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/AbstractSnapshotMessage.java @@ -54,13 +54,6 @@ public String id() { return id; } - /** - * @param id Unique message ID. - */ - public void id(String id) { - this.id = id; - } - /** {@inheritDoc} */ @Override public String toString() { return S.toString(AbstractSnapshotMessage.class, this); diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/IncrementalSnapshotAwareMessage.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/IncrementalSnapshotAwareMessage.java index 07e15193a5a66..0c257a6dc6c72 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/IncrementalSnapshotAwareMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/IncrementalSnapshotAwareMessage.java @@ -69,49 +69,21 @@ public UUID id() { return id; } - /** - * @param id Incremental snapshot ID. - */ - public void id(UUID id) { - this.id = id; - } - /** ID of the latest incremental snapshot after which this transaction committed. */ public UUID txIncrementalSnapshotId() { return txSnpId; } - /** - * @param txSnpId ID of the latest incremental snapshot after which this transaction committed. - */ - public void txIncrementalSnapshotId(UUID txSnpId) { - this.txSnpId = txSnpId; - } - /** */ public GridCacheMessage payload() { return payload; } - /** - * @param payload Original transaction message. - */ - public void payload(GridCacheMessage payload) { - this.payload = payload; - } - /** @return Incremental snapshot topology version. */ public long snapshotTopologyVersion() { return topVer; } - /** - * @param topVer Incremental snapshot topology version. - */ - public void snapshotTopologyVersion(long topVer) { - this.topVer = topVer; - } - /** {@inheritDoc} */ @Override public void prepareMarshal(GridCacheSharedContext ctx) throws IgniteCheckedException { payload.prepareMarshal(ctx); diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/SnapshotFilesFailureMessage.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/SnapshotFilesFailureMessage.java index a362743884c07..4e0416e959f01 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/SnapshotFilesFailureMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/SnapshotFilesFailureMessage.java @@ -56,13 +56,6 @@ public String errorMessage() { return errMsg; } - /** - * @param errMsg Response error message. - */ - public void errorMessage(String errMsg) { - this.errMsg = errMsg; - } - /** {@inheritDoc} */ @Override public short directType() { return TYPE_CODE; diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/SnapshotFilesRequestMessage.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/SnapshotFilesRequestMessage.java index 8df0715bcf51e..b084b6cb9a599 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/SnapshotFilesRequestMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/SnapshotFilesRequestMessage.java @@ -99,20 +99,6 @@ public Map> parts() { return res; } - /** - * @return The demanded cache group partitions per each cache group. - */ - public Map partitions() { - return parts; - } - - /** - * @param parts The demanded cache group partitions per each cache group. - */ - public void partitions(Map parts) { - this.parts = parts; - } - /** * @return Requested snapshot name. */ @@ -120,13 +106,6 @@ public String snapshotName() { return snpName; } - /** - * @param snpName Requested snapshot name. - */ - public void snapshotName(String snpName) { - this.snpName = snpName; - } - /** * @return Snapshot directory path. */ @@ -134,13 +113,6 @@ public String snapshotPath() { return snpPath; } - /** - * @param snpPath Snapshot directory path. - */ - public void snapshotPath(String snpPath) { - this.snpPath = snpPath; - } - /** * @return Snapshot operation request ID. */ @@ -148,13 +120,6 @@ public UUID requestId() { return reqId; } - /** - * @param reqId Snapshot operation request ID. - */ - public void requestId(UUID reqId) { - this.reqId = reqId; - } - /** {@inheritDoc} */ @Override public short directType() { return TYPE_CODE; diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/GridCacheQueryRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/GridCacheQueryRequest.java index 129bb1e4c3240..3e0c95009739d 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/GridCacheQueryRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/GridCacheQueryRequest.java @@ -524,13 +524,6 @@ public long id() { return id; } - /** - * @param id Request ID. - */ - public void id(long id) { - this.id = id; - } - /** * @return Cache name. */ @@ -538,13 +531,6 @@ public String cacheName() { return cacheName; } - /** - * @param cacheName Cache name. - */ - public void cacheName(String cacheName) { - this.cacheName = cacheName; - } - /** * @return Query type. */ @@ -552,13 +538,6 @@ public GridCacheQueryType type() { return type; } - /** - * @param type Query type. - */ - public void type(GridCacheQueryType type) { - this.type = type; - } - /** * @return Query limit. */ @@ -566,13 +545,6 @@ public int limit() { return limit; } - /** - * @param limit Limit. - */ - public void limit(int limit) { - this.limit = limit; - } - /** * @return Query clause. */ @@ -580,13 +552,6 @@ public String clause() { return clause; } - /** - * @param clause Query clause. - */ - public void clause(String clause) { - this.clause = clause; - } - /** * @return Index query description. */ @@ -601,13 +566,6 @@ public String className() { return clsName; } - /** - * @param clsName Class name. - */ - public void className(String clsName) { - this.clsName = clsName; - } - /** * @return Flag indicating whether to include backups. */ @@ -615,13 +573,6 @@ public boolean includeBackups() { return incBackups; } - /** - * @param incBackups Flag indicating whether to include backups. - */ - public void includeBackups(boolean incBackups) { - this.incBackups = incBackups; - } - /** * @return Flag indicating that this is cancel request. */ @@ -629,13 +580,6 @@ public boolean cancel() { return cancel; } - /** - * @param cancel Flag indicating that this is cancel request. - */ - public void cancel(boolean cancel) { - this.cancel = cancel; - } - /** * @return Key-value filter. */ @@ -664,13 +608,6 @@ public int pageSize() { return pageSize; } - /** - * @param pageSize Page size. - */ - public void pageSize(int pageSize) { - this.pageSize = pageSize; - } - /** * @return Arguments. */ @@ -685,13 +622,6 @@ public boolean includeMetaData() { return incMeta; } - /** - * @param incMeta Include meta data or not. - */ - public void includeMetaData(boolean incMeta) { - this.incMeta = incMeta; - } - /** * @return Whether to load all pages. */ @@ -699,13 +629,6 @@ public boolean allPages() { return all; } - /** - * @param all Whether to load all pages. - */ - public void allPages(boolean all) { - this.all = all; - } - /** * @return Whether to keep binary. */ @@ -713,13 +636,6 @@ public boolean keepBinary() { return keepBinary; } - /** - * @param keepBinary Whether to keep binary. - */ - public void keepBinary(boolean keepBinary) { - this.keepBinary = keepBinary; - } - /** * @return Task hash. */ @@ -727,13 +643,6 @@ public int taskHash() { return taskHash; } - /** - * @param taskHash Task hash. - */ - public void taskHash(int taskHash) { - this.taskHash = taskHash; - } - /** * @return Flag to enable data page scan. */ @@ -754,13 +663,6 @@ public Collection skipKeys() { return skipKeys; } - /** - * @param skipKeys Set of keys that must be skiped during iteration. - */ - public void skipKeys(Collection skipKeys) { - this.skipKeys = skipKeys; - } - /** * @return Partition. */ @@ -768,97 +670,6 @@ public void skipKeys(Collection skipKeys) { return part; } - /** - * @param part Partition. - */ - public void partition(int part) { - this.part = part; - } - - /** - * @return Index query description bytes. - */ - public byte[] indexQueryDescriptionBytes() { - return idxQryDescBytes; - } - - /** - * @param idxQryDescBytes Index query description bytes. - */ - public void indexQueryDescriptionBytes(byte[] idxQryDescBytes) { - this.idxQryDescBytes = idxQryDescBytes; - } - - /** - * @return Key-value filter bytes. - */ - public byte[] keyValueFilterBytes() { - return keyValFilterBytes; - } - - /** - * @param keyValFilterBytes Key-value filter bytes. - */ - public void keyValueFilterBytes(byte[] keyValFilterBytes) { - this.keyValFilterBytes = keyValFilterBytes; - } - - /** - * @return Reducer bytes. - */ - public byte[] reducerBytes() { - return rdcBytes; - } - - /** - * @param rdcBytes Reducer bytes. - */ - public void reducerBytes(byte[] rdcBytes) { - this.rdcBytes = rdcBytes; - } - - /** - * @return Transformer bytes. - */ - public byte[] transformerBytes() { - return transBytes; - } - - /** - * @param transBytes Transformer bytes. - */ - public void transformerBytes(byte[] transBytes) { - this.transBytes = transBytes; - } - - /** - * @return Arguments bytes. - */ - public byte[] argumentsBytes() { - return argsBytes; - } - - /** - * @param argsBytes Arguments bytes. - */ - public void argumentsBytes(byte[] argsBytes) { - this.argsBytes = argsBytes; - } - - /** - * @return Flags. - */ - public byte flags() { - return flags; - } - - /** - * @param flags Flags. - */ - public void flags(byte flags) { - this.flags = flags; - } - /** {@inheritDoc} */ @Override public short directType() { return 58; diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/TxLocksRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/TxLocksRequest.java index c6dd3ecb52b99..ccd324a2ec432 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/TxLocksRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/TxLocksRequest.java @@ -71,27 +71,6 @@ public long futureId() { return futId; } - /** - * @param futId Future ID. - */ - public void futureId(long futId) { - this.futId = futId; - } - - /** - * @return Array of txKeys from {@link #txKeys}. Used during marshalling and unmarshalling. - */ - public IgniteTxKey[] txKeysArray() { - return txKeysArr; - } - - /** - * @param txKeysArr Array of txKeys from {@link #txKeys}. Used during marshalling and unmarshalling. - */ - public void txKeysArray(IgniteTxKey[] txKeysArr) { - this.txKeysArr = txKeysArr; - } - /** * @return Tx keys. */ diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cluster/CacheMetricsMessage.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cluster/CacheMetricsMessage.java index bbd8617c43053..e8e98ae20b245 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cluster/CacheMetricsMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cluster/CacheMetricsMessage.java @@ -1009,11 +1009,6 @@ public long rebalancingBytesRate() { return rebalancingBytesRate; } - /** */ - public long estimateRebalancingFinishTime() { - return rebalanceFinishTime; - } - /** */ public long rebalancingStartTime() { return rebalanceStartTime; @@ -1154,11 +1149,6 @@ public void cacheGets(long reads) { cacheGets = reads; } - /** */ - public void cacheName(String cacheName) { - this.cacheName = cacheName; - } - /** */ public void cacheSize(long cacheSize) { this.cacheSize = cacheSize; @@ -1254,61 +1244,11 @@ public void indexBuildPartitionsLeftCount(int idxBuildPartitionsLeftCnt) { idxBuildPartitionsLeftCount = idxBuildPartitionsLeftCnt; } - /** */ - public void indexRebuildInProgress(boolean idxRebuildInProgress) { - this.idxRebuildInProgress = idxRebuildInProgress; - } - - /** */ - public void indexRebuildKeysProcessed(long idxRebuildKeyProcessed) { - this.idxRebuildKeyProcessed = idxRebuildKeyProcessed; - } - /** */ public void empty(boolean empty) { this.empty = empty; } - /** */ - public void managementEnabled(boolean managementEnabled) { - this.managementEnabled = managementEnabled; - } - - /** */ - public void readThrough(boolean readThrough) { - this.readThrough = readThrough; - } - - /** */ - public void statisticsEnabled(boolean statisticsEnabled) { - this.statisticsEnabled = statisticsEnabled; - } - - /** */ - public void storeByValue(boolean storeByVal) { - this.storeByVal = storeByVal; - } - - /** */ - public void validForReading(boolean validForReading) { - this.validForReading = validForReading; - } - - /** */ - public void validForWriting(boolean validForWriting) { - this.validForWriting = validForWriting; - } - - /** */ - public void writeBehindEnabled(boolean writeBehindEnabled) { - this.writeBehindEnabled = writeBehindEnabled; - } - - /** */ - public void writeThrough(boolean writeThrough) { - this.writeThrough = writeThrough; - } - /** */ public void keySize(int keySize) { this.keySize = keySize; @@ -1319,11 +1259,6 @@ public void keysToRebalanceLeft(long keysToRebalanceLeft) { this.keysToRebalanceLeft = keysToRebalanceLeft; } - /** */ - public void keyType(String keyType) { - this.keyType = keyType; - } - /** */ public void cacheMisses(long misses) { cacheMisses = misses; @@ -1384,16 +1319,6 @@ public void averagePutTime(float putAvgTimeNanos) { averagePutTime = putAvgTimeNanos; } - /** */ - public void puts(long puts) { - cachePuts = puts; - } - - /** */ - public void reads(long reads) { - cacheGets = reads; - } - /** */ public void rebalanceClearingPartitionsLeft(long rebalanceClearingPartitionsLeft) { this.rebalanceClearingPartitionsLeft = rebalanceClearingPartitionsLeft; @@ -1539,16 +1464,6 @@ public void txXidMapSize(int txXidMapSize) { this.txXidMapSize = txXidMapSize; } - /** */ - public void valueType(String valType) { - this.valType = valType; - } - - /** */ - public void writeBehindBufferSize(int writeBehindBufSize) { - this.writeBehindBufSize = writeBehindBufSize; - } - /** */ public void writeBehindCriticalOverflowCount(int writeBehindCriticalOverflowCnt) { this.writeBehindCriticalOverflowCnt = writeBehindCriticalOverflowCnt; @@ -1559,26 +1474,6 @@ public void writeBehindErrorRetryCount(int writeBehindErrorRetryCnt) { this.writeBehindErrorRetryCnt = writeBehindErrorRetryCnt; } - /** */ - public void writeBehindFlushFrequency(long writeBehindFlushFreq) { - this.writeBehindFlushFreq = writeBehindFlushFreq; - } - - /** */ - public void writeBehindFlushSize(int writeBehindFlushSize) { - this.writeBehindFlushSize = writeBehindFlushSize; - } - - /** */ - public void writeBehindFlushThreadCount(int writeBehindFlushThreadCnt) { - this.writeBehindFlushThreadCnt = writeBehindFlushThreadCnt; - } - - /** */ - public void writeBehindStoreBatchSize(int writeBehindStoreBatchSize) { - this.writeBehindStoreBatchSize = writeBehindStoreBatchSize; - } - /** */ public void writeBehindTotalCriticalOverflowCount(int writeBehindTotalCriticalOverflowCnt) { this.writeBehindTotalCriticalOverflowCnt = writeBehindTotalCriticalOverflowCnt; diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cluster/ChangeGlobalStateMessage.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cluster/ChangeGlobalStateMessage.java index 19049695dcf1a..1810a9f9982fe 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cluster/ChangeGlobalStateMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cluster/ChangeGlobalStateMessage.java @@ -213,13 +213,6 @@ public boolean forceDeactivation() { return forceDeactivation; } - /** - * @return Timestamp. - */ - public long timestamp() { - return timestamp; - } - /** * @return State change request ID. */ diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cluster/ClusterMetricsUpdateMessage.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cluster/ClusterMetricsUpdateMessage.java index 25aff5029324d..051f5f28fc717 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cluster/ClusterMetricsUpdateMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cluster/ClusterMetricsUpdateMessage.java @@ -63,25 +63,11 @@ public ClusterMetricsUpdateMessage(Map allNodesMetrics return allNodesMetrics; } - /** */ - public void allNodesMetrics(@Nullable Map allNodesMetrics) { - assert allNodesMetrics == null || singleNodeMetricsMsg == null; - - this.allNodesMetrics = allNodesMetrics; - } - /** */ public @Nullable NodeFullMetricsMessage singleNodeMetricsMsg() { return singleNodeMetricsMsg; } - /** */ - public void singleNodeMetricsMsg(@Nullable NodeFullMetricsMessage singleNodeMetricsMsg) { - assert singleNodeMetricsMsg == null || allNodesMetrics == null; - - this.singleNodeMetricsMsg = singleNodeMetricsMsg; - } - /** */ public boolean singleNodeMetrics() { assert (singleNodeMetricsMsg == null && allNodesMetrics != null) || (singleNodeMetricsMsg != null && allNodesMetrics == null); diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/continuous/ContinuousRoutineStartResultMessage.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/continuous/ContinuousRoutineStartResultMessage.java index 90e91aa2a5ef9..9a77b3870193e 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/continuous/ContinuousRoutineStartResultMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/continuous/ContinuousRoutineStartResultMessage.java @@ -72,13 +72,6 @@ public ContinuousRoutineStartResultMessage() { return cntrsMap; } - /** - * @param cntrsMap Counters map. - */ - public void countersMap(@Nullable CachePartitionPartialCountersMap cntrsMap) { - this.cntrsMap = cntrsMap; - } - /** * @return Routine ID. */ @@ -86,13 +79,6 @@ public UUID routineId() { return routineId; } - /** - * @param routineId Routine ID. - */ - public void routineId(UUID routineId) { - this.routineId = routineId; - } - /** * @return Error message. */ @@ -100,13 +86,6 @@ public void routineId(UUID routineId) { return errMsg; } - /** - * @param errMsg Error message. - */ - public void errorMessage(@Nullable ErrorMessage errMsg) { - this.errMsg = errMsg; - } - /** {@inheritDoc} */ @Override public short directType() { return 134; diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/marshaller/MissingMappingRequestMessage.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/marshaller/MissingMappingRequestMessage.java index f6669e3c4aa3c..7703f7e45e4a6 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/marshaller/MissingMappingRequestMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/marshaller/MissingMappingRequestMessage.java @@ -67,21 +67,11 @@ public byte platformId() { return platformId; } - /** */ - public void platformId(byte platformId) { - this.platformId = platformId; - } - /** */ public int typeId() { return typeId; } - /** */ - public void typeId(int typeId) { - this.typeId = typeId; - } - /** {@inheritDoc} */ @Override public String toString() { return S.toString(MissingMappingRequestMessage.class, this); diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/marshaller/MissingMappingResponseMessage.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/marshaller/MissingMappingResponseMessage.java index 9423b141a0fbb..9ce70f900a461 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/marshaller/MissingMappingResponseMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/marshaller/MissingMappingResponseMessage.java @@ -67,11 +67,6 @@ public byte platformId() { return platformId; } - /** */ - public void platformId(byte platformId) { - this.platformId = platformId; - } - /** * */ @@ -79,11 +74,6 @@ public int typeId() { return typeId; } - /** */ - public void typeId(int typeId) { - this.typeId = typeId; - } - /** * */ @@ -91,11 +81,6 @@ public String className() { return clsName; } - /** */ - public void className(String clsName) { - this.clsName = clsName; - } - /** {@inheritDoc} */ @Override public String toString() { return S.toString(MissingMappingResponseMessage.class, this); diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/metastorage/persistence/DistributedMetaStorageUpdateMessage.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/metastorage/persistence/DistributedMetaStorageUpdateMessage.java index 74dc88f6ade34..3b9e462200133 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/metastorage/persistence/DistributedMetaStorageUpdateMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/metastorage/persistence/DistributedMetaStorageUpdateMessage.java @@ -76,16 +76,6 @@ public byte[] value() { return valBytes; } - /** */ - public boolean isAckMessage() { - return false; - } - - /** */ - public void errorMessage(String errorMsg) { - this.errorMsg = errorMsg; - } - /** */ protected String errorMessage() { return errorMsg; diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/odbc/odbc/OdbcQueryExecuteBatchRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/odbc/odbc/OdbcQueryExecuteBatchRequest.java index 75c2831750905..fd4ec0da89d9d 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/odbc/odbc/OdbcQueryExecuteBatchRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/odbc/odbc/OdbcQueryExecuteBatchRequest.java @@ -94,13 +94,6 @@ public String schema() { return schema; } - /** - * @return Last page flag. - */ - public boolean last() { - return last; - } - /** * @return Timeout in seconds. */ diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/odbc/odbc/OdbcQueryGetTablesMetaRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/odbc/odbc/OdbcQueryGetTablesMetaRequest.java index e7ea2cb2f41f7..3e585633460f8 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/odbc/odbc/OdbcQueryGetTablesMetaRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/odbc/odbc/OdbcQueryGetTablesMetaRequest.java @@ -50,13 +50,6 @@ public OdbcQueryGetTablesMetaRequest(String catalog, String schema, String table this.tableType = tableType; } - /** - * @return catalog search pattern. - */ - public String catalog() { - return catalog; - } - /** * @return Schema search pattern. */ diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/platform/client/datastructures/ClientIgniteSetRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/platform/client/datastructures/ClientIgniteSetRequest.java index 629a9f94b7da3..02b9168017170 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/platform/client/datastructures/ClientIgniteSetRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/platform/client/datastructures/ClientIgniteSetRequest.java @@ -70,15 +70,6 @@ protected ClientResponse process(IgniteSet set) { return new ClientResponse(requestId()); } - /** - * Gets the name. - * - * @return Set name. - */ - protected String name() { - return name; - } - /** * Gets the IgniteSet. * diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/query/h2/twostep/messages/GridQueryCancelRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/query/h2/twostep/messages/GridQueryCancelRequest.java index 06a267f4f876f..4e3444bb4e4c8 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/query/h2/twostep/messages/GridQueryCancelRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/query/h2/twostep/messages/GridQueryCancelRequest.java @@ -50,13 +50,6 @@ public long queryRequestId() { return qryReqId; } - /** - * @param qryReqId Query request ID. - */ - public void queryRequestId(long qryReqId) { - this.qryReqId = qryReqId; - } - /** {@inheritDoc} */ @Override public String toString() { return S.toString(GridQueryCancelRequest.class, this); diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/query/h2/twostep/messages/GridQueryNextPageRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/query/h2/twostep/messages/GridQueryNextPageRequest.java index b2d59d569221a..75bccd9770d51 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/query/h2/twostep/messages/GridQueryNextPageRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/query/h2/twostep/messages/GridQueryNextPageRequest.java @@ -74,13 +74,6 @@ public byte flags() { return flags; } - /** - * @param flags New flags. - */ - public void flags(byte flags) { - this.flags = flags; - } - /** * @return Query request ID. */ @@ -88,13 +81,6 @@ public long queryRequestId() { return qryReqId; } - /** - * @param qryReqId New query request ID. - */ - public void queryRequestId(long qryReqId) { - this.qryReqId = qryReqId; - } - /** * @return Query. */ @@ -102,25 +88,11 @@ public int query() { return qry; } - /** - * @param qry New query. - */ - public void query(int qry) { - this.qry = qry; - } - /** @return Index segment ID */ public int segmentId() { return segmentId; } - /** - * @param segmentId New index segment ID. - */ - public void segmentId(int segmentId) { - this.segmentId = segmentId; - } - /** * @return Page size. */ @@ -128,13 +100,6 @@ public int pageSize() { return pageSize; } - /** - * @param pageSize New page size. - */ - public void pageSize(int pageSize) { - this.pageSize = pageSize; - } - /** {@inheritDoc} */ @Override public String toString() { return S.toString(GridQueryNextPageRequest.class, this); diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/query/messages/GridQueryKillRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/query/messages/GridQueryKillRequest.java index 1adc8f4b258b5..d66085774c6a1 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/query/messages/GridQueryKillRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/query/messages/GridQueryKillRequest.java @@ -66,13 +66,6 @@ public long requestId() { return reqId; } - /** - * @param reqId New request id. - */ - public void requestId(long reqId) { - this.reqId = reqId; - } - /** * @return Query id on a node. */ @@ -80,13 +73,6 @@ public long nodeQryId() { return nodeQryId; } - /** - * @param nodeQryId New query id on a node. - */ - public void nodeQryId(long nodeQryId) { - this.nodeQryId = nodeQryId; - } - /** * @return {@code true} in case response should be send back asynchronous. */ @@ -94,13 +80,6 @@ public boolean asyncResponse() { return asyncRes; } - /** - * @param asyncRes New async response flag. - */ - public void asyncResponse(boolean asyncRes) { - this.asyncRes = asyncRes; - } - /** {@inheritDoc} */ @Override public short directType() { return TYPE_CODE; diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/query/schema/message/SchemaFinishDiscoveryMessage.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/query/schema/message/SchemaFinishDiscoveryMessage.java index 3ae253cb1d715..78237036f0891 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/query/schema/message/SchemaFinishDiscoveryMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/query/schema/message/SchemaFinishDiscoveryMessage.java @@ -82,13 +82,6 @@ public boolean hasError() { return err; } - /** - * @return Propose message. - */ - public SchemaProposeDiscoveryMessage proposeMessage() { - return proposeMsg; - } - /** * @param proposeMsg Propose message. */ diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/query/schema/message/SchemaOperationStatusMessage.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/query/schema/message/SchemaOperationStatusMessage.java index f29669057ea97..7758f1b686cc4 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/query/schema/message/SchemaOperationStatusMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/query/schema/message/SchemaOperationStatusMessage.java @@ -75,13 +75,6 @@ public UUID operationId() { return opId; } - /** - * @param opId Operation ID. - */ - public void operationId(UUID opId) { - this.opId = opId; - } - /** * @return Error code. */ @@ -89,13 +82,6 @@ public int errorCode() { return errCode; } - /** - * @param errCode Error code. - */ - public void errorCode(int errCode) { - this.errCode = errCode; - } - /** * @return Error message. */ @@ -103,13 +89,6 @@ public void errorCode(int errCode) { return errMsg; } - /** - * @param errMsg Error message. - */ - public void errorMessage(String errMsg) { - this.errMsg = errMsg; - } - /** * @return Sender node ID. */ @@ -131,13 +110,6 @@ public boolean nop() { return nop; } - /** - * @param nop True if message is no-op. - */ - public void nop(boolean nop) { - this.nop = nop; - } - /** {@inheritDoc} */ @Override public short directType() { return -53; diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/client/message/GridClientAuthenticationRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/client/message/GridClientAuthenticationRequest.java index 76ef019287a30..55d7d1f8ab1d1 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/client/message/GridClientAuthenticationRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/client/message/GridClientAuthenticationRequest.java @@ -45,13 +45,6 @@ public SecurityCredentials credentials() { return cred; } - /** - * @param cred Credentials object. - */ - public void credentials(SecurityCredentials cred) { - this.cred = cred; - } - /** * @return User attributes. */ @@ -59,13 +52,6 @@ public Map userAttributes() { return userAttrs; } - /** - * @param userAttrs User attributes. - */ - public void userAttributes(Map userAttrs) { - this.userAttrs = userAttrs; - } - /** {@inheritDoc} */ @Override public void writeExternal(ObjectOutput out) throws IOException { super.writeExternal(out); diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/client/message/GridClientCacheRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/client/message/GridClientCacheRequest.java index 24428d2801814..7b430587860e5 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/client/message/GridClientCacheRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/client/message/GridClientCacheRequest.java @@ -213,15 +213,6 @@ public void keys(Iterable keys) { vals.put(k, null); } - /** - * Set cache flags bit map. - * - * @param cacheFlagsOn Bit representation of cache flags. - */ - public void cacheFlagsOn(int cacheFlagsOn) { - this.cacheFlagsOn = cacheFlagsOn; - } - /** * Get cache flags bit map. * @return Bit representation of cache flags. diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/client/message/GridClientClusterStateRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/client/message/GridClientClusterStateRequest.java index 122fdebd78e0b..fff2bddde2956 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/client/message/GridClientClusterStateRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/client/message/GridClientClusterStateRequest.java @@ -47,29 +47,6 @@ public ClusterState state() { return state; } - /** - * @return Current read-only mode request. - */ - public static GridClientClusterStateRequest currentState() { - GridClientClusterStateRequest msg = new GridClientClusterStateRequest(); - - msg.reqCurrentState = true; - - return msg; - } - - /** - * @param state New cluster state. - * @return Cluster state change request. - */ - public static GridClientClusterStateRequest state(ClusterState state) { - GridClientClusterStateRequest msg = new GridClientClusterStateRequest(); - - msg.state = state; - - return msg; - } - /** {@inheritDoc} */ @Override public void writeExternal(ObjectOutput out) throws IOException { super.writeExternal(out); diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/client/message/GridClientStateRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/client/message/GridClientStateRequest.java index 7730d1382372a..f10339361321c 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/client/message/GridClientStateRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/client/message/GridClientStateRequest.java @@ -42,20 +42,6 @@ public boolean active() { return active; } - /** - * - */ - public void active(boolean active) { - this.active = active; - } - - /** - * - */ - public void requestCurrentState() { - this.reqCurrentState = true; - } - /** * */ diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/client/message/GridClientTaskRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/client/message/GridClientTaskRequest.java index 497743085bbbb..d5dbe66931982 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/client/message/GridClientTaskRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/client/message/GridClientTaskRequest.java @@ -66,20 +66,6 @@ public void argument(Object arg) { this.arg = arg; } - /** - * @return Keep binary flag. - */ - public boolean keepBinaries() { - return keepBinaries; - } - - /** - * @param keepBinaries Keep binary flag. - */ - public void keepBinaries(boolean keepBinaries) { - this.keepBinaries = keepBinaries; - } - /** {@inheritDoc} */ @Override public boolean equals(Object o) { if (this == o) diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/client/message/GridClientWarmUpRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/client/message/GridClientWarmUpRequest.java index fb03b06c9a4dd..82e8284835ea9 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/client/message/GridClientWarmUpRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/client/message/GridClientWarmUpRequest.java @@ -40,18 +40,6 @@ public boolean stopWarmUp() { return stopWarmUp; } - /** - * Set need to stop warm-up. - * - * @param stopWarmUp {@code true} to stop warm-up. - * @return {@code this} instance. - */ - public GridClientWarmUpRequest stopWarmUp(boolean stopWarmUp) { - this.stopWarmUp = stopWarmUp; - - return this; - } - /** {@inheritDoc} */ @Override public void writeExternal(ObjectOutput out) throws IOException { super.writeExternal(out); diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/handlers/task/GridTaskResultRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/handlers/task/GridTaskResultRequest.java index 5fc1e166944b6..08026e764d572 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/handlers/task/GridTaskResultRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/handlers/task/GridTaskResultRequest.java @@ -56,15 +56,6 @@ public IgniteUuid taskId() { return taskId; } - /** - * @param taskId Task ID. - */ - public void taskId(IgniteUuid taskId) { - assert taskId != null; - - this.taskId = taskId; - } - /** * @return Topic ID. */ @@ -72,13 +63,6 @@ public long topicId() { return topicId; } - /** - * @param topicId New topic ID. - */ - public void topicId(long topicId) { - this.topicId = topicId; - } - /** {@inheritDoc} */ @Override public short directType() { return 76; diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/protocols/tcp/redis/GridRedisMessage.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/protocols/tcp/redis/GridRedisMessage.java index 9c349b8fc108a..546960125b40b 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/protocols/tcp/redis/GridRedisMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/protocols/tcp/redis/GridRedisMessage.java @@ -110,15 +110,6 @@ public ByteBuffer getResponse() { return response; } - /** - * Gets all message parts. - * - * @return Message elements. - */ - private List getMsgParts() { - return msgParts; - } - /** * @return Number of elements in the message. */ diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/request/GridRestChangeStateRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/request/GridRestChangeStateRequest.java index a9ba95b15b1f3..88dfe7ca19f75 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/request/GridRestChangeStateRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/request/GridRestChangeStateRequest.java @@ -46,13 +46,6 @@ public void active(boolean active) { this.active = active; } - /** - * - */ - public boolean isReqCurrentState() { - return reqCurrentState; - } - /** * */ diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/UUIDCollectionMessage.java b/modules/core/src/main/java/org/apache/ignite/internal/util/UUIDCollectionMessage.java index bd77f4db9406d..0b4841db8c744 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/util/UUIDCollectionMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/util/UUIDCollectionMessage.java @@ -52,13 +52,6 @@ public Collection uuids() { return uuids; } - /** - * @param uuids The collection of UUIDs that was wrapped. - */ - public void uuids(Collection uuids) { - this.uuids = uuids; - } - /** {@inheritDoc} */ @Override public short directType() { return 115; diff --git a/modules/core/src/main/java/org/apache/ignite/spi/collision/jobstealing/JobStealingRequest.java b/modules/core/src/main/java/org/apache/ignite/spi/collision/jobstealing/JobStealingRequest.java index 500ef4881c9b5..73a4ac017e78e 100644 --- a/modules/core/src/main/java/org/apache/ignite/spi/collision/jobstealing/JobStealingRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/spi/collision/jobstealing/JobStealingRequest.java @@ -50,13 +50,6 @@ public int delta() { return delta; } - /** - * @param delta New delta. - */ - public void delta(int delta) { - this.delta = delta; - } - /** {@inheritDoc} */ @Override public short directType() { return 82; diff --git a/modules/core/src/main/java/org/apache/ignite/spi/communication/tcp/internal/TcpInverseConnectionResponseMessage.java b/modules/core/src/main/java/org/apache/ignite/spi/communication/tcp/internal/TcpInverseConnectionResponseMessage.java index 795877a1940d0..8c570236edb4a 100644 --- a/modules/core/src/main/java/org/apache/ignite/spi/communication/tcp/internal/TcpInverseConnectionResponseMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/spi/communication/tcp/internal/TcpInverseConnectionResponseMessage.java @@ -46,13 +46,6 @@ public TcpInverseConnectionResponseMessage(int connIdx) { return connIdx; } - /** - * @param connIdx New connection index. - */ - public void connectionIndex(int connIdx) { - this.connIdx = connIdx; - } - /** {@inheritDoc} */ @Override public short directType() { return 177; diff --git a/modules/core/src/main/java/org/apache/ignite/spi/communication/tcp/messages/HandshakeMessage.java b/modules/core/src/main/java/org/apache/ignite/spi/communication/tcp/messages/HandshakeMessage.java index a39a0d38d506e..fd82f326fe0e6 100644 --- a/modules/core/src/main/java/org/apache/ignite/spi/communication/tcp/messages/HandshakeMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/spi/communication/tcp/messages/HandshakeMessage.java @@ -100,34 +100,6 @@ public UUID nodeId() { return nodeId; } - /** - * @param connIdx Connection index. - */ - public void connectionIndex(int connIdx) { - this.connIdx = connIdx; - } - - /** - * @param connectCnt Connect count. - */ - public void connectCount(long connectCnt) { - this.connectCnt = connectCnt; - } - - /** - * @param rcvCnt Number of received messages. - */ - public void received(long rcvCnt) { - this.rcvCnt = rcvCnt; - } - - /** - * @param nodeId Node ID. - */ - public void nodeId(UUID nodeId) { - this.nodeId = nodeId; - } - /** * @return Message size in bytes. */ diff --git a/modules/core/src/main/java/org/apache/ignite/spi/communication/tcp/messages/HandshakeWaitMessage.java b/modules/core/src/main/java/org/apache/ignite/spi/communication/tcp/messages/HandshakeWaitMessage.java index b1f95a8fb92a3..4a217044f3fb4 100644 --- a/modules/core/src/main/java/org/apache/ignite/spi/communication/tcp/messages/HandshakeWaitMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/spi/communication/tcp/messages/HandshakeWaitMessage.java @@ -29,18 +29,10 @@ public class HandshakeWaitMessage implements Message { /** Full message size (with message type) in bytes. */ public static final int MESSAGE_FULL_SIZE = DIRECT_TYPE_SIZE; - /** - * Default constructor. - */ - public HandshakeWaitMessage() { - // No-op. - } - /** {@inheritDoc} */ @Override public short directType() { return HANDSHAKE_WAIT_MSG_TYPE; } - /** {@inheritDoc} */ @Override public String toString() { return S.toString(HandshakeWaitMessage.class, this); diff --git a/modules/core/src/main/java/org/apache/ignite/spi/communication/tcp/messages/NodeIdMessage.java b/modules/core/src/main/java/org/apache/ignite/spi/communication/tcp/messages/NodeIdMessage.java index 6adb5d5fb8fb9..224f8d5397416 100644 --- a/modules/core/src/main/java/org/apache/ignite/spi/communication/tcp/messages/NodeIdMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/spi/communication/tcp/messages/NodeIdMessage.java @@ -58,13 +58,6 @@ public UUID nodeId() { return nodeId; } - /** - * @param nodeId Node ID bytes. - */ - public void nodeId(UUID nodeId) { - this.nodeId = nodeId; - } - /** {@inheritDoc} */ @Override public short directType() { return TcpCommunicationSpi.NODE_ID_MSG_TYPE; diff --git a/modules/core/src/main/java/org/apache/ignite/spi/communication/tcp/messages/RecoveryLastReceivedMessage.java b/modules/core/src/main/java/org/apache/ignite/spi/communication/tcp/messages/RecoveryLastReceivedMessage.java index 3d48933edf484..05a13078110c9 100644 --- a/modules/core/src/main/java/org/apache/ignite/spi/communication/tcp/messages/RecoveryLastReceivedMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/spi/communication/tcp/messages/RecoveryLastReceivedMessage.java @@ -74,13 +74,6 @@ public long received() { return rcvCnt; } - /** - * @param rcvCnt Number of received messages. - */ - public void received(long rcvCnt) { - this.rcvCnt = rcvCnt; - } - /** {@inheritDoc} */ @Override public short directType() { return TcpCommunicationSpi.RECOVERY_LAST_ID_MSG_TYPE; diff --git a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/InetAddressMessage.java b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/InetAddressMessage.java index d24b4bba61d99..74981891c3803 100644 --- a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/InetAddressMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/InetAddressMessage.java @@ -46,16 +46,6 @@ public InetAddressMessage(InetAddress addr) { addrBytes = addr.getAddress(); } - /** @return {@link InetAddress#getAddress()} */ - public byte[] addressBytes() { - return addrBytes; - } - - /** @param addrBytes {@link InetAddress#getAddress()} */ - public void addressBytes(byte[] addrBytes) { - this.addrBytes = addrBytes; - } - /** @return {@link InetAddress#getByAddress(String, byte[])} */ public InetAddress address() { try { @@ -66,16 +56,6 @@ public InetAddress address() { } } - /** @return Host name. */ - public String hostName() { - return hostName; - } - - /** @param hostName Host name. */ - public void hostName(String hostName) { - this.hostName = hostName; - } - /** {@inheritDoc} */ @Override public short directType() { return -100; diff --git a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/InetSocketAddressMessage.java b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/InetSocketAddressMessage.java index bcc535e9df1f4..f23d7d7cf80f4 100644 --- a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/InetSocketAddressMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/InetSocketAddressMessage.java @@ -52,11 +52,6 @@ public int port() { return port; } - /** @param port Port. */ - public void port(int port) { - this.port = port; - } - /** {@inheritDoc} */ @Override public short directType() { return -101; diff --git a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryAbstractMessage.java b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryAbstractMessage.java index 6408fc2b06c90..d5653d3d78b25 100644 --- a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryAbstractMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryAbstractMessage.java @@ -130,15 +130,6 @@ public IgniteUuid id() { return id; } - /** - * Sets message ID. - * - * @param id Message ID. - */ - public void id(IgniteUuid id) { - this.id = id; - } - /** * Gets sender node ID. * @@ -300,20 +291,6 @@ public void failedNodes(@Nullable Set failedNodes) { return failedNodes; } - /** - * @return Flags. - */ - public int flags() { - return flags; - } - - /** - * @param flags New flags. - */ - public void flags(int flags) { - this.flags = flags; - } - /** {@inheritDoc} */ @Override public boolean equals(Object obj) { if (this == obj) diff --git a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryAuthFailedMessage.java b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryAuthFailedMessage.java index 694eaf6c97697..c05cda06e4888 100644 --- a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryAuthFailedMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryAuthFailedMessage.java @@ -63,21 +63,6 @@ public UUID targetNodeId() { return targetNodeId; } - /** @param targetNodeId Node for which authentication was failed. */ - public void targetNodeId(UUID targetNodeId) { - this.targetNodeId = targetNodeId; - } - - /** @return Creator address message. */ - public InetAddressMessage creatorAddressMessage() { - return creatorAddrMsg; - } - - /** @param addr Creator address message. */ - public void creatorAddressMessage(InetAddressMessage addr) { - this.creatorAddrMsg = addr; - } - /** @return Creator address. */ public InetAddress creatorAddress() { return creatorAddrMsg.address(); diff --git a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryCheckFailedMessage.java b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryCheckFailedMessage.java index b72f0dd57d72d..46d5531d1785b 100644 --- a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryCheckFailedMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryCheckFailedMessage.java @@ -56,13 +56,6 @@ public String error() { return err; } - /** - * @param err message from coordinator. - */ - public void error(String err) { - this.err = err; - } - /** {@inheritDoc} */ @Override public short directType() { return 0; diff --git a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryClientMetricsUpdateMessage.java b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryClientMetricsUpdateMessage.java index 49db31403bf33..61cb68449e7fd 100644 --- a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryClientMetricsUpdateMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryClientMetricsUpdateMessage.java @@ -63,15 +63,6 @@ public TcpDiscoveryNodeMetricsMessage metricsMessage() { return metricsMsg; } - /** - * Sets the metrics message. - * - * @param metricsMsg Metrics holder message. - */ - public void metricsMessage(TcpDiscoveryNodeMetricsMessage metricsMsg) { - this.metricsMsg = metricsMsg; - } - /** {@inheritDoc} */ @Override public short directType() { return 13; diff --git a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryClientPingRequest.java b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryClientPingRequest.java index cb588a765122f..729c57c404911 100644 --- a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryClientPingRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryClientPingRequest.java @@ -56,13 +56,6 @@ public TcpDiscoveryClientPingRequest(UUID creatorNodeId, @Nullable UUID nodeToPi return nodeToPing; } - /** - * @param nodeToPing Pinged client node ID. - */ - public void nodeToPing(@Nullable UUID nodeToPing) { - this.nodeToPing = nodeToPing; - } - /** {@inheritDoc} */ @Override public String toString() { return S.toString(TcpDiscoveryClientPingRequest.class, this, "super", super.toString()); diff --git a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryDiscardMessage.java b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryDiscardMessage.java index 1e212a2e9b554..a82beeaa4d4ea 100644 --- a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryDiscardMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryDiscardMessage.java @@ -67,13 +67,6 @@ public IgniteUuid messageId() { return msgId; } - /** - * @param msgId Message ID. - */ - public void messageId(IgniteUuid msgId) { - this.msgId = msgId; - } - /** * Flag indicating whether the ID to discard is for a custom message or not. * @@ -83,13 +76,6 @@ public boolean customMessageDiscard() { return customMsgDiscard; } - /** - * @param customMsgDiscard Custom message flag. - */ - public void customMessageDiscard(boolean customMsgDiscard) { - this.customMsgDiscard = customMsgDiscard; - } - /** {@inheritDoc} */ @Override public String toString() { return S.toString(TcpDiscoveryDiscardMessage.class, this, "super", super.toString()); diff --git a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryDuplicateIdMessage.java b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryDuplicateIdMessage.java index 93966689201df..9e0e249ea5fae 100644 --- a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryDuplicateIdMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryDuplicateIdMessage.java @@ -60,13 +60,6 @@ public UUID nodeId() { return nodeId; } - /** - * @param nodeId Node with duplicate ID. - */ - public void nodeId(UUID nodeId) { - this.nodeId = nodeId; - } - /** {@inheritDoc} */ @Override public String toString() { return S.toString(TcpDiscoveryDuplicateIdMessage.class, this, "super", super.toString()); diff --git a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryLoopbackProblemMessage.java b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryLoopbackProblemMessage.java index 50e4e1efcf187..6193b7726910a 100644 --- a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryLoopbackProblemMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryLoopbackProblemMessage.java @@ -66,13 +66,6 @@ public Collection addresses() { return addrs; } - /** - * @param addrs Remote node addresses. - */ - public void addresses(Collection addrs) { - this.addrs = addrs; - } - /** * @return Remote node host names. */ @@ -80,13 +73,6 @@ public Collection hostNames() { return hostNames; } - /** - * @param hostNames Remote node host names. - */ - public void hostNames(Collection hostNames) { - this.hostNames = hostNames; - } - /** {@inheritDoc} */ @Override public String toString() { return S.toString(TcpDiscoveryLoopbackProblemMessage.class, this, "super", super.toString()); diff --git a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryMetricsUpdateMessage.java b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryMetricsUpdateMessage.java index b11b9e77a4835..33e7a0e4fa87f 100644 --- a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryMetricsUpdateMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryMetricsUpdateMessage.java @@ -182,21 +182,11 @@ public Map serversFullMetricsMessages( return serversFullMetricsMsgs; } - /** @param serversFullMetricsMsgs Map of server full metrics messages. */ - public void serversFullMetricsMessages(Map serversFullMetricsMsgs) { - this.serversFullMetricsMsgs = serversFullMetricsMsgs; - } - /** @return Map of nodes metrics messages. */ public @Nullable Map connectedClientsMetricsMessages() { return connectedClientsMetricsMsgs; } - /** @param connectedClientsMetricsMsgs Map of nodes metrics messages. */ - public void connectedClientsMetricsMessages(Map connectedClientsMetricsMsgs) { - this.connectedClientsMetricsMsgs = connectedClientsMetricsMsgs; - } - /** * Gets client node IDs. * @@ -206,15 +196,6 @@ public void connectedClientsMetricsMessages(Map clientNodeIds) { - this.clientNodeIds = clientNodeIds; - } - /** * Adds client node ID. * diff --git a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryNodeAddFinishedMessage.java b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryNodeAddFinishedMessage.java index 96a9b1582af60..e8bd7c7ad2a73 100644 --- a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryNodeAddFinishedMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryNodeAddFinishedMessage.java @@ -96,13 +96,6 @@ public UUID nodeId() { return nodeId; } - /** - * @param nodeId ID of the node added. - */ - public void nodeId(UUID nodeId) { - this.nodeId = nodeId; - } - /** * @return Discovery data for joined client. */ @@ -133,20 +126,6 @@ public void clientNodeAttributes(Map clientNodeAttrs) { this.clientNodeAttrs = clientNodeAttrs; } - /** - * @return Serialized client node attributes. - */ - public @Nullable byte[] clientNodeAttributesBytes() { - return clientNodeAttrsBytes; - } - - /** - * @param clientNodeAttrsBytes Serialized client node attributes. - */ - public void clientNodeAttributesBytes(@Nullable byte[] clientNodeAttrsBytes) { - this.clientNodeAttrsBytes = clientNodeAttrsBytes; - } - /** * @param marsh Marshaller. */ diff --git a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryNodeFailedMessage.java b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryNodeFailedMessage.java index db9789966ce52..14cd0fcafc24f 100644 --- a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryNodeFailedMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryNodeFailedMessage.java @@ -90,13 +90,6 @@ public UUID failedNodeId() { return failedNodeId; } - /** - * @param failedNodeId ID of the failed node. - */ - public void failedNodeId(UUID failedNodeId) { - this.failedNodeId = failedNodeId; - } - /** * @return Internal order of the failed node. */ @@ -104,13 +97,6 @@ public long internalOrder() { return order; } - /** - * @param order Internal order of the failed node. - */ - public void internalOrder(long order) { - this.order = order; - } - /** {@inheritDoc} */ @Override public String toString() { return S.toString(TcpDiscoveryNodeFailedMessage.class, this, "super", super.toString()); diff --git a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryPingRequest.java b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryPingRequest.java index 3e9db33564ffc..503b3e091fe2a 100644 --- a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryPingRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryPingRequest.java @@ -56,13 +56,6 @@ public TcpDiscoveryPingRequest(UUID creatorNodeId, @Nullable UUID clientNodeId) return clientNodeId; } - /** - * @param clientNodeId New pinged client node ID. - */ - public void clientNodeId(@Nullable UUID clientNodeId) { - this.clientNodeId = clientNodeId; - } - /** {@inheritDoc} */ @Override public String toString() { return S.toString(TcpDiscoveryPingRequest.class, this, "super", super.toString()); diff --git a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryRingLatencyCheckMessage.java b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryRingLatencyCheckMessage.java index b9db8228b9c4f..4dc212ff0c677 100644 --- a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryRingLatencyCheckMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryRingLatencyCheckMessage.java @@ -62,16 +62,6 @@ public void onRead() { curHops++; } - /** @return Current hops reached. */ - public int currentHops() { - return curHops; - } - - /** @param curHop Current hops reached. */ - public void currentHops(int curHop) { - curHops = curHop; - } - /** * @return Maximal hops number. */ @@ -79,11 +69,6 @@ public int maximalHops() { return maxHops; } - /** @param maxHops Maximal hops. */ - public void maximalHops(int maxHops) { - this.maxHops = maxHops; - } - /** * @return {@code True} if max hops reached. */ diff --git a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryStatusCheckMessage.java b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryStatusCheckMessage.java index 914065189ed45..2cd673ebaf587 100644 --- a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryStatusCheckMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryStatusCheckMessage.java @@ -98,24 +98,6 @@ public TcpDiscoveryStatusCheckMessage( .collect(Collectors.toList()); } - /** - * Gets creator node addresses. - * - * @return Creator node addresses. - */ - public @Nullable Collection creatorNodeAddressesMessages() { - return creatorNodeAddrsMsgs; - } - - /** - * Sets creator node addresses. - * - * @param creatorNodeAddrsMsgs Creator node addresses. - */ - public void creatorNodeAddressesMessages(@Nullable Collection creatorNodeAddrsMsgs) { - this.creatorNodeAddrsMsgs = creatorNodeAddrsMsgs; - } - /** * Gets failed node id. * @@ -125,15 +107,6 @@ public void creatorNodeAddressesMessages(@Nullable Collection tbls) { return this; } - /** - * Get tables. - *

- * N.B.: Was used in AI 1.9 for snapshots. Unused at the moment, but should be kept for compatibility reasons. - * - * @return Tables. - */ - public Collection tables() { - return tbls; - } - /** * @param reqId Request ID. * @return {@code this}. From a6430ad65f0e87ab9832b60c17e59928441d64e8 Mon Sep 17 00:00:00 2001 From: Anton Vinogradov Date: Fri, 20 Feb 2026 19:59:49 +0300 Subject: [PATCH 2/9] WIP --- .../internal/GridJobExecuteResponse.java | 49 --------------- .../internal/GridJobSiblingsResponse.java | 14 ----- .../internal/IgniteDiagnosticResponse.java | 10 ---- .../query/index/IndexQueryResultMeta.java | 24 -------- .../index/sorted/IndexKeyDefinition.java | 19 ------ .../GenerateEncryptionKeyResponse.java | 21 ------- .../cache/CacheEntryInfoCollection.java | 7 --- .../processors/cache/CacheEvictionEntry.java | 59 ------------------- .../cache/CacheInvokeDirectResult.java | 28 --------- .../processors/cache/GridCacheReturn.java | 35 ----------- .../dht/atomic/NearCacheUpdates.java | 49 --------------- .../distributed/dht/atomic/UpdateErrors.java | 21 ------- .../CachePartitionFullCountersMap.java | 24 -------- .../preloader/CachePartitionsToReloadMap.java | 14 ----- .../preloader/GridDhtPartitionExchangeId.java | 37 ------------ .../dht/preloader/GroupPartitionIdPair.java | 14 ----- .../IgniteDhtPartitionCountersMap.java | 21 ------- ...IgniteDhtPartitionHistorySuppliersMap.java | 14 ----- .../IgniteDhtPartitionsToReloadMap.java | 14 ----- .../distributed/dht/preloader/IntLongMap.java | 7 --- .../preloader/PartitionReservationsMap.java | 7 --- .../dht/preloader/PartitionsToReload.java | 7 --- .../distributed/near/CacheVersionedValue.java | 14 ----- .../cache/transactions/IgniteTxKey.java | 14 ----- .../transactions/TxEntryValueHolder.java | 14 ----- .../processors/cache/transactions/TxLock.java | 35 ----------- .../cache/transactions/TxLockList.java | 7 --- .../cache/version/GridCacheVersion.java | 29 --------- .../datastreamer/DataStreamerResponse.java | 14 ----- .../messages/GridQueryFailResponse.java | 21 ------- .../messages/GridQueryNextPageResponse.java | 56 ------------------ .../query/messages/GridQueryKillResponse.java | 14 ----- .../handlers/task/GridTaskResultResponse.java | 14 ----- .../service/ServiceDeploymentProcessId.java | 14 ----- .../ServiceSingleNodeDeploymentResult.java | 7 --- ...erviceSingleNodeDeploymentResultBatch.java | 14 ----- .../internal/util/GridByteArrayList.java | 14 ----- .../tcp/messages/NodeSpecificData.java | 7 --- .../TcpDiscoveryClientAckResponse.java | 7 --- .../TcpDiscoveryClientPingResponse.java | 14 ----- .../TcpDiscoveryHandshakeResponse.java | 29 --------- 41 files changed, 833 deletions(-) diff --git a/modules/core/src/main/java/org/apache/ignite/internal/GridJobExecuteResponse.java b/modules/core/src/main/java/org/apache/ignite/internal/GridJobExecuteResponse.java index e141d537f4b73..08ebcd08063e5 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/GridJobExecuteResponse.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/GridJobExecuteResponse.java @@ -134,11 +134,6 @@ public IgniteUuid sessionId() { return sesId; } - /** */ - public void sessionId(IgniteUuid sesId) { - this.sesId = sesId; - } - /** * @return Job ID. */ @@ -146,23 +141,6 @@ public IgniteUuid jobId() { return jobId; } - /** */ - public void jobId(IgniteUuid jobId) { - this.jobId = jobId; - } - - /** - * @return Serialized job result. - */ - @Nullable public byte[] jobResultBytes() { - return resBytes; - } - - /** */ - public void jobResultBytes(@Nullable byte[] resBytes) { - this.resBytes = resBytes; - } - /** * @return Job result. */ @@ -195,18 +173,6 @@ public void exceptionMessage(@Nullable ErrorMessage gridExMsg) { return gridEx == null ? null : new ErrorMessage(gridEx); } - /** - * @return Serialized job attributes. - */ - @Nullable public byte[] jobAttrubutesBytes() { - return jobAttrsBytes; - } - - /** */ - public void jobAttrubutesBytes(@Nullable byte[] jobAttrsBytes) { - this.jobAttrsBytes = jobAttrsBytes; - } - /** * @return Job attributes. */ @@ -221,11 +187,6 @@ public boolean cancelled() { return isCancelled; } - /** */ - public void cancelled(boolean cancelled) { - isCancelled = cancelled; - } - /** * @return Sender node ID. */ @@ -233,11 +194,6 @@ public UUID nodeId() { return nodeId; } - /** */ - public void nodeId(UUID nodeId) { - this.nodeId = nodeId; - } - /** * @return Fake exception. */ @@ -267,11 +223,6 @@ public boolean retry() { return retry; } - /** */ - public void retryTopologyVersion(@Nullable AffinityTopologyVersion retry) { - this.retry = retry; - } - /** * Serializes user data to byte[] with provided marshaller. * Erases non-marshalled data like {@link #getJobAttributes()} or {@link #getJobResult()}. diff --git a/modules/core/src/main/java/org/apache/ignite/internal/GridJobSiblingsResponse.java b/modules/core/src/main/java/org/apache/ignite/internal/GridJobSiblingsResponse.java index a625d4edcc4ec..5efcf8925f9dd 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/GridJobSiblingsResponse.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/GridJobSiblingsResponse.java @@ -58,20 +58,6 @@ public GridJobSiblingsResponse(@Nullable Collection siblings) return siblings; } - /** - * @return Serialized siblings. - */ - public byte[] siblingsBytes() { - return siblingsBytes; - } - - /** - * @param siblingsBytes Serialized siblings. - */ - public void siblingsBytes(byte[] siblingsBytes) { - this.siblingsBytes = siblingsBytes; - } - /** * Marshals siblings to byte array. * diff --git a/modules/core/src/main/java/org/apache/ignite/internal/IgniteDiagnosticResponse.java b/modules/core/src/main/java/org/apache/ignite/internal/IgniteDiagnosticResponse.java index b59a0b2121f2e..a4c16f691e7ee 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/IgniteDiagnosticResponse.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/IgniteDiagnosticResponse.java @@ -57,21 +57,11 @@ public long futureId() { return futId; } - /** */ - public void futureId(long futId) { - this.futId = futId; - } - /** */ public @Nullable String responseInfo() { return respInfo; } - /** */ - public void responseInfo(@Nullable String respInfo) { - this.respInfo = respInfo; - } - /** {@inheritDoc} */ @Override public short directType() { return -62; diff --git a/modules/core/src/main/java/org/apache/ignite/internal/cache/query/index/IndexQueryResultMeta.java b/modules/core/src/main/java/org/apache/ignite/internal/cache/query/index/IndexQueryResultMeta.java index 4c89990e8c11d..cb0ac8c45338b 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/cache/query/index/IndexQueryResultMeta.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/cache/query/index/IndexQueryResultMeta.java @@ -82,11 +82,6 @@ public IndexKeyTypeSettings keyTypeSettings() { return keyTypeSettings; } - /** */ - public void keyTypeSettings(IndexKeyTypeSettings keyTypeSettings) { - this.keyTypeSettings = keyTypeSettings; - } - /** @return Map of index definitions with proper order. */ public LinkedHashMap keyDefinitions() { if (F.isEmpty(idxNames) && F.isEmpty(idxDefs)) @@ -103,23 +98,4 @@ public LinkedHashMap keyDefinitions() { return idxDefsMap; } - /** @return Index names with proper order. */ - public @Nullable String[] orderedIndexNames() { - return idxNames; - } - - /** Stores index names with proper order to build the linked map later. */ - public void orderedIndexNames(@Nullable String[] idxNames) { - this.idxNames = idxNames; - } - - /** @return Index definitions with proper order. */ - public @Nullable IndexKeyDefinition[] orderedIndexDefinitions() { - return idxDefs; - } - - /** Process the index definitions with proper order and buils the linked map. */ - public void orderedIndexDefinitions(@Nullable IndexKeyDefinition[] idxDefs) { - this.idxDefs = idxDefs; - } } diff --git a/modules/core/src/main/java/org/apache/ignite/internal/cache/query/index/sorted/IndexKeyDefinition.java b/modules/core/src/main/java/org/apache/ignite/internal/cache/query/index/sorted/IndexKeyDefinition.java index 70e4e02559683..c99b1c99d7020 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/cache/query/index/sorted/IndexKeyDefinition.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/cache/query/index/sorted/IndexKeyDefinition.java @@ -65,11 +65,6 @@ public boolean ascending() { return asc; } - /** */ - public void ascending(boolean asc) { - this.asc = asc; - } - /** */ public IndexKeyType indexKeyType() { return idxTypeMsg.value(); @@ -80,18 +75,4 @@ public int precision() { return precision; } - /** */ - public void precision(int precision) { - this.precision = precision; - } - - /** */ - public IndexKeyTypeMessage indexKeyTypeMessage() { - return idxTypeMsg; - } - - /** */ - public void indexKeyTypeMessage(IndexKeyTypeMessage idxTypeMsg) { - this.idxTypeMsg = idxTypeMsg; - } } diff --git a/modules/core/src/main/java/org/apache/ignite/internal/managers/encryption/GenerateEncryptionKeyResponse.java b/modules/core/src/main/java/org/apache/ignite/internal/managers/encryption/GenerateEncryptionKeyResponse.java index 2c8c81afa790e..9ab94bbd3ff36 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/managers/encryption/GenerateEncryptionKeyResponse.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/managers/encryption/GenerateEncryptionKeyResponse.java @@ -61,13 +61,6 @@ public IgniteUuid requestId() { return id; } - /** - * @param id Request id. - */ - public void requestId(IgniteUuid id) { - this.id = id; - } - /** * @return Encryption keys. */ @@ -75,25 +68,11 @@ public Collection encryptionKeys() { return encKeys; } - /** - * @param encKeys Encryption keys. - */ - public void encryptionKeys(Collection encKeys) { - this.encKeys = encKeys; - } - /** @return Master key digest that encrypted group encryption keys. */ public byte[] masterKeyDigest() { return masterKeyDigest; } - /** - * @param masterKeyDigest Master key digest that encrypted group encryption keys. - */ - public void masterKeyDigest(byte[] masterKeyDigest) { - this.masterKeyDigest = masterKeyDigest; - } - /** {@inheritDoc} */ @Override public short directType() { return 163; diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheEntryInfoCollection.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheEntryInfoCollection.java index 6618e19e7db5d..e9e6e6da26dde 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheEntryInfoCollection.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheEntryInfoCollection.java @@ -28,13 +28,6 @@ public class CacheEntryInfoCollection implements Message { @Order(0) List infos = new ArrayList<>(); - /** - * Sets entries. - */ - public void infos(List infos) { - this.infos = infos; - } - /** * @return Entries. */ diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheEvictionEntry.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheEvictionEntry.java index 594acdb3d334b..53b58fa1ed36a 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheEvictionEntry.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheEvictionEntry.java @@ -17,7 +17,6 @@ package org.apache.ignite.internal.processors.cache; -import org.apache.ignite.IgniteCheckedException; import org.apache.ignite.internal.Order; import org.apache.ignite.internal.processors.cache.version.GridCacheVersion; import org.apache.ignite.internal.util.tostring.GridToStringInclude; @@ -59,67 +58,9 @@ public CacheEvictionEntry(KeyCacheObject key, GridCacheVersion ver, boolean near this.near = near; } - /** - * @return Key. - */ - public KeyCacheObject key() { - return key; - } - - /** - * @param key New key. - */ - public void key(KeyCacheObject key) { - this.key = key; - } - - /** - * @return Version. - */ - public GridCacheVersion version() { - return ver; - } - - /** - * @param ver New version. - */ - public void version(GridCacheVersion ver) { - this.ver = ver; - } - - /** - * @return {@code True} if key should be evicted from near cache. - */ - public boolean near() { - return near; - } - - /** - * @param near {@code True} if key should be evicted from near cache. - */ - public void near(boolean near) { - this.near = near; - } - /** {@inheritDoc} */ @Override public short directType() { return 97; } - /** - * @param ctx Context. - * @throws IgniteCheckedException If failed. - */ - public void prepareMarshal(GridCacheContext ctx) throws IgniteCheckedException { - key.prepareMarshal(ctx.cacheObjectContext()); - } - - /** - * @param ctx Context. - * @param ldr Class loader. - * @throws IgniteCheckedException If failed. - */ - public void finishUnmarshal(GridCacheContext ctx, ClassLoader ldr) throws IgniteCheckedException { - key.finishUnmarshal(ctx.cacheObjectContext(), ldr); - } } diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheInvokeDirectResult.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheInvokeDirectResult.java index 723a3f6169e8b..561378eb850cd 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheInvokeDirectResult.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheInvokeDirectResult.java @@ -97,13 +97,6 @@ public KeyCacheObject key() { return key; } - /** - * @param key Key. - */ - public void key(KeyCacheObject key) { - this.key = key; - } - /** * @return Result. */ @@ -111,13 +104,6 @@ public CacheObject result() { return res; } - /** - * @param res Result. - */ - public void result(CacheObject res) { - this.res = res; - } - /** * @return Error. */ @@ -125,20 +111,6 @@ public void result(CacheObject res) { return ErrorMessage.error(errMsg); } - /** - * @return Error message. - */ - public ErrorMessage errorMessage() { - return errMsg; - } - - /** - * @param errMsg Error message. - */ - public void errorMessage(ErrorMessage errMsg) { - this.errMsg = errMsg; - } - /** * @param ctx Cache context. * @throws IgniteCheckedException If failed. diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheReturn.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheReturn.java index c6c6c70ae5ab9..bf222bb04de30 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheReturn.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheReturn.java @@ -292,41 +292,6 @@ public int cacheId() { return cacheId; } - /** - * @param cacheId Cache ID. - */ - public void cacheId(int cacheId) { - this.cacheId = cacheId; - } - - /** - * @return Cache object. - */ - public @Nullable CacheObject cacheObject() { - return cacheObj; - } - - /** - * @param cacheObj Cache object. - */ - public void cacheObject(@Nullable CacheObject cacheObj) { - this.cacheObj = cacheObj; - } - - /** - * @return Invoke direct results. - */ - public @Nullable Collection invokeDirectResults() { - return invokeResCol; - } - - /** - * @param invokeResCol Invoke direct results. - */ - public void invokeDirectResults(@Nullable Collection invokeResCol) { - this.invokeResCol = invokeResCol; - } - /** * @param other Other result to merge with. */ diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/NearCacheUpdates.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/NearCacheUpdates.java index 428dffb89baae..a41dea67f7de7 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/NearCacheUpdates.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/NearCacheUpdates.java @@ -64,41 +64,6 @@ public List nearValues() { return nearVals; } - /** - * @param nearVals values. - */ - public void nearValues(List nearVals) { - this.nearVals = nearVals; - } - - /** - * @return Near TTLs. - */ - public GridLongList nearTtls() { - return nearTtls; - } - - /** - * @param nearTtls Near TTLs. - */ - public void nearTtls(GridLongList nearTtls) { - this.nearTtls = nearTtls; - } - - /** - * @return Near expire times. - */ - public GridLongList nearExpireTimes() { - return nearExpireTimes; - } - - /** - * @param nearExpireTimes Near expire times. - */ - public void nearExpireTimes(GridLongList nearExpireTimes) { - this.nearExpireTimes = nearExpireTimes; - } - /** * Adds value to be put in near cache on originating node. * @@ -214,13 +179,6 @@ void addSkippedIndex(int keyIdx) { return nearSkipIdxs; } - /** - * @param nearSkipIdxs Indexes of keys for which update was skipped - */ - public void skippedIndexes(List nearSkipIdxs) { - this.nearSkipIdxs = nearSkipIdxs; - } - /** * @return Indexes of keys for which values were generated on primary node. */ @@ -228,13 +186,6 @@ public void skippedIndexes(List nearSkipIdxs) { return nearValsIdxs; } - /** - * @param nearValsIdxs Indexes of keys for which values were generated on primary node. - */ - public void nearValuesIndexes(List nearValsIdxs) { - this.nearValsIdxs = nearValsIdxs; - } - /** * @param idx Index. * @return Value generated on primary node which should be put to originating node's near cache. diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/UpdateErrors.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/UpdateErrors.java index 11a8b0e6dcba9..1e860354a5d00 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/UpdateErrors.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/atomic/UpdateErrors.java @@ -74,20 +74,6 @@ public Throwable error() { return ErrorMessage.error(errMsg); } - /** - * @param errMsg New error message. - */ - public void errorMessage(ErrorMessage errMsg) { - this.errMsg = errMsg; - } - - /** - * @return Error message. - */ - public ErrorMessage errorMessage() { - return errMsg; - } - /** * @return Failed keys. */ @@ -95,13 +81,6 @@ public Collection failedKeys() { return failedKeys; } - /** - * @param failedKeys New failed keys. - */ - public void failedKeys(List failedKeys) { - this.failedKeys = failedKeys; - } - /** * Adds key to collection of failed keys. * diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/CachePartitionFullCountersMap.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/CachePartitionFullCountersMap.java index 6e93abfe25b54..6ac0fb6767caa 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/CachePartitionFullCountersMap.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/CachePartitionFullCountersMap.java @@ -62,16 +62,6 @@ public CachePartitionFullCountersMap(int partsCnt) { updCntrs = new long[partsCnt]; } - /** - * Gets an initial update counter by the partition ID. - * - * @param p Partition ID. - * @return Initial update counter for the partition with the given ID. - */ - public long initialUpdateCounter(int p) { - return initUpdCntrs[p]; - } - /** * Gets an update counter by the partition ID. * @@ -129,13 +119,6 @@ public long[] initialUpdateCounters() { return initUpdCntrs; } - /** - * @param initUpdCntrs Initial update counters. - */ - public void initialUpdateCounters(long[] initUpdCntrs) { - this.initUpdCntrs = initUpdCntrs; - } - /** * @return Update counters. */ @@ -143,13 +126,6 @@ public long[] updateCounters() { return updCntrs; } - /** - * @param updCntrs Update counters. - */ - public void updateCounters(long[] updCntrs) { - this.updCntrs = updCntrs; - } - /** {@inheritDoc} */ @Override public short directType() { return TYPE_CODE; diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/CachePartitionsToReloadMap.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/CachePartitionsToReloadMap.java index 637238755c284..049cb682b85b5 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/CachePartitionsToReloadMap.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/CachePartitionsToReloadMap.java @@ -32,20 +32,6 @@ public class CachePartitionsToReloadMap implements Message { @Order(0) Map map; - /** - * @return Partition reload map for cache. - */ - public Map cachePartitions() { - return map; - } - - /** - * @param map Partition reload map for cache. - */ - public void cachePartitions(Map map) { - this.map = map; - } - /** * @param cacheId Cache id. * @return Partitions to reload for this cache. diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtPartitionExchangeId.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtPartitionExchangeId.java index 58bf247fba56c..d20521d02e1cf 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtPartitionExchangeId.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtPartitionExchangeId.java @@ -104,36 +104,6 @@ public UUID nodeId() { return nodeId; } - /** - * @param nodeId New node ID. - */ - public void nodeId(UUID nodeId) { - this.nodeId = nodeId; - } - - /** - * @return Event. - */ - public int event() { - return evt; - } - - /** - * @param evt New event type. - */ - public void event(int evt) { - this.evt = evt; - } - - /** - * @return Discovery event timestamp. - */ - long eventTimestamp() { - assert discoEvt != null; - - return discoEvt.timestamp(); - } - /** * @param discoEvt Discovery event. */ @@ -171,13 +141,6 @@ public AffinityTopologyVersion topologyVersion() { return topVer; } - /** - * @param topVer New topology version. - */ - public void topologyVersion(AffinityTopologyVersion topVer) { - this.topVer = topVer; - } - /** * @return {@code True} if exchange is for new node joining. */ diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GroupPartitionIdPair.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GroupPartitionIdPair.java index 244b97410e359..80102e83af0e6 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GroupPartitionIdPair.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GroupPartitionIdPair.java @@ -55,13 +55,6 @@ public int groupId() { return grpId; } - /** - * @param grpId Group ID. - */ - public void groupId(int grpId) { - this.grpId = grpId; - } - /** * @return Partition ID. */ @@ -69,13 +62,6 @@ public int partitionId() { return partId; } - /** - * @param partId Partition ID. - */ - public void partitionId(int partId) { - this.partId = partId; - } - /** {@inheritDoc} */ @Override public short directType() { return TYPE_CODE; diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/IgniteDhtPartitionCountersMap.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/IgniteDhtPartitionCountersMap.java index 685c30cf56101..020e6ca67cb36 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/IgniteDhtPartitionCountersMap.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/IgniteDhtPartitionCountersMap.java @@ -34,13 +34,6 @@ public class IgniteDhtPartitionCountersMap implements Message { @Order(0) Map map; - /** - * @return {@code True} if map is empty. - */ - public synchronized boolean empty() { - return map == null || map.isEmpty(); - } - /** * @param cacheId Cache ID. * @param cntrMap Counters map. @@ -69,20 +62,6 @@ public synchronized CachePartitionFullCountersMap get(int cacheId) { return cntrMap; } - /** - * @return Partition counters map. - */ - public Map partitionCounters() { - return map; - } - - /** - * @param map Partition counters map. - */ - public void partitionCounters(Map map) { - this.map = map; - } - /** {@inheritDoc} */ @Override public short directType() { return TYPE_CODE; diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/IgniteDhtPartitionHistorySuppliersMap.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/IgniteDhtPartitionHistorySuppliersMap.java index fdc982952a156..315cb23bf5101 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/IgniteDhtPartitionHistorySuppliersMap.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/IgniteDhtPartitionHistorySuppliersMap.java @@ -114,20 +114,6 @@ public synchronized void putAll(IgniteDhtPartitionHistorySuppliersMap that) { map = that.map; } - /** - * @return Partition history suppliers map. - */ - public Map historySuppliers() { - return map; - } - - /** - * @param map Partition history suppliers map. - */ - public void historySuppliers(Map map) { - this.map = map; - } - /** {@inheritDoc} */ @Override public String toString() { return S.toString(IgniteDhtPartitionHistorySuppliersMap.class, this); diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/IgniteDhtPartitionsToReloadMap.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/IgniteDhtPartitionsToReloadMap.java index 649981be684f3..2cf219b7aa1be 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/IgniteDhtPartitionsToReloadMap.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/IgniteDhtPartitionsToReloadMap.java @@ -95,20 +95,6 @@ public synchronized boolean isEmpty() { return S.toString(IgniteDhtPartitionsToReloadMap.class, this); } - /** - * @return Partition reload map. - */ - public Map partitionsToReload() { - return map; - } - - /** - * @param map Partition reload map. - */ - public void partitionsToReload(Map map) { - this.map = map; - } - /** {@inheritDoc} */ @Override public short directType() { return TYPE_CODE; diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/IntLongMap.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/IntLongMap.java index 1b4a6987170b7..c8614f08a8cca 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/IntLongMap.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/IntLongMap.java @@ -53,13 +53,6 @@ public IntLongMap(@Nullable Map map) { return map; } - /** - * @param map Map. - */ - public void map(Map map) { - this.map = map; - } - /** {@inheritDoc} */ @Override public short directType() { return TYPE_CODE; diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/PartitionReservationsMap.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/PartitionReservationsMap.java index 20b2d40ec3b3e..14eb95f0cf60d 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/PartitionReservationsMap.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/PartitionReservationsMap.java @@ -39,13 +39,6 @@ public Map reservations() { return map; } - /** - * @param map Partition reservations map. - */ - public void reservations(Map map) { - this.map = map; - } - /** * @param pair Pair of group ID and partition ID. * @return History counter for this pair or null. diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/PartitionsToReload.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/PartitionsToReload.java index 073b9735d82a1..63faa89841eb3 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/PartitionsToReload.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/PartitionsToReload.java @@ -38,13 +38,6 @@ public Set partitions() { return parts; } - /** - * @param parts Set of partitions to reload. - */ - public void partitions(Set parts) { - this.parts = parts; - } - /** * @param partId Partition ID. */ diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/near/CacheVersionedValue.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/near/CacheVersionedValue.java index 338bbbee1c3aa..334c12a4b1d76 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/near/CacheVersionedValue.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/near/CacheVersionedValue.java @@ -62,13 +62,6 @@ public GridCacheVersion version() { return ver; } - /** - * @param ver New cache version. - */ - public void version(GridCacheVersion ver) { - this.ver = ver; - } - /** * @return Cache object. */ @@ -76,13 +69,6 @@ public CacheObject value() { return val; } - /** - * @param val New value. - */ - public void value(CacheObject val) { - this.val = val; - } - /** * This method is called before the whole message is sent * and is responsible for pre-marshalling state. diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/IgniteTxKey.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/IgniteTxKey.java index ed0728fcd303f..2d47f31d863cb 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/IgniteTxKey.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/IgniteTxKey.java @@ -62,13 +62,6 @@ public KeyCacheObject key() { return key; } - /** - * @param key New key. - */ - public void key(KeyCacheObject key) { - this.key = key; - } - /** * @return Cache ID. */ @@ -76,13 +69,6 @@ public int cacheId() { return cacheId; } - /** - * @param cacheId New cache ID. - */ - public void cacheId(int cacheId) { - this.cacheId = cacheId; - } - /** * @param ctx Context. * @throws IgniteCheckedException If failed. diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/TxEntryValueHolder.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/TxEntryValueHolder.java index ec2d4f02f453e..a6e33f449670c 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/TxEntryValueHolder.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/TxEntryValueHolder.java @@ -91,13 +91,6 @@ public CacheObject value() { return val; } - /** - * @param val Stored value. - */ - public void value(@Nullable CacheObject val) { - this.val = val; - } - /** * Used only in serializer. * @@ -137,13 +130,6 @@ public boolean hasWriteValue() { return hasWriteVal; } - /** - * @param hasWriteVal Flag indicating that value has been set for write. - */ - public void hasWriteValue(boolean hasWriteVal) { - this.hasWriteVal = hasWriteVal; - } - /** * @return Flag indicating that value has been set for read. */ diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/TxLock.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/TxLock.java index 5ae0a167df0f3..bc80266d7c24d 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/TxLock.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/TxLock.java @@ -82,13 +82,6 @@ public UUID nearNodeId() { return nearNodeId; } - /** - * @param nearNodeId Near node ID. - */ - public void nearNodeId(UUID nearNodeId) { - this.nearNodeId = nearNodeId; - } - /** * @return Transaction ID. */ @@ -96,13 +89,6 @@ public GridCacheVersion txId() { return txId; } - /** - * @param txId Transaction ID. - */ - public void txId(GridCacheVersion txId) { - this.txId = txId; - } - /** * @return Thread ID. */ @@ -110,27 +96,6 @@ public long threadId() { return threadId; } - /** - * @param threadId Thread ID. - */ - public void threadId(long threadId) { - this.threadId = threadId; - } - - /** - * @return Ownership. - */ - public byte ownership() { - return ownership; - } - - /** - * @param ownership Ownership. - */ - public void ownership(byte ownership) { - this.ownership = ownership; - } - /** * @return {@code True} if transaction hold lock on the key, otherwise {@code false}. */ diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/TxLockList.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/TxLockList.java index c526284e91710..c0214cd163ac3 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/TxLockList.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/TxLockList.java @@ -47,13 +47,6 @@ public List transactionLocks() { return txLocks; } - /** - * @param txLocks Lock list. - */ - public void transactionLocks(List txLocks) { - this.txLocks = txLocks; - } - /** * @param txLock Tx lock. */ diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/version/GridCacheVersion.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/version/GridCacheVersion.java index e785024c40c82..a9798bcca22d8 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/version/GridCacheVersion.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/version/GridCacheVersion.java @@ -104,13 +104,6 @@ public GridCacheVersion(int topVer, int nodeOrderDrId, long order) { return topVer; } - /** - * @param topVer New topology version. - */ - public void topologyVersion(int topVer) { - this.topVer = topVer; - } - /** * Gets combined node order and DR ID. * @@ -120,13 +113,6 @@ public int nodeOrderAndDrIdRaw() { return nodeOrderDrId; } - /** - * New combined node order and DR ID. - */ - public void nodeOrderAndDrIdRaw(int nodeOrderDrId) { - this.nodeOrderDrId = nodeOrderDrId; - } - /** * @return Version order. */ @@ -134,13 +120,6 @@ public void nodeOrderAndDrIdRaw(int nodeOrderDrId) { return order; } - /** - * @param order New order. - */ - public void order(long order) { - this.order = order; - } - /** {@inheritDoc} */ @Override public CacheEntryVersion otherClusterVersion() { return null; @@ -194,14 +173,6 @@ public boolean isLess(GridCacheVersion ver) { return compareTo(ver) < 0; } - /** - * @param ver Version. - * @return {@code True} if this version is less or equal. - */ - public boolean isLessEqual(GridCacheVersion ver) { - return compareTo(ver) <= 0; - } - /** * @return Version represented as {@code IgniteUuid} */ diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/datastreamer/DataStreamerResponse.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/datastreamer/DataStreamerResponse.java index 1beefa98476b6..9abee2888727f 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/datastreamer/DataStreamerResponse.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/datastreamer/DataStreamerResponse.java @@ -64,13 +64,6 @@ public long requestId() { return reqId; } - /** - * @param reqId Request ID. - */ - public void requestId(long reqId) { - this.reqId = reqId; - } - /** * @return Error bytes. */ @@ -78,13 +71,6 @@ public void requestId(long reqId) { return errBytes; } - /** - * @param errBytes Error bytes. - */ - public void errorBytes(@Nullable byte[] errBytes) { - this.errBytes = errBytes; - } - /** * @return Error. */ diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/query/h2/twostep/messages/GridQueryFailResponse.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/query/h2/twostep/messages/GridQueryFailResponse.java index 946fcc54fc3ed..f44d8d3eabe7d 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/query/h2/twostep/messages/GridQueryFailResponse.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/query/h2/twostep/messages/GridQueryFailResponse.java @@ -78,13 +78,6 @@ public long queryRequestId() { return qryReqId; } - /** - * @param qryReqId Query request ID. - */ - public void queryRequestId(long qryReqId) { - this.qryReqId = qryReqId; - } - /** * @return Error. */ @@ -92,13 +85,6 @@ public String error() { return errMsg; } - /** - * @param errMsg Error. - */ - public void error(String errMsg) { - this.errMsg = errMsg; - } - /** * @return Fail code. */ @@ -106,13 +92,6 @@ public byte failCode() { return failCode; } - /** - * @param failCode Fail code. - */ - public void failCode(byte failCode) { - this.failCode = failCode; - } - /** {@inheritDoc} */ @Override public String toString() { return S.toString(GridQueryFailResponse.class, this); diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/query/h2/twostep/messages/GridQueryNextPageResponse.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/query/h2/twostep/messages/GridQueryNextPageResponse.java index 17cbc252db006..728e6283128f0 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/query/h2/twostep/messages/GridQueryNextPageResponse.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/query/h2/twostep/messages/GridQueryNextPageResponse.java @@ -115,13 +115,6 @@ public long queryRequestId() { return qryReqId; } - /** - * @param qryReqId Query request ID. - */ - public void queryRequestId(long qryReqId) { - this.qryReqId = qryReqId; - } - /** * @return Index segment ID. */ @@ -129,13 +122,6 @@ public int segmentId() { return segmentId; } - /** - * @param segmentId Index segment ID. - */ - public void segmentId(int segmentId) { - this.segmentId = segmentId; - } - /** * @return Query. */ @@ -143,13 +129,6 @@ public int query() { return qry; } - /** - * @param qry Query. - */ - public void query(int qry) { - this.qry = qry; - } - /** * @return Page. */ @@ -157,13 +136,6 @@ public int page() { return page; } - /** - * @param page Page. - */ - public void page(int page) { - this.page = page; - } - /** * @return All rows. */ @@ -171,13 +143,6 @@ public int allRows() { return allRows; } - /** - * @param allRows All rows. - */ - public void allRows(int allRows) { - this.allRows = allRows; - } - /** * @return Columns in row. */ @@ -185,13 +150,6 @@ public int columns() { return cols; } - /** - * @param cols Columns in row. - */ - public void columns(int cols) { - this.cols = cols; - } - /** * @return Values. */ @@ -199,13 +157,6 @@ public Collection values() { return vals; } - /** - * @param vals Values. - */ - public void values(Collection vals) { - this.vals = vals; - } - /** * @return Plain rows. */ @@ -253,13 +204,6 @@ public boolean last() { return last; } - /** - * @param last Last page flag. - */ - public void last(boolean last) { - this.last = last; - } - /** {@inheritDoc} */ @Override public String toString() { return S.toString(GridQueryNextPageResponse.class, this, diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/query/messages/GridQueryKillResponse.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/query/messages/GridQueryKillResponse.java index 114064afd2061..f906e7e011916 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/query/messages/GridQueryKillResponse.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/query/messages/GridQueryKillResponse.java @@ -60,13 +60,6 @@ public long requestId() { return reqId; } - /** - * @param reqId New request id. - */ - public void requestId(long reqId) { - this.reqId = reqId; - } - /** * @return Error text or {@code null} if no error. */ @@ -74,13 +67,6 @@ public String error() { return errMsg; } - /** - * @param errMsg New error text. - */ - public void error(String errMsg) { - this.errMsg = errMsg; - } - /** {@inheritDoc} */ @Override public short directType() { return TYPE_CODE; diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/handlers/task/GridTaskResultResponse.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/handlers/task/GridTaskResultResponse.java index c974fcd31e7ab..0bf6808364083 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/handlers/task/GridTaskResultResponse.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/handlers/task/GridTaskResultResponse.java @@ -54,20 +54,6 @@ public class GridTaskResultResponse implements Message { return res; } - /** - * @param resBytes Serialized result. - */ - public void resultBytes(byte[] resBytes) { - this.resBytes = resBytes; - } - - /** - * @return Serialized result. - */ - public byte[] resultBytes() { - return resBytes; - } - /** * @return {@code true} if finished. */ diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/service/ServiceDeploymentProcessId.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/service/ServiceDeploymentProcessId.java index 6862408eb3181..b70cb2a67f420 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/service/ServiceDeploymentProcessId.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/service/ServiceDeploymentProcessId.java @@ -69,13 +69,6 @@ public ServiceDeploymentProcessId() { return topVer; } - /** - * @param topVer New topology version. - */ - public void topologyVersion(@Nullable AffinityTopologyVersion topVer) { - this.topVer = topVer; - } - /** * @return Requests id. */ @@ -83,13 +76,6 @@ public void topologyVersion(@Nullable AffinityTopologyVersion topVer) { return reqId; } - /** - * @param reqId Request's id. - */ - public void requestId(@Nullable IgniteUuid reqId) { - this.reqId = reqId; - } - /** {@inheritDoc} */ @Override public short directType() { return 167; diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/service/ServiceSingleNodeDeploymentResult.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/service/ServiceSingleNodeDeploymentResult.java index 7d09987207b30..f352c720a2aa9 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/service/ServiceSingleNodeDeploymentResult.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/service/ServiceSingleNodeDeploymentResult.java @@ -62,13 +62,6 @@ public int count() { return cnt; } - /** - * @param cnt Count of service's instances. - */ - public void count(int cnt) { - this.cnt = cnt; - } - /** * @return Serialized exceptions. */ diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/service/ServiceSingleNodeDeploymentResultBatch.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/service/ServiceSingleNodeDeploymentResultBatch.java index 6243a13db1af9..76f5c48d90110 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/service/ServiceSingleNodeDeploymentResultBatch.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/service/ServiceSingleNodeDeploymentResultBatch.java @@ -64,13 +64,6 @@ public Map results() { return results; } - /** - * @param results Services deployments results. - */ - public void results(Map results) { - this.results = results; - } - /** * @return Deployment process id. */ @@ -78,13 +71,6 @@ public ServiceDeploymentProcessId deploymentId() { return depId; } - /** - * @param depId Deployment process id. - */ - public void deploymentId(ServiceDeploymentProcessId depId) { - this.depId = depId; - } - /** {@inheritDoc} */ @Override public short directType() { return 168; diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/GridByteArrayList.java b/modules/core/src/main/java/org/apache/ignite/internal/util/GridByteArrayList.java index ce1fb536c6331..f7f272c834816 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/util/GridByteArrayList.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/util/GridByteArrayList.java @@ -75,13 +75,6 @@ public byte[] internalArray() { return data; } - /** - * @param data The underlying array. - */ - public void internalArray(byte[] data) { - this.data = data; - } - /** * Gets copy of internal array. * @@ -133,13 +126,6 @@ public int size() { return size; } - /** - * @param size Number of bytes in the list. - */ - public void size(int size) { - this.size = size; - } - /** * Re-sizes internal byte array representation. * diff --git a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/NodeSpecificData.java b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/NodeSpecificData.java index cda65035091cb..e6bf73813f5b3 100644 --- a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/NodeSpecificData.java +++ b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/NodeSpecificData.java @@ -54,13 +54,6 @@ public Map nodeSpecificData() { return nodeSpecificData; } - /** - * @param nodeSpecificData New node specific data. - */ - public void nodeSpecificData(Map nodeSpecificData) { - this.nodeSpecificData = nodeSpecificData; - } - /** {@inheritDoc} */ @Override public short directType() { return -107; diff --git a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryClientAckResponse.java b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryClientAckResponse.java index 8f0f7fcc4a7b6..a780f5e633d62 100644 --- a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryClientAckResponse.java +++ b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryClientAckResponse.java @@ -56,13 +56,6 @@ public IgniteUuid messageId() { return msgId; } - /** - * @param msgId Acknowledged message ID. - */ - public void messageId(IgniteUuid msgId) { - this.msgId = msgId; - } - /** {@inheritDoc} */ @Override public boolean traceLogLevel() { return true; diff --git a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryClientPingResponse.java b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryClientPingResponse.java index 9ab4b9c178232..66f4ef6cf9056 100644 --- a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryClientPingResponse.java +++ b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryClientPingResponse.java @@ -62,13 +62,6 @@ public TcpDiscoveryClientPingResponse(UUID creatorNodeId, @Nullable UUID nodeToP return nodeToPing; } - /** - * @param nodeToPing Pinged client node ID. - */ - public void nodeToPing(@Nullable UUID nodeToPing) { - this.nodeToPing = nodeToPing; - } - /** * @return Result of ping. */ @@ -76,13 +69,6 @@ public boolean result() { return res; } - /** - * @param res Result of ping. - */ - public void result(boolean res) { - this.res = res; - } - /** {@inheritDoc} */ @Override public String toString() { return S.toString(TcpDiscoveryClientPingResponse.class, this, "super", super.toString()); diff --git a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryHandshakeResponse.java b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryHandshakeResponse.java index 3d3d5559f9f3c..99eb35d2f3d92 100644 --- a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryHandshakeResponse.java +++ b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/messages/TcpDiscoveryHandshakeResponse.java @@ -94,15 +94,6 @@ public long order() { return order; } - /** - * Sets order of the node sent the response. - * - * @param order Order of the node sent the response. - */ - public void order(long order) { - this.order = order; - } - /** @return Socket addresses list for redirect. */ public @Nullable Collection redirectAddresses() { return F.isEmpty(redirectAddrsMsgs) @@ -117,26 +108,6 @@ public void redirectAddresses(@Nullable Collection sockAddrs) : F.viewReadOnly(sockAddrs, addr -> new InetSocketAddressMessage(addr.getAddress(), addr.getPort())); } - /** @return Collection of {@link InetAddressMessage}. */ - public @Nullable Collection redirectAddressesMessages() { - return redirectAddrsMsgs; - } - - /** @param redirectAddrsMsgs Collection of {@link InetAddressMessage}. */ - public void redirectAddressesMessages(@Nullable Collection redirectAddrsMsgs) { - this.redirectAddrsMsgs = redirectAddrsMsgs; - } - - /** @return Previous node aliveness flag. */ - public boolean previousNodeAliveFlag() { - return prevNodeAliveFlag; - } - - /** @param prevNodeAliveFlag Previous node aliveness flag. */ - public void previousNodeAliveFlag(boolean prevNodeAliveFlag) { - this.prevNodeAliveFlag = prevNodeAliveFlag; - } - /** {@inheritDoc} */ @Override public short directType() { return 10; From 07229a5fc17f6aac745a602b240334698010bbeb Mon Sep 17 00:00:00 2001 From: Anton Vinogradov Date: Fri, 20 Feb 2026 20:05:16 +0300 Subject: [PATCH 3/9] WIP --- .../ignite/internal/GridJobExecuteResponse.java | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/modules/core/src/main/java/org/apache/ignite/internal/GridJobExecuteResponse.java b/modules/core/src/main/java/org/apache/ignite/internal/GridJobExecuteResponse.java index 08ebcd08063e5..eaa0edbd85dea 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/GridJobExecuteResponse.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/GridJobExecuteResponse.java @@ -53,15 +53,8 @@ public class GridJobExecuteResponse implements Message { /** */ private IgniteException gridEx; - /** - * Serialization call holder for {@code gridEx}. Works with {@link #marshallUserData(Marshaller)}. - * Wraps also possible serialization error. - */ - @Order(value = 3, method = "exceptionMessage") - @Nullable ErrorMessage gridExMsg; - /** Job result serialization call holder. */ - @Order(4) + @Order(3) @Nullable byte[] resBytes; /** */ @@ -69,14 +62,14 @@ public class GridJobExecuteResponse implements Message { /** */ /** Job attributes serialization call holder. */ - @Order(5) + @Order(4) byte[] jobAttrsBytes; /** */ private Map jobAttrs; /** */ - @Order(6) + @Order(5) boolean isCancelled; /** */ @@ -84,7 +77,7 @@ public class GridJobExecuteResponse implements Message { private IgniteException fakeEx; /** Retry topology version. */ - @Order(7) + @Order(6) AffinityTopologyVersion retry; /** From b2386972086e63cde9695abdf241566040ee3b03 Mon Sep 17 00:00:00 2001 From: Anton Vinogradov Date: Fri, 20 Feb 2026 20:07:27 +0300 Subject: [PATCH 4/9] WIP --- .../internal/processors/cache/DynamicCacheChangeRequest.java | 3 --- .../internal/processors/cache/WalStateProposeMessage.java | 4 ---- .../internal/processors/cluster/ChangeGlobalStateMessage.java | 4 ---- .../persistence/DistributedMetaStorageUpdateMessage.java | 3 --- .../processors/odbc/odbc/OdbcQueryExecuteBatchRequest.java | 4 ---- .../processors/odbc/odbc/OdbcQueryGetTablesMetaRequest.java | 3 --- .../query/schema/message/SchemaFinishDiscoveryMessage.java | 4 ---- .../processors/rest/client/message/GridClientTaskRequest.java | 3 --- .../processors/rest/request/GridRestChangeStateRequest.java | 4 ---- .../spi/discovery/zk/internal/ZkInternalJoinErrorMessage.java | 4 ---- 10 files changed, 36 deletions(-) diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/DynamicCacheChangeRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/DynamicCacheChangeRequest.java index 6f3bf5f11b62e..a91ac73f95f33 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/DynamicCacheChangeRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/DynamicCacheChangeRequest.java @@ -89,9 +89,6 @@ public class DynamicCacheChangeRequest implements Serializable { /** Template configuration flag. */ private boolean template; - /** */ - private UUID rcvdFrom; - /** Reset lost partitions flag. */ private boolean resetLostPartitions; diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/WalStateProposeMessage.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/WalStateProposeMessage.java index 442b67968e58c..e8e56dc4d0207 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/WalStateProposeMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/WalStateProposeMessage.java @@ -29,9 +29,6 @@ public class WalStateProposeMessage extends WalStateAbstractMessage { /** */ private static final long serialVersionUID = 0L; - /** Node ID. */ - private final UUID nodeId; - /** Cache names which are expected to be in the group along with their deployment IDs. */ private Map caches; @@ -56,7 +53,6 @@ public WalStateProposeMessage(UUID opId, int grpId, IgniteUuid grpDepId, UUID no Map caches, boolean enable) { super(opId, grpId, grpDepId); - this.nodeId = nodeId; this.caches = caches; this.enable = enable; } diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cluster/ChangeGlobalStateMessage.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cluster/ChangeGlobalStateMessage.java index 1810a9f9982fe..31a51c09dea7c 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cluster/ChangeGlobalStateMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cluster/ChangeGlobalStateMessage.java @@ -60,9 +60,6 @@ public class ChangeGlobalStateMessage implements DiscoveryCustomMessage { /** */ private boolean forceChangeBaselineTopology; - /** */ - private long timestamp; - /** */ @GridToStringExclude private transient ExchangeActions exchangeActions; @@ -104,7 +101,6 @@ public ChangeGlobalStateMessage( this.forceDeactivation = forceDeactivation; this.baselineTopology = baselineTopology; this.forceChangeBaselineTopology = forceChangeBaselineTopology; - this.timestamp = timestamp; } /** diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/metastorage/persistence/DistributedMetaStorageUpdateMessage.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/metastorage/persistence/DistributedMetaStorageUpdateMessage.java index 3b9e462200133..f49df608e1a5e 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/metastorage/persistence/DistributedMetaStorageUpdateMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/metastorage/persistence/DistributedMetaStorageUpdateMessage.java @@ -46,9 +46,6 @@ class DistributedMetaStorageUpdateMessage implements DiscoveryCustomMessage { /** */ private final byte[] valBytes; - /** */ - private String errorMsg; - /** */ public DistributedMetaStorageUpdateMessage(UUID reqId, String key, byte[] valBytes) { this.reqId = reqId; diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/odbc/odbc/OdbcQueryExecuteBatchRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/odbc/odbc/OdbcQueryExecuteBatchRequest.java index fd4ec0da89d9d..5c8eef963b609 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/odbc/odbc/OdbcQueryExecuteBatchRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/odbc/odbc/OdbcQueryExecuteBatchRequest.java @@ -34,9 +34,6 @@ public class OdbcQueryExecuteBatchRequest extends OdbcRequest { @GridToStringInclude(sensitive = true) private final String sqlQry; - /** Last param page flag. */ - private final boolean last; - /** Sql query arguments. */ @GridToStringExclude private final Object[][] args; @@ -66,7 +63,6 @@ public OdbcQueryExecuteBatchRequest(@Nullable String schema, String sqlQry, bool this.schema = schema; this.sqlQry = sqlQry; - this.last = last; this.args = args; this.timeout = timeout; this.autoCommit = autoCommit; diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/odbc/odbc/OdbcQueryGetTablesMetaRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/odbc/odbc/OdbcQueryGetTablesMetaRequest.java index 3e585633460f8..049426b4cc20d 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/odbc/odbc/OdbcQueryGetTablesMetaRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/odbc/odbc/OdbcQueryGetTablesMetaRequest.java @@ -23,8 +23,6 @@ * ODBC query get tables meta request. */ public class OdbcQueryGetTablesMetaRequest extends OdbcRequest { - /** Catalog search pattern. */ - private final String catalog; /** Schema search pattern. */ private final String schema; @@ -44,7 +42,6 @@ public class OdbcQueryGetTablesMetaRequest extends OdbcRequest { public OdbcQueryGetTablesMetaRequest(String catalog, String schema, String table, String tableType) { super(META_TBLS); - this.catalog = catalog; this.schema = schema; this.table = table; this.tableType = tableType; diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/query/schema/message/SchemaFinishDiscoveryMessage.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/query/schema/message/SchemaFinishDiscoveryMessage.java index 78237036f0891..57d835152cb70 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/query/schema/message/SchemaFinishDiscoveryMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/query/schema/message/SchemaFinishDiscoveryMessage.java @@ -33,9 +33,6 @@ public class SchemaFinishDiscoveryMessage extends SchemaAbstractDiscoveryMessage /** Error. */ private final SchemaOperationException err; - /** Original propose message. */ - private transient SchemaProposeDiscoveryMessage proposeMsg; - /** No-op flag. */ private final boolean nop; @@ -86,7 +83,6 @@ public boolean hasError() { * @param proposeMsg Propose message. */ public void proposeMessage(SchemaProposeDiscoveryMessage proposeMsg) { - this.proposeMsg = proposeMsg; } /** diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/client/message/GridClientTaskRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/client/message/GridClientTaskRequest.java index d5dbe66931982..b603b33f2dfa4 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/client/message/GridClientTaskRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/client/message/GridClientTaskRequest.java @@ -35,9 +35,6 @@ public class GridClientTaskRequest extends GridClientAbstractMessage { /** Task parameter. */ private Object arg; - /** Keep binary flag. */ - private boolean keepBinaries; - /** * @return Task name. */ diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/request/GridRestChangeStateRequest.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/request/GridRestChangeStateRequest.java index 88dfe7ca19f75..6e0d2a7685f76 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/request/GridRestChangeStateRequest.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/rest/request/GridRestChangeStateRequest.java @@ -26,9 +26,6 @@ public class GridRestChangeStateRequest extends GridRestRequest { /** Active. */ private boolean active; - /** Request current state. */ - private boolean reqCurrentState; - /** If {@code true}, cluster deactivation will be forced. */ private boolean forceDeactivation; @@ -50,7 +47,6 @@ public void active(boolean active) { * */ public void reqCurrentState() { - reqCurrentState = true; } /** diff --git a/modules/zookeeper/src/main/java/org/apache/ignite/spi/discovery/zk/internal/ZkInternalJoinErrorMessage.java b/modules/zookeeper/src/main/java/org/apache/ignite/spi/discovery/zk/internal/ZkInternalJoinErrorMessage.java index a73312cfecf05..7e2f9dab12011 100644 --- a/modules/zookeeper/src/main/java/org/apache/ignite/spi/discovery/zk/internal/ZkInternalJoinErrorMessage.java +++ b/modules/zookeeper/src/main/java/org/apache/ignite/spi/discovery/zk/internal/ZkInternalJoinErrorMessage.java @@ -27,9 +27,6 @@ class ZkInternalJoinErrorMessage implements ZkInternalMessage { /** */ transient boolean notifyNode = true; - /** */ - final long nodeInternalId; - /** */ final String err; @@ -38,7 +35,6 @@ class ZkInternalJoinErrorMessage implements ZkInternalMessage { * @param err Error message. */ ZkInternalJoinErrorMessage(long nodeInternalId, String err) { - this.nodeInternalId = nodeInternalId; this.err = err; } } From bf99d191cfb8924a77990243a7319b0291dbd336 Mon Sep 17 00:00:00 2001 From: Anton Vinogradov Date: Fri, 20 Feb 2026 20:08:32 +0300 Subject: [PATCH 5/9] WIP --- .../persistence/DistributedMetaStorageUpdateMessage.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/metastorage/persistence/DistributedMetaStorageUpdateMessage.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/metastorage/persistence/DistributedMetaStorageUpdateMessage.java index f49df608e1a5e..3b9e462200133 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/metastorage/persistence/DistributedMetaStorageUpdateMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/metastorage/persistence/DistributedMetaStorageUpdateMessage.java @@ -46,6 +46,9 @@ class DistributedMetaStorageUpdateMessage implements DiscoveryCustomMessage { /** */ private final byte[] valBytes; + /** */ + private String errorMsg; + /** */ public DistributedMetaStorageUpdateMessage(UUID reqId, String key, byte[] valBytes) { this.reqId = reqId; From fec655654f9186662142f7f41458116e56e4cabf Mon Sep 17 00:00:00 2001 From: Anton Vinogradov Date: Fri, 20 Feb 2026 20:15:41 +0300 Subject: [PATCH 6/9] WIP --- .../spi/communication/tcp/messages/HandshakeWaitMessage.java | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/core/src/main/java/org/apache/ignite/spi/communication/tcp/messages/HandshakeWaitMessage.java b/modules/core/src/main/java/org/apache/ignite/spi/communication/tcp/messages/HandshakeWaitMessage.java index 4a217044f3fb4..b33c8625791a2 100644 --- a/modules/core/src/main/java/org/apache/ignite/spi/communication/tcp/messages/HandshakeWaitMessage.java +++ b/modules/core/src/main/java/org/apache/ignite/spi/communication/tcp/messages/HandshakeWaitMessage.java @@ -33,6 +33,7 @@ public class HandshakeWaitMessage implements Message { @Override public short directType() { return HANDSHAKE_WAIT_MSG_TYPE; } + /** {@inheritDoc} */ @Override public String toString() { return S.toString(HandshakeWaitMessage.class, this); From eb5ef6f3abd47f7d7178b36860b613dc939fcdc8 Mon Sep 17 00:00:00 2001 From: Anton Vinogradov Date: Sat, 21 Feb 2026 18:13:02 +0300 Subject: [PATCH 7/9] WIP --- .../ignite/internal/GridJobExecuteResponse.java | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/modules/core/src/main/java/org/apache/ignite/internal/GridJobExecuteResponse.java b/modules/core/src/main/java/org/apache/ignite/internal/GridJobExecuteResponse.java index eaa0edbd85dea..08ebcd08063e5 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/GridJobExecuteResponse.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/GridJobExecuteResponse.java @@ -53,8 +53,15 @@ public class GridJobExecuteResponse implements Message { /** */ private IgniteException gridEx; + /** + * Serialization call holder for {@code gridEx}. Works with {@link #marshallUserData(Marshaller)}. + * Wraps also possible serialization error. + */ + @Order(value = 3, method = "exceptionMessage") + @Nullable ErrorMessage gridExMsg; + /** Job result serialization call holder. */ - @Order(3) + @Order(4) @Nullable byte[] resBytes; /** */ @@ -62,14 +69,14 @@ public class GridJobExecuteResponse implements Message { /** */ /** Job attributes serialization call holder. */ - @Order(4) + @Order(5) byte[] jobAttrsBytes; /** */ private Map jobAttrs; /** */ - @Order(5) + @Order(6) boolean isCancelled; /** */ @@ -77,7 +84,7 @@ public class GridJobExecuteResponse implements Message { private IgniteException fakeEx; /** Retry topology version. */ - @Order(6) + @Order(7) AffinityTopologyVersion retry; /** From 9764f9c0eb3ee7cf0af78df5a61846646d8f90f3 Mon Sep 17 00:00:00 2001 From: Anton Vinogradov Date: Tue, 24 Feb 2026 16:06:45 +0300 Subject: [PATCH 8/9] WIP --- .../calcite/message/QueryStartResponse.java | 20 ------- .../query/calcite/message/QueryTxEntry.java | 28 ---------- .../calcite/metadata/ColocationGroup.java | 15 ----- .../calcite/metadata/FragmentMapping.java | 5 -- .../GridChangeGlobalStateMessageResponse.java | 21 ------- .../binary/BinaryMetadataVersionInfo.java | 28 ---------- .../GridDistributedTxFinishResponse.java | 15 ----- .../CachePartitionPartialCountersMap.java | 56 ------------------- .../IgniteDhtDemandedPartitionsMap.java | 5 -- .../continuous/CacheContinuousQueryEntry.java | 7 --- .../cache/transactions/IgniteTxEntry.java | 7 --- .../cache/transactions/TxLocksResponse.java | 42 -------------- .../tcp/internal/DiscoveryDataPacket.java | 49 ---------------- .../communication/GridTestMessage.java | 7 --- .../GridCacheMessageSelfTest.java | 38 ------------- .../spi/communication/GridTestMessage.java | 7 --- 16 files changed, 350 deletions(-) diff --git a/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/message/QueryStartResponse.java b/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/message/QueryStartResponse.java index f90484152784d..f908cb61383bf 100644 --- a/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/message/QueryStartResponse.java +++ b/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/message/QueryStartResponse.java @@ -57,11 +57,6 @@ public UUID queryId() { return qryId; } - /** */ - public void queryId(UUID qryId) { - this.qryId = qryId; - } - /** * @return Fragment ID. */ @@ -69,11 +64,6 @@ public long fragmentId() { return fragmentId; } - /** */ - public void fragmentId(long fragmentId) { - this.fragmentId = fragmentId; - } - /** * @return Error. */ @@ -81,16 +71,6 @@ public void fragmentId(long fragmentId) { return ErrorMessage.error(errMsg); } - /** */ - public @Nullable ErrorMessage errorMessage() { - return errMsg; - } - - /** */ - public void errorMessage(@Nullable ErrorMessage errMsg) { - this.errMsg = errMsg; - } - /** {@inheritDoc} */ @Override public MessageType type() { return MessageType.QUERY_START_RESPONSE; diff --git a/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/message/QueryTxEntry.java b/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/message/QueryTxEntry.java index 061c84a4b6df5..7961f589d83ef 100644 --- a/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/message/QueryTxEntry.java +++ b/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/message/QueryTxEntry.java @@ -80,49 +80,21 @@ public int cacheId() { return cacheId; } - /** - * @param cacheId New cache id. - */ - public void cacheId(int cacheId) { - this.cacheId = cacheId; - } - /** @return Entry key. */ public KeyCacheObject key() { return key; } - /** - * @param key New entry key. - */ - public void key(KeyCacheObject key) { - this.key = key; - } - /** @return Entry value. */ public CacheObject value() { return val; } - /** - * @param val New entry value. - */ - public void value(CacheObject val) { - this.val = val; - } - /** @return Entry version. */ public GridCacheVersion version() { return ver; } - /** - * @param ver New entry version. - */ - public void version(GridCacheVersion ver) { - this.ver = ver; - } - /** */ public void prepareMarshal(GridCacheSharedContext ctx) throws IgniteCheckedException { CacheObjectContext coctx = ctx.cacheContext(cacheId).cacheObjectContext(); diff --git a/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/metadata/ColocationGroup.java b/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/metadata/ColocationGroup.java index de1f069a4ab10..21223643e8a2b 100644 --- a/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/metadata/ColocationGroup.java +++ b/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/metadata/ColocationGroup.java @@ -124,21 +124,6 @@ public List nodeIds() { return nodeIds == null ? Collections.emptyList() : nodeIds; } - /** */ - public void nodeIds(List nodeIds) { - this.nodeIds = nodeIds; - } - - /** */ - public long[] sourceIds() { - return srcIds; - } - - /** */ - public void sourceIds(long[] srcIds) { - this.srcIds = srcIds; - } - /** * @return List of partitions (index) and nodes (items) having an appropriate partition in * {@link GridDhtPartitionState#OWNING} state, calculated for distributed tables, involved in query execution. diff --git a/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/metadata/FragmentMapping.java b/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/metadata/FragmentMapping.java index a8bed128b3d7c..14efc043a3186 100644 --- a/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/metadata/FragmentMapping.java +++ b/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/metadata/FragmentMapping.java @@ -123,11 +123,6 @@ public List colocationGroups() { return colocationGrps == null ? Collections.emptyList() : Collections.unmodifiableList(colocationGrps); } - /** */ - public void colocationGroups(List colocationGrps) { - this.colocationGrps = colocationGrps; - } - /** */ public FragmentMapping finalizeMapping(Supplier> nodesSrc) { if (colocationGrps.isEmpty()) diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridChangeGlobalStateMessageResponse.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridChangeGlobalStateMessageResponse.java index dd7d4749344ea..2358d71f84420 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridChangeGlobalStateMessageResponse.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridChangeGlobalStateMessageResponse.java @@ -60,13 +60,6 @@ public UUID requestId() { return reqId; } - /** - * @param reqId Request id. - */ - public void requestId(UUID reqId) { - this.reqId = reqId; - } - /** * @return Activation error. */ @@ -74,20 +67,6 @@ public void requestId(UUID reqId) { return ErrorMessage.error(errMsg); } - /** - * @return Error message. - */ - public ErrorMessage errorMessage() { - return errMsg; - } - - /** - * @param errMsg Error message. - */ - public void errorMessage(ErrorMessage errMsg) { - this.errMsg = errMsg; - } - /** {@inheritDoc} */ @Override public short directType() { return -45; diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/binary/BinaryMetadataVersionInfo.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/binary/BinaryMetadataVersionInfo.java index 864cd416e4c93..a609e4b24a0a1 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/binary/BinaryMetadataVersionInfo.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/binary/BinaryMetadataVersionInfo.java @@ -119,13 +119,6 @@ public int pendingVersion() { return pendingVer; } - /** - * @param pendingVer The version of metadata that has been proposed for update. - */ - public void pendingVersion(int pendingVer) { - this.pendingVer = pendingVer; - } - /** * @return The version of metadata that has been accepted by the entire cluster. */ @@ -133,13 +126,6 @@ public int acceptedVersion() { return acceptedVer; } - /** - * @param acceptedVer The version of metadata that has been accepted by the entire cluster. - */ - public void acceptedVersion(int acceptedVer) { - this.acceptedVer = acceptedVer; - } - /** * @return {@code true} is the metadata is removing now. */ @@ -147,20 +133,6 @@ boolean removing() { return removing; } - /** - * @return Serialized binary metadata. - */ - public byte[] metadataBytes() { - return metadataBytes; - } - - /** - * @param metadataBytes Serialized binary metadata. - */ - public void metadataBytes(byte[] metadataBytes) { - this.metadataBytes = metadataBytes; - } - /** * Marshals binary metadata to byte array. * diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridDistributedTxFinishResponse.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridDistributedTxFinishResponse.java index abc0833fb5dd5..05f85e3275a59 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridDistributedTxFinishResponse.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridDistributedTxFinishResponse.java @@ -63,11 +63,6 @@ public GridDistributedTxFinishResponse(int part, GridCacheVersion txId, IgniteUu this.futId = futId; } - /** Partition ID this message is targeted to. */ - public void partition(int part) { - this.part = part; - } - /** {@inheritDoc} */ @Override public final int partition() { return part; @@ -81,16 +76,6 @@ public GridCacheVersion xid() { return txId; } - /** */ - public void xid(GridCacheVersion txId) { - this.txId = txId; - } - - /** */ - public void futureId(IgniteUuid futId) { - this.futId = futId; - } - /** * @return Future ID. */ diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/CachePartitionPartialCountersMap.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/CachePartitionPartialCountersMap.java index 8691e3ef5b4a6..c91be0a94e92d 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/CachePartitionPartialCountersMap.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/CachePartitionPartialCountersMap.java @@ -236,62 +236,6 @@ public static Map> toCountersMap(CachePartitionPartialCo return sb.toString(); } - /** - * @return Partition IDs. - */ - public int[] partitionIds() { - return partIds; - } - - /** - * @param partIds Partition IDs. - */ - public void partitionIds(int[] partIds) { - this.partIds = partIds; - } - - /** - * @return Partition initial update counters. - */ - public long[] initialUpdateCounters() { - return initialUpdCntrs; - } - - /** - * @param initialUpdCntrs Partition initial update counters. - */ - public void initialUpdateCounters(long[] initialUpdCntrs) { - this.initialUpdCntrs = initialUpdCntrs; - } - - /** - * @return Partition update counters. - */ - public long[] updateCounters() { - return updCntrs; - } - - /** - * @param updCntrs Partition update counters. - */ - public void updateCounters(long[] updCntrs) { - this.updCntrs = updCntrs; - } - - /** - * @return Current index. - */ - public int currentIndex() { - return curIdx; - } - - /** - * @param curIdx Current index. - */ - public void currentIndex(int curIdx) { - this.curIdx = curIdx; - } - /** {@inheritDoc} */ @Override public short directType() { return TYPE_CODE; diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/IgniteDhtDemandedPartitionsMap.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/IgniteDhtDemandedPartitionsMap.java index 1b1bda799a85b..1b14af54a6089 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/IgniteDhtDemandedPartitionsMap.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/IgniteDhtDemandedPartitionsMap.java @@ -113,11 +113,6 @@ public boolean remove(int partId) { return false; } - /** */ - public boolean hasPartition(int partId) { - return hasHistorical(partId) || hasFull(partId); - } - /** */ public boolean hasHistorical() { return historical != null && !historical.isEmpty(); diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousQueryEntry.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousQueryEntry.java index f478fa364c608..a46c4a1f83d8a 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousQueryEntry.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/continuous/CacheContinuousQueryEntry.java @@ -241,13 +241,6 @@ void markFiltered() { depInfo = null; } - /** - * @param topVer Topology version. - */ - void topologyVersion(AffinityTopologyVersion topVer) { - this.topVer = topVer; - } - /** * @param filteredCnt Number of entries filtered before this entry. */ diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/IgniteTxEntry.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/IgniteTxEntry.java index 9eb5115d5354b..eb7aef547e8a2 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/IgniteTxEntry.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/IgniteTxEntry.java @@ -1341,13 +1341,6 @@ public GridAbsClosureX cqNotifyClosure() { return cqNotifyC; } - /** - * @param clo Clo. - */ - public void cqNotifyClosure(GridAbsClosureX clo) { - cqNotifyC = clo; - } - /** {@inheritDoc} */ @Override public ClassLoader classLoader() { return deployClass().getClassLoader(); diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/TxLocksResponse.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/TxLocksResponse.java index 6e1fcd7bff89a..02aee47d21e89 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/TxLocksResponse.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/TxLocksResponse.java @@ -82,48 +82,6 @@ public void futureId(long futId) { this.futId = futId; } - /** - * @return Array of txKeys from {@link #nearTxKeyLocks}. Used during marshalling and unmarshalling. - */ - public IgniteTxKey[] nearTxKeysArray() { - return nearTxKeysArr; - } - - /** - * @param nearTxKeysArr Array of txKeys from {@link #nearTxKeyLocks}. Used during marshalling and unmarshalling. - */ - public void nearTxKeysArray(IgniteTxKey[] nearTxKeysArr) { - this.nearTxKeysArr = nearTxKeysArr; - } - - /** - * @return Array of txKeys from {@link #txKeys}. Used during marshalling and unmarshalling. - */ - public IgniteTxKey[] txKeysArray() { - return txKeysArr; - } - - /** - * @param txKeysArr Array of txKeys from {@link #txKeys}. Used during marshalling and unmarshalling. - */ - public void txKeysArray(IgniteTxKey[] txKeysArr) { - this.txKeysArr = txKeysArr; - } - - /** - * @return Array of locksArr from {@link #nearTxKeyLocks}. Used during marshalling and unmarshalling. - */ - public TxLockList[] locksArray() { - return locksArr; - } - - /** - * @param locksArr Array of locksArr from {@link #nearTxKeyLocks}. Used during marshalling and unmarshalling. - */ - public void locksArray(TxLockList[] locksArr) { - this.locksArr = locksArr; - } - /** * @return Lock lists for all tx nearTxKeysArr. */ diff --git a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/internal/DiscoveryDataPacket.java b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/internal/DiscoveryDataPacket.java index e535807cf981b..b77770a2d1069 100644 --- a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/internal/DiscoveryDataPacket.java +++ b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/internal/DiscoveryDataPacket.java @@ -89,55 +89,6 @@ public UUID joiningNodeId() { return joiningNodeId; } - /** - * @param joiningNodeId Joining node ID. - */ - public void joiningNodeId(UUID joiningNodeId) { - this.joiningNodeId = joiningNodeId; - } - - /** - * @return Joining node data. - */ - public Map joiningNodeData() { - return joiningNodeData; - } - - /** - * @param joiningNodeData Joining node data. - */ - public void joiningNodeData(Map joiningNodeData) { - this.joiningNodeData = joiningNodeData; - } - - /** - * @return Common data. - */ - public Map commonData() { - return commonData; - } - - /** - * @param commonData Common data. - */ - public void commonData(Map commonData) { - this.commonData = commonData; - } - - /** - * @return Node specific data. - */ - public Map nodeSpecificData() { - return nodeSpecificData; - } - - /** - * @param nodeSpecificData New node specific data. - */ - public void nodeSpecificData(Map nodeSpecificData) { - this.nodeSpecificData = nodeSpecificData; - } - /** * @param bag Bag. * @param nodeId Node id. diff --git a/modules/core/src/test/java/org/apache/ignite/loadtests/communication/GridTestMessage.java b/modules/core/src/test/java/org/apache/ignite/loadtests/communication/GridTestMessage.java index 33e4a69cefe18..335f36922cf7d 100644 --- a/modules/core/src/test/java/org/apache/ignite/loadtests/communication/GridTestMessage.java +++ b/modules/core/src/test/java/org/apache/ignite/loadtests/communication/GridTestMessage.java @@ -79,13 +79,6 @@ public IgniteUuid id() { return id; } - /** - * @return Bytes. - */ - public byte[] bytes() { - return bytes; - } - /** * @param bytes Bytes. */ diff --git a/modules/core/src/test/java/org/apache/ignite/spi/communication/GridCacheMessageSelfTest.java b/modules/core/src/test/java/org/apache/ignite/spi/communication/GridCacheMessageSelfTest.java index 1699b90a8726d..3ad36b8f8f3ee 100644 --- a/modules/core/src/test/java/org/apache/ignite/spi/communication/GridCacheMessageSelfTest.java +++ b/modules/core/src/test/java/org/apache/ignite/spi/communication/GridCacheMessageSelfTest.java @@ -583,49 +583,11 @@ static class TestBadMessage extends GridCacheMessage { /** */ private Message msg; - /** - * @param mes Message. - */ - public void init(Message mes, UUID nodeId, int id, String body) { - this.nodeId = nodeId; - this.id = id; - this.msg = mes; - this.body = body; - } - /** {@inheritDoc} */ @Override public boolean addDeploymentInfo() { return false; } - /** - * @return Body. - */ - public String body() { - return body; - } - - /** - * @return Message. - */ - public Message message() { - return msg; - } - - /** - * @return Node id. - */ - public UUID nodeId() { - return nodeId; - } - - /** - * @return Id. - */ - public int id() { - return id; - } - /** {@inheritDoc} */ @Override public short directType() { return DIRECT_TYPE; diff --git a/modules/core/src/test/java/org/apache/ignite/spi/communication/GridTestMessage.java b/modules/core/src/test/java/org/apache/ignite/spi/communication/GridTestMessage.java index ca1efba8e77ce..6cd5be51f1859 100644 --- a/modules/core/src/test/java/org/apache/ignite/spi/communication/GridTestMessage.java +++ b/modules/core/src/test/java/org/apache/ignite/spi/communication/GridTestMessage.java @@ -87,13 +87,6 @@ public void payload(byte[] payload) { this.payload = payload; } - /** - * @return Network payload. - */ - public byte[] payload() { - return payload; - } - /** {@inheritDoc} */ @Override public boolean writeTo(ByteBuffer buf, MessageWriter writer) { writer.setBuffer(buf); From 17ec6d2f15cce81cc7274121764cd81477d943a9 Mon Sep 17 00:00:00 2001 From: Anton Vinogradov Date: Tue, 24 Feb 2026 16:36:32 +0300 Subject: [PATCH 9/9] WIP --- .../apache/ignite/internal/ExchangeInfo.java | 10 ---- .../apache/ignite/internal/TxEntriesInfo.java | 20 ------- .../org/apache/ignite/internal/TxInfo.java | 20 ------- .../cache/CacheEntryPredicateAdapter.java | 10 ---- .../IgniteDhtPartitionsToReloadMap.java | 7 --- .../version/GridCacheRawVersionedEntry.java | 55 ------------------- .../cache/version/GridCacheVersionEx.java | 7 --- .../spi/communication/GridTestMessage.java | 7 --- 8 files changed, 136 deletions(-) diff --git a/modules/core/src/main/java/org/apache/ignite/internal/ExchangeInfo.java b/modules/core/src/main/java/org/apache/ignite/internal/ExchangeInfo.java index b2e2af5125a26..243752828095e 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/ExchangeInfo.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/ExchangeInfo.java @@ -44,16 +44,6 @@ public ExchangeInfo() { this.topVer = topVer; } - /** */ - public AffinityTopologyVersion topologyVersion() { - return topVer; - } - - /** */ - public void topologyVersion(AffinityTopologyVersion topVer) { - this.topVer = topVer; - } - /** {@inheritDoc} */ @Override public short directType() { return -63; diff --git a/modules/core/src/main/java/org/apache/ignite/internal/TxEntriesInfo.java b/modules/core/src/main/java/org/apache/ignite/internal/TxEntriesInfo.java index dfd267f086d07..0e67acaed7507 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/TxEntriesInfo.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/TxEntriesInfo.java @@ -53,26 +53,6 @@ public TxEntriesInfo() { this.keys = new HashSet<>(keys); } - /** */ - public int cacheId() { - return cacheId; - } - - /** */ - public void cacheId(int cacheId) { - this.cacheId = cacheId; - } - - /** */ - public Collection keys() { - return keys; - } - - /** */ - public void keys(Collection keys) { - this.keys = keys; - } - /** {@inheritDoc} */ @Override public short directType() { return -64; diff --git a/modules/core/src/main/java/org/apache/ignite/internal/TxInfo.java b/modules/core/src/main/java/org/apache/ignite/internal/TxInfo.java index 36016d59ec092..165ce80b18d19 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/TxInfo.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/TxInfo.java @@ -54,26 +54,6 @@ public TxInfo() { return -65; } - /** */ - public GridCacheVersion dhtVersion() { - return dhtVer; - } - - /** */ - public void dhtVersion(GridCacheVersion dhtVer) { - this.dhtVer = dhtVer; - } - - /** */ - public GridCacheVersion nearVersion() { - return nearVer; - } - - /** */ - public void nearVersion(GridCacheVersion nearVer) { - this.nearVer = nearVer; - } - /** {@inheritDoc} */ @Override public void appendInfo(StringBuilder sb, GridKernalContext ctx) { sb.append(U.nl()) diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheEntryPredicateAdapter.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheEntryPredicateAdapter.java index b9f618a27701e..560b52155ba41 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheEntryPredicateAdapter.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheEntryPredicateAdapter.java @@ -142,16 +142,6 @@ public PredicateType type() { val.prepareMarshal(ctx.cacheObjectContext()); } - /** */ - public @Nullable CacheObject value() { - return val; - } - - /** */ - public void value(@Nullable CacheObject val) { - this.val = val; - } - /** */ public byte code() { assert type != null; diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/IgniteDhtPartitionsToReloadMap.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/IgniteDhtPartitionsToReloadMap.java index 2cf219b7aa1be..e71ee6869194d 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/IgniteDhtPartitionsToReloadMap.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/IgniteDhtPartitionsToReloadMap.java @@ -83,13 +83,6 @@ public synchronized void put(UUID nodeId, int cacheId, int partId) { parts.add(partId); } - /** - * @return {@code True} if empty. - */ - public synchronized boolean isEmpty() { - return map == null || map.isEmpty(); - } - /** {@inheritDoc} */ @Override public String toString() { return S.toString(IgniteDhtPartitionsToReloadMap.class, this); diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/version/GridCacheRawVersionedEntry.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/version/GridCacheRawVersionedEntry.java index 73909a276985a..d6bacd3bae371 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/version/GridCacheRawVersionedEntry.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/version/GridCacheRawVersionedEntry.java @@ -121,32 +121,11 @@ public GridCacheRawVersionedEntry(byte[] keyBytes, return key.value(null, false); } - /** - * @param key Key. - */ - public void key(KeyCacheObject key) { - this.key = key; - } - - /** - * @return Key bytes. - */ - public byte[] keyBytes() { - return keyBytes; - } - /** {@inheritDoc} */ @Override public V value(CacheObjectValueContext ctx) { return val != null ? val.value(ctx, false) : null; } - /** - * @return Value bytes. - */ - public byte[] valueBytes() { - return valBytes; - } - /** {@inheritDoc} */ @Override public long ttl() { return ttl; @@ -195,19 +174,6 @@ public void unmarshal(CacheObjectContext ctx, Marshaller marsh) throws IgniteChe } } - /** - * @param ctx Context. - * @throws IgniteCheckedException If failed. - */ - public void unmarshal(CacheObjectContext ctx) throws IgniteCheckedException { - assert key != null; - - key.finishUnmarshal(ctx, null); - - if (val != null) - val.finishUnmarshal(ctx, null); - } - /** * Perform internal key unmarshal of this entry. It must be performed after entry is deserialized and before * its restored key/value are needed. @@ -226,27 +192,6 @@ public void unmarshalKey(CacheObjectContext ctx, Marshaller marsh) throws Ignite } } - /** - * Perform internal marshal of this entry before it will be serialized. - * - * @param ctx Context. - * @param marsh Marshaller. - * @throws IgniteCheckedException If failed. - */ - public void marshal(CacheObjectContext ctx, Marshaller marsh) throws IgniteCheckedException { - if (keyBytes == null) { - key.prepareMarshal(ctx); - - keyBytes = U.marshal(marsh, key); - } - - if (valBytes == null && val != null) { - val.prepareMarshal(ctx); - - valBytes = U.marshal(marsh, val); - } - } - /** * @param ctx Context. * @throws IgniteCheckedException If failed. diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/version/GridCacheVersionEx.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/version/GridCacheVersionEx.java index 63e19971dcf0f..bea8fa7c681e9 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/version/GridCacheVersionEx.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/version/GridCacheVersionEx.java @@ -81,13 +81,6 @@ public GridCacheVersionEx(int topVer, int nodeOrderDrId, long order, GridCacheVe return drVer; } - /** - * @param drVer New DR version. - */ - public void conflictVersion(GridCacheVersion drVer) { - this.drVer = drVer; - } - /** {@inheritDoc} */ @Override public CacheEntryVersion otherClusterVersion() { return conflictVersion(); diff --git a/modules/core/src/test/java/org/apache/ignite/spi/communication/GridTestMessage.java b/modules/core/src/test/java/org/apache/ignite/spi/communication/GridTestMessage.java index 6cd5be51f1859..2e096ae06c68b 100644 --- a/modules/core/src/test/java/org/apache/ignite/spi/communication/GridTestMessage.java +++ b/modules/core/src/test/java/org/apache/ignite/spi/communication/GridTestMessage.java @@ -73,13 +73,6 @@ public long getMsgId() { return msgId; } - /** - * @return Response id. - */ - public long getResponseId() { - return resId; - } - /** * @param payload Payload to be set. */