voldemort.server.protocol
Class SocketRequestHandlerFactory

java.lang.Object
  extended by voldemort.server.protocol.SocketRequestHandlerFactory
All Implemented Interfaces:
RequestHandlerFactory

public class SocketRequestHandlerFactory
extends java.lang.Object
implements RequestHandlerFactory

A factory that gets the appropriate request handler for a given RequestFormatType.


Constructor Summary
SocketRequestHandlerFactory(StorageService storageService, StoreRepository repository, MetadataStore metadata, VoldemortConfig voldemortConfig, AsyncOperationService asyncService, Rebalancer rebalancer)
           
 
Method Summary
 RequestHandler getRequestHandler(RequestFormatType type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SocketRequestHandlerFactory

public SocketRequestHandlerFactory(StorageService storageService,
                                   StoreRepository repository,
                                   MetadataStore metadata,
                                   VoldemortConfig voldemortConfig,
                                   AsyncOperationService asyncService,
                                   Rebalancer rebalancer)
Method Detail

getRequestHandler

public RequestHandler getRequestHandler(RequestFormatType type)
Specified by:
getRequestHandler in interface RequestHandlerFactory


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