Package org.fluxtream.core.domain

Examples of org.fluxtream.core.domain.ApiUpdate


    @Override
    @Transactional(readOnly = false)
    public void addApiUpdate(final ApiKey apiKey, int objectTypes, long ts, long elapsed, String query,
                             boolean success, Integer httpResponseCode, String reason) {
        ApiUpdate updt = new ApiUpdate();
        updt.guestId = apiKey.getGuestId();
        updt.api = apiKey.getConnector().value();
        updt.apiKeyId = apiKey.getId();
        updt.ts = System.currentTimeMillis();
        updt.query = query;
View Full Code Here


        loadHistory(updateInfo, 0, System.currentTimeMillis());
    }

    @Override
    public void updateConnectorData(UpdateInfo updateInfo) throws Exception {
        ApiUpdate lastUpdate = connectorUpdateService.getLastSuccessfulUpdate(updateInfo.apiKey);
        loadHistory(updateInfo, lastUpdate.ts, System.currentTimeMillis());
    }
View Full Code Here

TOP

Related Classes of org.fluxtream.core.domain.ApiUpdate

Copyright © 2018 www.massapicom. 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.