Package de.caluga.morphium.driver.wire
Class NetworkCallHelper<T>
- java.lang.Object
-
- de.caluga.morphium.driver.wire.NetworkCallHelper<T>
-
public class NetworkCallHelper<T> extends Object
Mongodb throws errors on failover to the client, so we need to repeat all network calls several times this class capsulates these calls.
-
-
Constructor Summary
Constructors Constructor Description NetworkCallHelper()
-
-
-
Method Detail
-
doCall
public T doCall(MorphiumDriverOperation r, int maxRetry, int sleep) throws MorphiumDriverException
- Throws:
MorphiumDriverException
-
-