public class ThriftServiceStatsHandler extends ThriftEventHandler
| Constructor and Description |
|---|
ThriftServiceStatsHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
done(Object context,
String methodName) |
Object |
getContext(String methodName,
com.facebook.nifty.core.RequestContext requestContext) |
ConcurrentMap<String,ThriftMethodStats> |
getStats() |
void |
postRead(Object context,
String methodName,
Object[] args) |
void |
postWrite(Object context,
String methodName,
Object result) |
void |
postWriteException(Object context,
String methodName,
Throwable t) |
void |
preRead(Object context,
String methodName) |
void |
preWrite(Object context,
String methodName,
Object result) |
void |
preWriteException(Object context,
String methodName,
Throwable t) |
declaredUserException, undeclaredUserExceptionpublic ConcurrentMap<String,ThriftMethodStats> getStats()
public Object getContext(String methodName, com.facebook.nifty.core.RequestContext requestContext)
getContext in class ThriftEventHandlerpublic void preRead(Object context, String methodName)
preRead in class ThriftEventHandlerpublic void postRead(Object context, String methodName, Object[] args)
postRead in class ThriftEventHandlerpublic void preWrite(Object context, String methodName, Object result)
preWrite in class ThriftEventHandlerpublic void preWriteException(Object context, String methodName, Throwable t)
preWriteException in class ThriftEventHandlerpublic void postWrite(Object context, String methodName, Object result)
postWrite in class ThriftEventHandlerpublic void postWriteException(Object context, String methodName, Throwable t)
postWriteException in class ThriftEventHandlerpublic void done(Object context, String methodName)
done in class ThriftEventHandlerCopyright © 2012-2016 Facebook, Inc.. All Rights Reserved.