com.couchbase.client.vbucket.config
Class ConfigurationParserJSON

java.lang.Object
  extended by net.spy.memcached.compat.SpyObject
      extended by com.couchbase.client.vbucket.config.ConfigurationParserJSON
All Implemented Interfaces:
ConfigurationParser

public class ConfigurationParserJSON
extends net.spy.memcached.compat.SpyObject
implements ConfigurationParser

A ConfigParserJSON.


Constructor Summary
ConfigurationParserJSON()
           
 
Method Summary
 void loadPool(Pool pool, java.lang.String sPool)
           
 java.util.Map<java.lang.String,Pool> parseBase(java.lang.String base)
           
 Bucket parseBucket(java.lang.String sBucket)
           
 java.util.Map<java.lang.String,Bucket> parseBuckets(java.lang.String buckets)
           
 
Methods inherited from class net.spy.memcached.compat.SpyObject
getLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurationParserJSON

public ConfigurationParserJSON()
Method Detail

parseBase

public java.util.Map<java.lang.String,Pool> parseBase(java.lang.String base)
                                               throws java.text.ParseException
Specified by:
parseBase in interface ConfigurationParser
Throws:
java.text.ParseException

loadPool

public void loadPool(Pool pool,
                     java.lang.String sPool)
              throws java.text.ParseException
Specified by:
loadPool in interface ConfigurationParser
Throws:
java.text.ParseException

parseBuckets

public java.util.Map<java.lang.String,Bucket> parseBuckets(java.lang.String buckets)
                                                    throws java.text.ParseException
Specified by:
parseBuckets in interface ConfigurationParser
Throws:
java.text.ParseException

parseBucket

public Bucket parseBucket(java.lang.String sBucket)
                   throws java.text.ParseException
Specified by:
parseBucket in interface ConfigurationParser
Throws:
java.text.ParseException


Copyright © 2006-2009 Dustin Sallings, 2009-2012 Couchbase, Inc.