# Moved cache entry to private package (will be removed soon in IGNITE-200).


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

Branch: refs/heads/ignite-sql-tests
Commit: 2cfcca0d01e42126c740e4251b9aa2d80e5cf03e
Parents: 93092b9
Author: vozerov-gridgain <voze...@gridgain.com>
Authored: Sat Feb 7 00:26:23 2015 +0300
Committer: vozerov-gridgain <voze...@gridgain.com>
Committed: Sat Feb 7 00:26:23 2015 +0300

----------------------------------------------------------------------
 .../ignite/cache/GridCacheVersionedEntry.java   | 81 --------------------
 .../version/GridCacheRawVersionedEntry.java     |  1 -
 .../GridCacheVersionConflictContextImpl.java    |  1 -
 .../cache/version/GridCacheVersionedEntry.java  | 81 ++++++++++++++++++++
 .../version/GridCacheVersionedEntryEx.java      |  2 -
 5 files changed, 81 insertions(+), 85 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/2cfcca0d/modules/core/src/main/java/org/apache/ignite/cache/GridCacheVersionedEntry.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/main/java/org/apache/ignite/cache/GridCacheVersionedEntry.java
 
b/modules/core/src/main/java/org/apache/ignite/cache/GridCacheVersionedEntry.java
deleted file mode 100644
index a057c37..0000000
--- 
a/modules/core/src/main/java/org/apache/ignite/cache/GridCacheVersionedEntry.java
+++ /dev/null
@@ -1,81 +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 org.jetbrains.annotations.*;
-
-/**
- * Cache entry along with version information.
- */
-public interface GridCacheVersionedEntry<K, V> {
-    /**
-     * Gets entry's key.
-     *
-     * @return Entry's key.
-     */
-    public K key();
-
-    /**
-     * Gets entry's value.
-     *
-     * @return Entry's value.
-     */
-    @Nullable public V value();
-
-    /**
-     * Gets entry's TTL.
-     *
-     * @return Entry's TTL.
-     */
-    public long ttl();
-
-    /**
-     * Gets entry's expire time.
-     *
-     * @return Entry's expire time.
-     */
-    public long expireTime();
-
-    /**
-     * Gets ID of initiator data center.
-     *
-     * @return ID of initiator data center.
-     */
-    public byte dataCenterId();
-
-    /**
-     * Gets entry's topology version in initiator data center.
-     *
-     * @return Entry's topology version in initiator data center.
-     */
-    public int topologyVersion();
-
-    /**
-     * Gets entry's order in initiator data center.
-     *
-     * @return Entry's order in initiator data center
-     */
-    public long order();
-
-    /**
-     * Gets entry's global time in initiator data center.
-     *
-     * @return Entry's global time in initiator data center
-     */
-    public long globalTime();
-}

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/2cfcca0d/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/version/GridCacheRawVersionedEntry.java
----------------------------------------------------------------------
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 f0a344a..50321f5 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
@@ -18,7 +18,6 @@
 package org.apache.ignite.internal.processors.cache.version;
 
 import org.apache.ignite.*;
-import org.apache.ignite.cache.*;
 import org.apache.ignite.internal.util.typedef.internal.*;
 import org.apache.ignite.marshaller.*;
 import org.jetbrains.annotations.*;

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/2cfcca0d/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/version/GridCacheVersionConflictContextImpl.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/version/GridCacheVersionConflictContextImpl.java
 
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/version/GridCacheVersionConflictContextImpl.java
index 228a224..ed901ec 100644
--- 
a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/version/GridCacheVersionConflictContextImpl.java
+++ 
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/version/GridCacheVersionConflictContextImpl.java
@@ -17,7 +17,6 @@
 
 package org.apache.ignite.internal.processors.cache.version;
 
-import org.apache.ignite.cache.*;
 import org.apache.ignite.internal.util.tostring.*;
 import org.apache.ignite.internal.util.typedef.internal.*;
 import org.jetbrains.annotations.*;

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/2cfcca0d/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/version/GridCacheVersionedEntry.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/version/GridCacheVersionedEntry.java
 
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/version/GridCacheVersionedEntry.java
new file mode 100644
index 0000000..bc79831
--- /dev/null
+++ 
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/version/GridCacheVersionedEntry.java
@@ -0,0 +1,81 @@
+/*
+ * 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.version;
+
+import org.jetbrains.annotations.*;
+
+/**
+ * Cache entry along with version information.
+ */
+public interface GridCacheVersionedEntry<K, V> {
+    /**
+     * Gets entry's key.
+     *
+     * @return Entry's key.
+     */
+    public K key();
+
+    /**
+     * Gets entry's value.
+     *
+     * @return Entry's value.
+     */
+    @Nullable public V value();
+
+    /**
+     * Gets entry's TTL.
+     *
+     * @return Entry's TTL.
+     */
+    public long ttl();
+
+    /**
+     * Gets entry's expire time.
+     *
+     * @return Entry's expire time.
+     */
+    public long expireTime();
+
+    /**
+     * Gets ID of initiator data center.
+     *
+     * @return ID of initiator data center.
+     */
+    public byte dataCenterId();
+
+    /**
+     * Gets entry's topology version in initiator data center.
+     *
+     * @return Entry's topology version in initiator data center.
+     */
+    public int topologyVersion();
+
+    /**
+     * Gets entry's order in initiator data center.
+     *
+     * @return Entry's order in initiator data center
+     */
+    public long order();
+
+    /**
+     * Gets entry's global time in initiator data center.
+     *
+     * @return Entry's global time in initiator data center
+     */
+    public long globalTime();
+}

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/2cfcca0d/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/version/GridCacheVersionedEntryEx.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/version/GridCacheVersionedEntryEx.java
 
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/version/GridCacheVersionedEntryEx.java
index 5351966..cc22eb4 100644
--- 
a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/version/GridCacheVersionedEntryEx.java
+++ 
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/version/GridCacheVersionedEntryEx.java
@@ -17,8 +17,6 @@
 
 package org.apache.ignite.internal.processors.cache.version;
 
-import org.apache.ignite.cache.*;
-
 /**
  * Extended versioned entry.
  */

Reply via email to