Ignite-176 Removed CacheName annotation. Deleted affinity search logic from 
balancer.


Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/5f3c669a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/5f3c669a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/5f3c669a

Branch: refs/heads/ignite-194
Commit: 5f3c669ae39e01b56a308ccea6dea818ffc6a599
Parents: c12455d
Author: avinogradov <avinogra...@gridgain.com>
Authored: Mon Feb 9 17:21:24 2015 +0300
Committer: avinogradov <avinogra...@gridgain.com>
Committed: Mon Feb 9 17:21:24 2015 +0300

----------------------------------------------------------------------
 .../java/org/apache/ignite/cache/CacheName.java | 41 --------------------
 1 file changed, 41 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/5f3c669a/modules/core/src/main/java/org/apache/ignite/cache/CacheName.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/cache/CacheName.java 
b/modules/core/src/main/java/org/apache/ignite/cache/CacheName.java
deleted file mode 100644
index eb5e5f6..0000000
--- a/modules/core/src/main/java/org/apache/ignite/cache/CacheName.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.ignite.cache;
-
-import java.lang.annotation.*;
-import java.util.concurrent.*;
-
-/**
- * Allows to specify cache name from grid computations. It is used to provide 
cache name
- * for affinity routing of grid computations, such as {@link 
org.apache.ignite.compute.ComputeJob}, {@link Runnable},
- * {@link Callable}, or {@link org.apache.ignite.lang.IgniteClosure}. It 
should be used only in conjunction with
- * {@link org.apache.ignite.cache.affinity.CacheAffinityKeyMapped 
@CacheAffinityKeyMapped} annotation, and should be attached to a method or field
- * that provides cache name for the computation. Only one annotation per class
- * is allowed. In the absence of this annotation, the default no-name cache
- * will be used for providing key-to-node affinity.
- * <p>
- * Refer to {@link org.apache.ignite.cache.affinity.CacheAffinityKeyMapped 
@CacheAffinityKeyMapped} documentation for more information
- * and examples about this annotation.
- * @see org.apache.ignite.cache.affinity.CacheAffinityKeyMapped
- */
-@Documented
-@Retention(RetentionPolicy.RUNTIME)
-@Target({ElementType.FIELD, ElementType.METHOD})
-public @interface CacheName {
-    // No-op.
-}

Reply via email to