Skip to content

Commit

Permalink
Updated README.
Browse files Browse the repository at this point in the history
  • Loading branch information
sbtourist committed Sep 26, 2010
1 parent 901b108 commit ba7fd8e
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,25 +29,27 @@ As you may see, you just specify the Terrastore server, bucket and key you want

Now, let's take a look at all supported operations in both flavors.

## Bucket Management

To maintain our samples about bookmarkable APIs as concise as possible, we'll bookmark our server and bucket as follows:

(def my-server (terrastore "http://127.0.0.1:8080"))
(def my-bucket (my-server :bucket "bucket"))

Now let's take a look at bucket management operations.
## Statistics

### Get Cluster Statistics.

Bookmarkable Syntax:

(my-server :cluster-stats)
((terrastore "http://127.0.0.1:8080") :cluster-stats)

Nestable Syntax:

(with-terrastore "http://127.0.0.1:8080" :cluster-stats)

## Bucket Management

To maintain our samples about bookmarkable APIs as concise as possible, we'll bookmark our server and bucket as follows:

(def my-server (terrastore "http://127.0.0.1:8080"))
(def my-bucket (my-server :bucket "bucket"))

Now let's take a look at bucket management operations.

### List All Buckets.

Bookmarkable Syntax:
Expand Down

0 comments on commit ba7fd8e

Please sign in to comment.