Skip to content
This repository has been archived by the owner on Nov 22, 2017. It is now read-only.

Commit

Permalink
thrudoc progress, starting redo logs
Browse files Browse the repository at this point in the history
git-svn-id: http://thrudb.googlecode.com/svn/trunk/thrudex/java@464 fba13f4c-023d-0410-9ea0-c578ad9db326
  • Loading branch information
jake@3.rdrail.net committed May 27, 2009
1 parent c1f3eb6 commit 1e2d0d2
Show file tree
Hide file tree
Showing 24 changed files with 4,014 additions and 79 deletions.
2 changes: 2 additions & 0 deletions .classpath
Expand Up @@ -10,5 +10,7 @@
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/3"/>
<classpathentry kind="lib" path="lib/tokyocabinet.jar"/>
<classpathentry kind="lib" path="config"/>
<classpathentry kind="lib" path="lib/zookeeper-3.1.1.jar"/>
<classpathentry kind="lib" path="lib/spring.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
6 changes: 4 additions & 2 deletions Thrudoc.thrift
Expand Up @@ -6,14 +6,16 @@ namespace ruby Thrudoc


exception ThrudocException{}
exception InvalidKeyException{}
exception InvalidBucketException{}
exception InvalidKeyException{}
exception InvalidParametersException{}


service Thrudoc
{
set<string> getBuckets() throws(1:ThrudocException ex1),
void create_bucket(1: string bucket) throws(1:ThrudocException ex1),
void delete_bucket(1: string bucket) throws(1:ThrudocException ex1),
set<string> get_bucket_list() throws(1:ThrudocException ex1),

i32 incr(1:string bucket, 2:string key, 3:i32 amount=1) throws(1:ThrudocException ex1, 2:InvalidBucketException ex2),
i32 decr(1:string bucket, 2:string key, 3:i32 amount=1) throws(1:ThrudocException ex1, 2:InvalidBucketException ex2),
Expand Down

0 comments on commit 1e2d0d2

Please sign in to comment.