Package com.cumulocity.sdk.client.buffering

Examples of com.cumulocity.sdk.client.buffering.BufferRequestService


    }

    public PlatformParameters(String host, CumulocityCredentials credentials, ClientConfiguration clientConfiguration, int pageSize) {
        setMandatoryFields(host, credentials);
        PersistentProvider persistentProvider = clientConfiguration.getPersistentProvider();
        bufferRequestService = new BufferRequestService(persistentProvider);
        bufferProcessor = new BufferProcessor(persistentProvider, bufferRequestService, createRestConnector());
        bufferProcessor.startProcessing();
        this.pageSize = pageSize;
    }
View Full Code Here


            T representation) throws SDKException {
        return sendAsyncRequest(HttpMethod.PUT, path, mediaType, representation);
    }

    private <T extends ResourceRepresentation> Future sendAsyncRequest(String method, String path, CumulocityMediaType mediaType, T representation) {
        BufferRequestService bufferRequestService = platformParameters.getBufferRequestService();
        return bufferRequestService.create(BufferedRequest.create(method, path, mediaType, representation));
    }
View Full Code Here

TOP

Related Classes of com.cumulocity.sdk.client.buffering.BufferRequestService

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.