# IGNITE-379 Remove Transaction.*meta*() methods.
Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/567dd9ae Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/567dd9ae Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/567dd9ae Branch: refs/heads/ignite-496 Commit: 567dd9ae8c514a4a3191f6d8030c00cbea6d0654 Parents: c99469f Author: sevdokimov <sevdoki...@gridgain.com> Authored: Mon Mar 23 12:35:22 2015 +0300 Committer: sevdokimov <sevdoki...@gridgain.com> Committed: Mon Mar 23 12:35:22 2015 +0300 ---------------------------------------------------------------------- .../transactions/TransactionProxyImpl.java | 17 ------------ .../apache/ignite/transactions/Transaction.java | 29 -------------------- 2 files changed, 46 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/567dd9ae/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/TransactionProxyImpl.java ---------------------------------------------------------------------- diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/TransactionProxyImpl.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/TransactionProxyImpl.java index 266bd07..5099b42 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/TransactionProxyImpl.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/TransactionProxyImpl.java @@ -298,23 +298,6 @@ public class TransactionProxyImpl<K, V> implements TransactionProxy, Externaliza asyncRes = new IgniteFinishedFutureImpl<>(res); } - /** {@inheritDoc} */ - @Override public <V1> V1 addMeta(UUID name, V1 val) { - return tx.addMeta(name, val); - } - - /** {@inheritDoc} */ - @SuppressWarnings({"RedundantTypeArguments"}) - @Override public <V1> V1 meta(UUID name) { - return tx.<V1>meta(name); - } - - /** {@inheritDoc} */ - @SuppressWarnings({"RedundantTypeArguments"}) - @Override public <V1> V1 removeMeta(UUID name) { - return tx.<V1>removeMeta(name); - } - /** * @param fut Internal future. */ http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/567dd9ae/modules/core/src/main/java/org/apache/ignite/transactions/Transaction.java ---------------------------------------------------------------------- diff --git a/modules/core/src/main/java/org/apache/ignite/transactions/Transaction.java b/modules/core/src/main/java/org/apache/ignite/transactions/Transaction.java index 8ccab34..cbb17e4 100644 --- a/modules/core/src/main/java/org/apache/ignite/transactions/Transaction.java +++ b/modules/core/src/main/java/org/apache/ignite/transactions/Transaction.java @@ -244,33 +244,4 @@ public interface Transaction extends AutoCloseable, IgniteAsyncSupport { */ @IgniteAsyncSupported public void rollback() throws IgniteException; - - /** - * Removes metadata by name. - * - * @param name Name of the metadata to remove. - * @param <V> Type of the value. - * @return Value of removed metadata or {@code null}. - */ - @Nullable public <V> V removeMeta(UUID name); - - /** - * Gets metadata by name. - * - * @param name Metadata name. - * @param <V> Type of the value. - * @return Metadata value or {@code null}. - */ - @Nullable public <V> V meta(UUID name); - - /** - * Adds a new metadata. - * - * @param name Metadata name. - * @param val Metadata value. - * @param <V> Type of the value. - * @return Metadata previously associated with given name, or - * {@code null} if there was none. - */ - @Nullable public <V> V addMeta(UUID name, V val); }