voldemort.coordinator
Class NoopHttpRequestHandler

java.lang.Object
  extended by org.jboss.netty.channel.SimpleChannelUpstreamHandler
      extended by voldemort.coordinator.VoldemortHttpRequestHandler
          extended by voldemort.coordinator.NoopHttpRequestHandler
All Implemented Interfaces:
org.jboss.netty.channel.ChannelHandler, org.jboss.netty.channel.ChannelUpstreamHandler

public class NoopHttpRequestHandler
extends VoldemortHttpRequestHandler

A class that does a Noop after handling a REST request from the thin client. This is used for benchmarking purposes.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jboss.netty.channel.ChannelHandler
org.jboss.netty.channel.ChannelHandler.Sharable
 
Field Summary
 
Fields inherited from class voldemort.coordinator.VoldemortHttpRequestHandler
CUSTOM_RESOLVING_STRATEGY, DEFAULT_RESOLVING_STRATEGY, request, SCHEMATA, X_VOLD_INCONSISTENCY_RESOLVER, X_VOLD_REQUEST_TIMEOUT_MS, X_VOLD_VECTOR_CLOCK
 
Constructor Summary
NoopHttpRequestHandler()
           
 
Method Summary
 void messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.MessageEvent e)
           
 
Methods inherited from class voldemort.coordinator.VoldemortHttpRequestHandler
exceptionCaught, getOperationType
 
Methods inherited from class org.jboss.netty.channel.SimpleChannelUpstreamHandler
channelBound, channelClosed, channelConnected, channelDisconnected, channelInterestChanged, channelOpen, channelUnbound, childChannelClosed, childChannelOpen, handleUpstream, writeComplete
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoopHttpRequestHandler

public NoopHttpRequestHandler()
Method Detail

messageReceived

public void messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx,
                            org.jboss.netty.channel.MessageEvent e)
                     throws java.lang.Exception
Overrides:
messageReceived in class VoldemortHttpRequestHandler
Throws:
java.lang.Exception


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