public class ServiceCall extends AbstractLoggingServiceMonitor
cacheHit, context, correlationId, endTime, error, errorMessage, executionTime, failure, failureException, failureReason, parameters, startTime| Constructor and Description |
|---|
ServiceCall(Service service,
boolean log,
boolean useThreadLocal) |
| Modifier and Type | Method and Description |
|---|---|
void |
beginCall(Object... parameters)
Notify of the beginning of a call to a service.
|
void |
cacheHit()
Reports that a cache system was used instead of performing the actual
call.
|
void |
endCall()
Notify the end of a call to a service.
|
String |
getId() |
void |
nestedCall()
Report that another service was called in order to perform original
action
|
context, correlationId, error, executionTime, failure, failure, getLogger, getLogMessage, getStartTime, setLogFormat, setLogger, setMessageFormatpublic ServiceCall(Service service, boolean log, boolean useThreadLocal)
public void cacheHit()
IServiceMonitorcacheHit in interface IServiceMonitorcacheHit in class AbstractLoggingServiceMonitorpublic String getId()
public void beginCall(Object... parameters)
IServiceMonitorbeginCall in interface IServiceMonitorbeginCall in class AbstractLoggingServiceMonitorparameters - operation parameterspublic void endCall()
IServiceMonitorendCall in interface IServiceMonitorendCall in class AbstractLoggingServiceMonitorpublic void nestedCall()
IServiceMonitorCopyright © 2010–2016. All rights reserved.