Examples of BufferRequestService


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

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

            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
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.