Code Review
/
ccsdk
/
cds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Message Prioritization message group lock.
[ccsdk/cds.git]
/
ms
/
blueprintsprocessor
/
modules
/
commons
/
processor-core
/
src
/
main
/
kotlin
/
org
/
onap
/
ccsdk
/
cds
/
blueprintsprocessor
/
core
/
service
/
BluePrintClusterService.kt
diff --git
a/ms/blueprintsprocessor/modules/commons/processor-core/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/core/service/BluePrintClusterService.kt
b/ms/blueprintsprocessor/modules/commons/processor-core/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/core/service/BluePrintClusterService.kt
index
21fcfc5
..
f994628
100644
(file)
--- a/
ms/blueprintsprocessor/modules/commons/processor-core/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/core/service/BluePrintClusterService.kt
+++ b/
ms/blueprintsprocessor/modules/commons/processor-core/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/core/service/BluePrintClusterService.kt
@@
-57,6
+57,7
@@
data class ClusterInfo(
data class ClusterMember(val id: String, val memberAddress: String?, val state: String? = null)
interface ClusterLock {
+ fun name(): String
suspend fun lock()
suspend fun tryLock(timeout: Long): Boolean
suspend fun unLock()