aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/org/onap/music/main/MusicUtil.java
diff options
context:
space:
mode:
authorMohammad Salehe <salehe@cs.toronto.edu>2018-11-26 19:58:30 -0500
committerMohammad Salehe <salehe@cs.toronto.edu>2018-12-22 15:07:11 -0500
commit968592932394e29dc6eb71eb2968d46d0691cf30 (patch)
tree2388981cfae587212a81c651ac93a3806a052f9e /src/main/java/org/onap/music/main/MusicUtil.java
parentd927fa46b8a97fe58dce5ec13fbb09bb22fd129b (diff)
Refactor Cassandra connection process
Refactor MusicUtil and CassaDataStore to make Cassandra connection initialization process more simple and readable Change-Id: Ied7d3e82dc86dd7d35cd513b13ff0c865dd40b4b Issue-ID: MUSIC-148 Signed-off-by: Mohammad Salehe <salehe@cs.toronto.edu>
Diffstat (limited to 'src/main/java/org/onap/music/main/MusicUtil.java')
-rwxr-xr-xsrc/main/java/org/onap/music/main/MusicUtil.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/onap/music/main/MusicUtil.java b/src/main/java/org/onap/music/main/MusicUtil.java
index a12a090e..238ec966 100755
--- a/src/main/java/org/onap/music/main/MusicUtil.java
+++ b/src/main/java/org/onap/music/main/MusicUtil.java
@@ -604,8 +604,8 @@ public class MusicUtil {
* Given the time of write for an update in a critical section, this method provides a transformed timestamp
* that ensures that a previous lock holder who is still alive can never corrupt a later critical section.
* The main idea is to us the lock reference to clearly demarcate the timestamps across critical sections.
- * @param the UUID lock reference associated with the write.
- * @param the long timeOfWrite which is the actual time at which the write took place
+ * @param ordinal lock reference/ordinal associated with the write.
+ * @param timeOfWrite timestamp which is the actual time at which the write took place
* @throws MusicServiceException
* @throws MusicQueryException
*/