@Immutable
public interface Sttc
Make an instance of this interface using RtSttc, for example,
if you want to use a cloud lock from
stateful.co:
Lock lock = new RtSttc(
new URN("urn:github:12345"), "token"
).locks().lock("test");
You need two arguments to instantiate RtSttc: URN of the user
and your secret token. You can get them at the home page of
stateful.co, right on the top.
Counters counters() throws IOException
IOException - If some I/O problemLocks locks() throws IOException
IOException - If some I/O problemCopyright © 2014–2015 stateful.co. All rights reserved.