commit | 686fa187850b781a5eecfd0b1ea6e868fda85880 | [log] [tgz] |
---|---|---|
author | Madan Jampani <madan@onlab.us> | Tue Nov 04 23:16:27 2014 -0800 |
committer | Madan Jampani <madan@onlab.us> | Tue Nov 04 23:16:27 2014 -0800 |
tree | 77cbd4e16eb07c304ab01f4546801002893a7404 | |
parent | beada93656a546f12b18ae68e63d64292775c12a [diff] [blame] |
Javadoc improvements
diff --git a/core/store/dist/src/main/java/org/onlab/onos/store/service/impl/DatabaseStateMachine.java b/core/store/dist/src/main/java/org/onlab/onos/store/service/impl/DatabaseStateMachine.java index c974486..ad6773e 100644 --- a/core/store/dist/src/main/java/org/onlab/onos/store/service/impl/DatabaseStateMachine.java +++ b/core/store/dist/src/main/java/org/onlab/onos/store/service/impl/DatabaseStateMachine.java
@@ -19,6 +19,13 @@ import com.google.common.collect.Maps; +/** + * StateMachine whose transitions are coordinated/replicated + * by Raft consensus. + * Each Raft cluster member has a instance of this state machine that is + * independently updated in lock step once there is consensus + * on the next transition. + */ public class DatabaseStateMachine implements StateMachine { public static final KryoSerializer SERIALIZER = new KryoSerializer() {