voldemort.client
Class HttpStoreClientFactory

java.lang.Object
  extended by voldemort.client.AbstractStoreClientFactory
      extended by voldemort.client.HttpStoreClientFactory
All Implemented Interfaces:
StoreClientFactory

Deprecated.

@Deprecated
public class HttpStoreClientFactory
extends AbstractStoreClientFactory

A StoreClientFactory that creates a remote client that connects and bootstraps itself via HTTP.


Field Summary
static java.lang.String URL_SCHEME
          Deprecated.  
 
Fields inherited from class voldemort.client.AbstractStoreClientFactory
clusterMapper, DEFAULT_ROUTING_TIMEOUT_MS, failureDetector, identifierString, logger, MAX_METADATA_REFRESH_ATTEMPTS
 
Constructor Summary
HttpStoreClientFactory(ClientConfig config)
          Deprecated.  
 
Method Summary
 void close()
          Deprecated. Close the store client
protected  int getPort(Node node)
          Deprecated.  
protected  Store<ByteArray,byte[],byte[]> getStore(java.lang.String name, java.lang.String host, int port, RequestFormatType type)
          Deprecated.  
protected  FailureDetector initFailureDetector(ClientConfig config, Cluster cluster)
          Deprecated.  
protected  void validateUrl(java.net.URI url)
          Deprecated.  
 
Methods inherited from class voldemort.client.AbstractStoreClientFactory
bootstrapMetadataWithRetries, bootstrapMetadataWithRetries, getClientContext, getCluster, getConfig, getCurrentJmxId, getFailureDetector, getNextJmxId, getRawStore, getRawStore, getRemoteMetadata, getRequestFormatType, getSerializerFactory, getStoreClient, getStoreClient, getStoreDefs, validateUrls
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

URL_SCHEME

public static final java.lang.String URL_SCHEME
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

HttpStoreClientFactory

public HttpStoreClientFactory(ClientConfig config)
Deprecated. 
Method Detail

getStore

protected Store<ByteArray,byte[],byte[]> getStore(java.lang.String name,
                                                  java.lang.String host,
                                                  int port,
                                                  RequestFormatType type)
Deprecated. 
Specified by:
getStore in class AbstractStoreClientFactory

initFailureDetector

protected FailureDetector initFailureDetector(ClientConfig config,
                                              Cluster cluster)
Deprecated. 
Specified by:
initFailureDetector in class AbstractStoreClientFactory

getPort

protected int getPort(Node node)
Deprecated. 
Specified by:
getPort in class AbstractStoreClientFactory

validateUrl

protected void validateUrl(java.net.URI url)
Deprecated. 
Specified by:
validateUrl in class AbstractStoreClientFactory

close

public void close()
Deprecated. 
Description copied from interface: StoreClientFactory
Close the store client

Specified by:
close in interface StoreClientFactory
Overrides:
close in class AbstractStoreClientFactory


Jay Kreps, Roshan Sumbaly, Alex Feinberg, Bhupesh Bansal, Lei Gao, Chinmay Soman, Vinoth Chandar, Zhongjie Wu