summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjetil Ørbekk <kjetil.orbekk@gmail.com>2012-01-22 19:45:37 +0100
committerKjetil Ørbekk <kjetil.orbekk@gmail.com>2012-01-22 19:45:37 +0100
commit377ab749d127d733e01bbe0b4e6efb29e6f6d8a8 (patch)
tree92c7c4fab88706ecb1c1d75ae55e621c7d576bff
parent37aa311231b4abd2f9d0a1d2ad6dd3da698862df (diff)
Add comment on thread safety.
-rw-r--r--same/src/main/java/com/orbekk/paxos/PaxosServiceImpl.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/same/src/main/java/com/orbekk/paxos/PaxosServiceImpl.java b/same/src/main/java/com/orbekk/paxos/PaxosServiceImpl.java
index 50bd88b..70e1618 100644
--- a/same/src/main/java/com/orbekk/paxos/PaxosServiceImpl.java
+++ b/same/src/main/java/com/orbekk/paxos/PaxosServiceImpl.java
@@ -3,6 +3,9 @@ package com.orbekk.paxos;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
+/**
+ * This class better be thread-safe.
+ */
public class PaxosServiceImpl implements PaxosService {
private Logger logger = LoggerFactory.getLogger(getClass());
private int roundId = 0;