org.apache.oozie.client.retry
Class ConnectionRetriableClient
java.lang.Object
org.apache.oozie.client.retry.ConnectionRetriableClient
public abstract class ConnectionRetriableClient
- extends Object
HTTP connection retryable class. It retries =oozie.connection.retry.count= times for ConnectException. For
SocketException all create connection are retried except =PUT= and =POST=.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConnectionRetriableClient
public ConnectionRetriableClient(int retryCount)
execute
public Object execute(URL url,
String method)
throws IOException
- Throws:
IOException
doExecute
public abstract Object doExecute(URL url,
String method)
throws Exception
- Throws:
Exception
Copyright © 2014 Apache Software Foundation. All Rights Reserved.