public abstract class AbstractLoanBrokerApp extends Object
| Constructor and Description |
|---|
AbstractLoanBrokerApp() |
AbstractLoanBrokerApp(String config) |
| Modifier and Type | Method and Description |
|---|---|
CustomerQuoteRequest |
createRequest() |
protected void |
dispose() |
protected ConfigurationBuilder |
getConfigBuilder() |
protected static double |
getRandomAmount() |
protected static int |
getRandomDuration() |
protected static int |
getRandomSsn() |
protected static CustomerQuoteRequest |
getRequestFromUser() |
protected void |
init() |
protected static int |
readCharacter() |
protected static int |
readInt() |
protected static String |
readString() |
void |
request(CustomerQuoteRequest request,
boolean sync) |
void |
requestDispatch(int number,
String endpoint) |
List<Object> |
requestSend(int number,
String endpoint) |
protected void |
run(boolean synchronous) |
protected void |
sendRandomRequests(int number,
boolean synchronous) |
protected ConfigurationBuilder getConfigBuilder() throws MuleException
MuleExceptionpublic CustomerQuoteRequest createRequest()
protected static CustomerQuoteRequest getRequestFromUser() throws IOException
IOExceptionpublic void request(CustomerQuoteRequest request, boolean sync) throws Exception
Exceptionpublic void requestDispatch(int number,
String endpoint)
throws Exception
Exceptionpublic List<Object> requestSend(int number, String endpoint) throws Exception
Exceptionprotected void sendRandomRequests(int number,
boolean synchronous)
throws Exception
Exceptionprotected static int readCharacter()
throws IOException
IOExceptionprotected static String readString() throws IOException
IOExceptionprotected static int readInt()
throws IOException
IOExceptionprotected static double getRandomAmount()
protected static int getRandomDuration()
protected static int getRandomSsn()
Copyright © 2003–2014 MuleSoft, Inc.. All rights reserved.