Examples of CouchDbInfo


Examples of org.lightcouch.CouchDbInfo

        this.couchClient = couchClient;
        initChanges();
    }

    void initChanges() {
        CouchDbInfo dbInfo = couchClient.context().info();
        String since = dbInfo.getUpdateSeq(); // get latest update seq
        LOG.debug("Last sequence [{}]", since);
        changes = couchClient.changes().style(endpoint.getStyle()).includeDocs(true)
                .since(since).heartBeat(endpoint.getHeartbeat()).continuousChanges();
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.