@Immutable @Loggable(value=1) public final class ReSttc extends Object implements Sttc
Just wrap your original Sttc object with this
decorator and all requests to stateful.co server will be
retried a few times before giving up and throwing a runtime
exception. It is highly recommended to use this decorator
in production environment. The Internet is not a stable environment,
and connection failures is a regular event.
public ReSttc(Sttc orgn)
orgn - Original object@RetryOnFailure(verbose=false, attempts=20, delay=20L, unit=SECONDS) public Counters counters() throws IOException
Sttccounters in interface SttcIOException - If some I/O problem@RetryOnFailure(verbose=false, attempts=20, delay=20L, unit=SECONDS) public Locks locks() throws IOException
Sttclocks in interface SttcIOException - If some I/O problemCopyright © 2014–2016 stateful.co. All rights reserved.