27282930313233
} public void begin() throws StoreException { new StoreClient(pool.slash(Protocol.BEGIN)).post(); }
33343536373839
} public void ping() throws StoreException { new StoreClient(pool.slash(Protocol.PING)).post(); }
39404142434445
} public void commit() throws StoreException { new StoreClient(pool.slash(Protocol.COMMIT)).post(); }
45464748495051
} public void rollback() throws StoreException { new StoreClient(pool.slash(Protocol.ROLLBACK)).post(); }
51525354555657
} public void close() throws StoreException { new StoreClient(pool).delete(); }
17181920212223
public class ProtocolClient { private final StoreClient client; public ProtocolClient(HTTPConnectionPool pool) { this.client = new StoreClient(pool); }
18192021222324
private final StoreClient client; public ConnectionsClient(HTTPConnectionPool pool) { this.pool = pool; this.client = new StoreClient(pool); }
25262728293031
public class NamespaceClient { private final StoreClient client; public NamespaceClient(HTTPConnectionPool pool) { this.client = new StoreClient(pool); }
public class ContextClient { private final StoreClient client; public ContextClient(HTTPConnectionPool contexts) { this.client = new StoreClient(contexts); }
21222324252627
private final StoreClient client; public RepositoriesClient(HTTPConnectionPool pool) { this.pool = pool; this.client = new StoreClient(pool); }