Skip to content

Commit

Permalink
Removed AdminClientOld2.
Browse files Browse the repository at this point in the history
  • Loading branch information
bbansal committed Dec 15, 2009
1 parent aa657fa commit 68390d4
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 362 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -10,3 +10,4 @@ node.id
rebalancing.slave.list
server.state
.version
.temp
19 changes: 9 additions & 10 deletions src/java/voldemort/client/protocol/admin/AdminClient.java
Expand Up @@ -85,12 +85,12 @@ public class AdminClient {
private Cluster cluster;

/**
* Create an instance of Admin Client given a bootstrap server URL. The
* Create an instance of AdminClient given a bootstrap server URL. The
* bootstrap URL is used to get the cluster metadata.
*
* @param bootstrapURL URL pointing to the boostrap node
* @param config Configuration for a Voldemort client (not specific to Admin
* API)
* @param bootstrapURL URL pointing to the bootstrap node
* @param ClientConfig Configuration for a AdminClient specifying number of
* threads, number of sockets per node etc.
*/
public AdminClient(String bootstrapURL, ClientConfig config) {
config.setBootstrapUrls(bootstrapURL);
Expand Down Expand Up @@ -167,14 +167,13 @@ private <T extends Message.Builder> T sendAndReceive(int nodeId, Message message
* entries request with a store name and a {@link VoldemortFilter} instance.
* </li>
* <li>While entryIterator has entries, the client will keep sending the
* updates one after another to the server, buffering the data,
* without waiting for a response from the server.
* </li>
* updates one after another to the server, buffering the data, without
* waiting for a response from the server.</li>
* <li>After iteration is complete, send an end of stream message, force a
* flush of the buffer, check the response on the server to check if
* a {@link VoldemortException} has occured.
* </li>
* flush of the buffer, check the response on the server to check if a
* {@link VoldemortException} has occured.</li>
* </ol>
*
* @param nodeId Id of the remote node (where we wish to update the entries)
* @param storeName Store name for the entries
* @param entryIterator Iterator of key-value pairs for the entries
Expand Down
352 changes: 0 additions & 352 deletions src/java/voldemort/client/protocol/admin/AdminClientOLD2.java

This file was deleted.

0 comments on commit 68390d4

Please sign in to comment.