public class ThriftClientStatsHandler extends ThriftClientEventHandler
| Constructor and Description |
|---|
ThriftClientStatsHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
done(Object context,
String methodName) |
Object |
getContext(String methodName,
com.facebook.nifty.client.ClientRequestContext requestContext) |
ConcurrentMap<String,ThriftMethodStats> |
getStats() |
void |
postRead(Object context,
String methodName,
Object result) |
void |
postReadException(Object context,
String methodName,
Throwable t) |
void |
postWrite(Object context,
String methodName,
Object[] args) |
void |
preRead(Object context,
String methodName) |
void |
preReadException(Object context,
String methodName,
Throwable t) |
void |
preWrite(Object context,
String methodName,
Object[] args) |
public ConcurrentMap<String,ThriftMethodStats> getStats()
public Object getContext(String methodName, com.facebook.nifty.client.ClientRequestContext requestContext)
getContext in class ThriftClientEventHandlerpublic void preWrite(Object context, String methodName, Object[] args)
preWrite in class ThriftClientEventHandlerpublic void postWrite(Object context, String methodName, Object[] args)
postWrite in class ThriftClientEventHandlerpublic void preRead(Object context, String methodName)
preRead in class ThriftClientEventHandlerpublic void preReadException(Object context, String methodName, Throwable t)
preReadException in class ThriftClientEventHandlerpublic void postRead(Object context, String methodName, Object result)
postRead in class ThriftClientEventHandlerpublic void postReadException(Object context, String methodName, Throwable t)
postReadException in class ThriftClientEventHandlerpublic void done(Object context, String methodName)
done in class ThriftClientEventHandlerCopyright © 2012–2015 Facebook, Inc.. All rights reserved.