net.spy.memcached.vbucket
Class BucketUpdateResponseHandler
java.lang.Object
org.jboss.netty.channel.SimpleChannelUpstreamHandler
net.spy.memcached.vbucket.BucketUpdateResponseHandler
- All Implemented Interfaces:
- org.jboss.netty.channel.ChannelHandler, org.jboss.netty.channel.ChannelUpstreamHandler
@ChannelPipelineCoverage(value="one")
public class BucketUpdateResponseHandler
- extends org.jboss.netty.channel.SimpleChannelUpstreamHandler
| Methods inherited from class org.jboss.netty.channel.SimpleChannelUpstreamHandler |
channelBound, channelClosed, channelConnected, channelDisconnected, channelInterestChanged, channelOpen, channelUnbound, childChannelClosed, childChannelOpen, writeComplete |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BucketUpdateResponseHandler
public BucketUpdateResponseHandler()
messageReceived
public void messageReceived(org.jboss.netty.channel.ChannelHandlerContext context,
org.jboss.netty.channel.MessageEvent event)
- Overrides:
messageReceived in class org.jboss.netty.channel.SimpleChannelUpstreamHandler
getLastResponse
protected String getLastResponse()
- Returns:
- the lastResponse
handleUpstream
public void handleUpstream(org.jboss.netty.channel.ChannelHandlerContext context,
org.jboss.netty.channel.ChannelEvent event)
throws Exception
- Specified by:
handleUpstream in interface org.jboss.netty.channel.ChannelUpstreamHandler- Overrides:
handleUpstream in class org.jboss.netty.channel.SimpleChannelUpstreamHandler
- Throws:
Exception
setBucketMonitor
protected void setBucketMonitor(BucketMonitor monitor)
exceptionCaught
public void exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ExceptionEvent e)
throws Exception
- Overrides:
exceptionCaught in class org.jboss.netty.channel.SimpleChannelUpstreamHandler
- Throws:
Exception