ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From voze...@apache.org
Subject [35/50] ignite git commit: Rename LockInfo
Date Thu, 08 Sep 2016 14:46:17 GMT
Rename LockInfo


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

Branch: refs/heads/ignite-3199-1
Commit: 52d8e6251b7d4544dac9eb4d48a9f9d79bb4c1d8
Parents: 8a6458f
Author: Pavel Tupitsyn <ptupitsyn@apache.org>
Authored: Thu Sep 8 12:35:07 2016 +0300
Committer: Pavel Tupitsyn <ptupitsyn@apache.org>
Committed: Thu Sep 8 12:35:07 2016 +0300

----------------------------------------------------------------------
 .../platform/websession/LockInfo.java           | 87 --------------------
 .../websession/SessionStateLockInfo.java        | 87 ++++++++++++++++++++
 2 files changed, 87 insertions(+), 87 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/52d8e625/modules/core/src/main/java/org/apache/ignite/internal/processors/platform/websession/LockInfo.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/platform/websession/LockInfo.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/platform/websession/LockInfo.java
deleted file mode 100644
index 28bca3a..0000000
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/platform/websession/LockInfo.java
+++ /dev/null
@@ -1,87 +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.internal.processors.platform.websession;
-
-import org.apache.ignite.binary.BinaryObjectException;
-import org.apache.ignite.binary.BinaryRawReader;
-import org.apache.ignite.binary.BinaryRawWriter;
-import org.apache.ignite.binary.BinaryReader;
-import org.apache.ignite.binary.BinaryWriter;
-import org.apache.ignite.binary.Binarylizable;
-import org.apache.ignite.internal.util.typedef.internal.S;
-
-import java.sql.Timestamp;
-import java.util.UUID;
-
-/**
- * Web session lock info.
- */
-public class LockInfo implements Binarylizable {
-    /** ID. */
-    private long id;
-
-    /** Node ID. */
-    private UUID nodeId;
-
-    /** Time. */
-    private Timestamp time;
-
-    /**
-     * @return Lock ID.
-     */
-    public long id() {
-        return id;
-    }
-
-    /**
-     * @return Node ID.
-     */
-    public UUID nodeId() {
-        return nodeId;
-    }
-
-    /**
-     * @return Time.
-     */
-    public Timestamp time() {
-        return time;
-    }
-
-    /** {@inheritDoc} */
-    @Override public void writeBinary(BinaryWriter writer) throws BinaryObjectException {
-        BinaryRawWriter raw = writer.rawWriter();
-
-        raw.writeLong(id);
-        raw.writeUuid(nodeId);
-        raw.writeTimestamp(time);
-    }
-
-    /** {@inheritDoc} */
-    @Override public void readBinary(BinaryReader reader) throws BinaryObjectException {
-        BinaryRawReader raw = reader.rawReader();
-
-        id = raw.readLong();
-        nodeId = raw.readUuid();
-        time = raw.readTimestamp();
-    }
-
-    /** {@inheritDoc} */
-    @Override public String toString() {
-        return S.toString(LockInfo.class, this);
-    }
-}

http://git-wip-us.apache.org/repos/asf/ignite/blob/52d8e625/modules/core/src/main/java/org/apache/ignite/internal/processors/platform/websession/SessionStateLockInfo.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/platform/websession/SessionStateLockInfo.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/platform/websession/SessionStateLockInfo.java
new file mode 100644
index 0000000..45cc317
--- /dev/null
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/platform/websession/SessionStateLockInfo.java
@@ -0,0 +1,87 @@
+/*
+ * 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.platform.websession;
+
+import org.apache.ignite.binary.BinaryObjectException;
+import org.apache.ignite.binary.BinaryRawReader;
+import org.apache.ignite.binary.BinaryRawWriter;
+import org.apache.ignite.binary.BinaryReader;
+import org.apache.ignite.binary.BinaryWriter;
+import org.apache.ignite.binary.Binarylizable;
+import org.apache.ignite.internal.util.typedef.internal.S;
+
+import java.sql.Timestamp;
+import java.util.UUID;
+
+/**
+ * Web session lock info.
+ */
+public class SessionStateLockInfo implements Binarylizable {
+    /** ID. */
+    private long id;
+
+    /** Node ID. */
+    private UUID nodeId;
+
+    /** Time. */
+    private Timestamp time;
+
+    /**
+     * @return Lock ID.
+     */
+    public long id() {
+        return id;
+    }
+
+    /**
+     * @return Node ID.
+     */
+    public UUID nodeId() {
+        return nodeId;
+    }
+
+    /**
+     * @return Time.
+     */
+    public Timestamp time() {
+        return time;
+    }
+
+    /** {@inheritDoc} */
+    @Override public void writeBinary(BinaryWriter writer) throws BinaryObjectException {
+        BinaryRawWriter raw = writer.rawWriter();
+
+        raw.writeLong(id);
+        raw.writeUuid(nodeId);
+        raw.writeTimestamp(time);
+    }
+
+    /** {@inheritDoc} */
+    @Override public void readBinary(BinaryReader reader) throws BinaryObjectException {
+        BinaryRawReader raw = reader.rawReader();
+
+        id = raw.readLong();
+        nodeId = raw.readUuid();
+        time = raw.readTimestamp();
+    }
+
+    /** {@inheritDoc} */
+    @Override public String toString() {
+        return S.toString(SessionStateLockInfo.class, this);
+    }
+}


Mime
View raw message