diff options
author | Kjetil Ørbekk <kjetil.orbekk@gmail.com> | 2012-04-25 12:10:57 +0200 |
---|---|---|
committer | Kjetil Ørbekk <kjetil.orbekk@gmail.com> | 2012-04-25 12:10:57 +0200 |
commit | 768938fa1e2bfaa5a246e28badefc7d8fe7cadd3 (patch) | |
tree | 29e17a0603922c087db4c24804ba22db290e8eaa /same/src/main/java/com/orbekk/paxos/PaxosService.java | |
parent | a8b921e07bf4ad1936e01628049a9c6fd7349312 (diff) |
Add debug messages in Paxos service.
– Remove old PaxosService.
Diffstat (limited to 'same/src/main/java/com/orbekk/paxos/PaxosService.java')
-rw-r--r-- | same/src/main/java/com/orbekk/paxos/PaxosService.java | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/same/src/main/java/com/orbekk/paxos/PaxosService.java b/same/src/main/java/com/orbekk/paxos/PaxosService.java deleted file mode 100644 index a6f6b08..0000000 --- a/same/src/main/java/com/orbekk/paxos/PaxosService.java +++ /dev/null @@ -1,12 +0,0 @@ -package com.orbekk.paxos; - -public interface PaxosService { - - /** - * @return N == proposalNumber if a promise is made. - * -M if another promise already was made, where M is the promise - * highest proposal number. - */ - int propose(String clientUrl, int proposalNumber) throws Exception; - int acceptRequest(String clientUrl, int proposalNumber) throws Exception; -} |