Package com.isomorphic.datasource
 Interface BaseRequestHandler<T extends BaseRequest>
public interface BaseRequestHandler<T extends BaseRequest>
 This class handles execution of 
 BaseRequest, mainly inside DSTransaction.processQueue(). You can implement your own version of this to control how a request is executed and how to deal with any exceptions thrown during it's execution.-  
Method Summary
Modifier and TypeMethodDescriptionhandleRequest(T request) Used to execute a request such asDSRequestorRPCRequest. 
-  
Method Details
-  
handleRequest
Used to execute a request such asDSRequestorRPCRequest. The job of this handler is to deal with any pre- or post-processing required. Typical usage includes handling errors thrown byBaseRequest.execute().- Parameters:
 request- the request to be handled, must be something which extendsBaseRequest- Returns:
 BaseResponseas a result of processing the request.
 
 -