# Moved local store to internal package.
Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/0497791f Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/0497791f Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/0497791f Branch: refs/heads/ignite-sql-tests Commit: 0497791f819c8a357d991ade4a157a84e3f4deba Parents: 082bd57 Author: vozerov-gridgain <voze...@gridgain.com> Authored: Thu Feb 5 12:31:44 2015 +0300 Committer: vozerov-gridgain <voze...@gridgain.com> Committed: Thu Feb 5 12:31:44 2015 +0300 ---------------------------------------------------------------------- .../ignite/cache/store/CacheLocalStore.java | 31 -------------------- .../processors/cache/GridCacheStoreManager.java | 1 + .../processors/cache/store/CacheLocalStore.java | 31 ++++++++++++++++++++ 3 files changed, 32 insertions(+), 31 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/0497791f/modules/core/src/main/java/org/apache/ignite/cache/store/CacheLocalStore.java ---------------------------------------------------------------------- diff --git a/modules/core/src/main/java/org/apache/ignite/cache/store/CacheLocalStore.java b/modules/core/src/main/java/org/apache/ignite/cache/store/CacheLocalStore.java deleted file mode 100644 index 6fdec5a..0000000 --- a/modules/core/src/main/java/org/apache/ignite/cache/store/CacheLocalStore.java +++ /dev/null @@ -1,31 +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.store; - -import java.lang.annotation.*; - -/** - * Annotation for local {@link CacheStore} implementation. "Local" here means that there is no global - * database behind the grid but each node has an independent one. - */ -@Documented -@Retention(RetentionPolicy.RUNTIME) -@Target({ElementType.TYPE}) -public @interface CacheLocalStore { - // No-op. -} http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/0497791f/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheStoreManager.java ---------------------------------------------------------------------- diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheStoreManager.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheStoreManager.java index 831ffa7..0e254a5 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheStoreManager.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheStoreManager.java @@ -21,6 +21,7 @@ import org.apache.ignite.*; import org.apache.ignite.cache.*; import org.apache.ignite.cache.store.*; import org.apache.ignite.internal.*; +import org.apache.ignite.internal.processors.cache.store.*; import org.apache.ignite.internal.processors.cache.transactions.*; import org.apache.ignite.internal.processors.cache.version.*; import org.apache.ignite.internal.util.*; http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/0497791f/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/store/CacheLocalStore.java ---------------------------------------------------------------------- diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/store/CacheLocalStore.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/store/CacheLocalStore.java new file mode 100644 index 0000000..928abdc --- /dev/null +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/store/CacheLocalStore.java @@ -0,0 +1,31 @@ +/* + * 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.internal.processors.cache.store; + +import java.lang.annotation.*; + +/** + * Annotation for local {@link org.apache.ignite.cache.store.CacheStore} implementation. "Local" here means that there is no global + * database behind the grid but each node has an independent one. + */ +@Documented +@Retention(RetentionPolicy.RUNTIME) +@Target({ElementType.TYPE}) +public @interface CacheLocalStore { + // No-op. +}