summaryrefslogtreecommitdiff
path: root/tooz/coordination.py
diff options
context:
space:
mode:
authorJulien Danjou <julien@danjou.info>2016-05-26 15:23:44 +0200
committerJulien Danjou <julien@danjou.info>2016-06-09 10:40:16 +0200
commit756d2652326e3f0db9f51f9ffc66362a63d6e1d5 (patch)
tree66964e2de00e7b2a0ba276c285946a17f62472cb /tooz/coordination.py
parent4906e72416a7724e70fff5f4052586a4de7065fa (diff)
downloadtooz-756d2652326e3f0db9f51f9ffc66362a63d6e1d5.tar.gz
Expose timeout capabilities and use them for tests
Change-Id: I5b6ee43e6a6b91859dacedb9791da74e247cd12b
Diffstat (limited to 'tooz/coordination.py')
-rw-r--r--tooz/coordination.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tooz/coordination.py b/tooz/coordination.py
index 480fbde..4307684 100644
--- a/tooz/coordination.py
+++ b/tooz/coordination.py
@@ -50,6 +50,13 @@ class Characteristics(enum.Enum):
"""Coordinator components when used by multiple **hosts** work
the same as if those components were only used by a single thread."""
+ NON_TIMEOUT_BASED = 'NON_TIMEOUT_BASED'
+ """The driver has the following property:
+
+ * Its operations are not based on the timeout of other clients, but on some
+ other more robust mechanisms.
+ """
+
LINEARIZABLE = 'LINEARIZABLE'
"""The driver has the following properties: