TConfig - IdcClientConfig for the specific clientpublic final class ServiceLog<TConfig extends IdcClientConfig> extends Object
| Constructor and Description |
|---|
ServiceLog(TConfig clientConfig, ServiceRequest serviceRequest, DataBinder requestBinder)
Create service log.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getLogId() |
static TimerProvider |
getTimerProvider() |
void |
logCleanup()
Stop the log and do a cleanup, This method should always be in the finally block
|
void |
logExceptionResponse(String message)
Logs an Exception Response to a Service Request
|
void |
logResponseBinder(DataBinder binder) |
void |
logStart()
Start the log of this service request processing This method should be in a try block with the logCleanup() called in the finally clause
|
void |
logStop()
Stop the log of this service request processing This method should be in a try block with the logCleanup() called in the finally clause
|
static String |
toId(long i)
Just a way to make a very long number a bit shorter for human consumption
|
public ServiceLog(TConfig clientConfig, ServiceRequest serviceRequest, DataBinder requestBinder)
clientConfig -serviceRequest -requestBinder -public void logStart()
public void logStop()
public void logCleanup()
public void logResponseBinder(DataBinder binder)
public void logExceptionResponse(String message)
message -public String getLogId()
public static String toId(long i)
public static TimerProvider getTimerProvider()