voldemort.coordinator
Class HttpDeleteRequestExecutor

java.lang.Object
  extended by voldemort.coordinator.HttpDeleteRequestExecutor
All Implemented Interfaces:
java.lang.Runnable

public class HttpDeleteRequestExecutor
extends java.lang.Object
implements java.lang.Runnable

A Runnable class that uses the specified Fat client to perform a Voldemort DELETE operation. This is invoked by a FatClientWrapper thread to satisfy a corresponding REST DELETE request.


Constructor Summary
HttpDeleteRequestExecutor(CompositeVoldemortRequest<ByteArray,byte[]> deleteRequestObject, org.jboss.netty.channel.MessageEvent requestEvent, DynamicTimeoutStoreClient<ByteArray,byte[]> storeClient, long startTimestampInNs, StoreStats coordinatorPerfStats)
           
 
Method Summary
 void run()
           
 void writeResponse()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpDeleteRequestExecutor

public HttpDeleteRequestExecutor(CompositeVoldemortRequest<ByteArray,byte[]> deleteRequestObject,
                                 org.jboss.netty.channel.MessageEvent requestEvent,
                                 DynamicTimeoutStoreClient<ByteArray,byte[]> storeClient,
                                 long startTimestampInNs,
                                 StoreStats coordinatorPerfStats)
Parameters:
deleteRequestObject - The request object containing key and version values
requestEvent - Reference to the MessageEvent for the response / error
storeClient - Reference to the fat client for performing this Delete operation
coordinatorPerfStats - Stats object used to measure the turnaround time
startTimestampInNs - start timestamp of the request
Method Detail

writeResponse

public void writeResponse()

run

public void run()
Specified by:
run in interface java.lang.Runnable


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