public class StatisticsGatheringOnTheFlyService<T extends OfHeader> extends AbstractMultipartOnTheFlyService<MultipartType,T> implements StatisticsGatherer<T>
Constructor and Description |
---|
StatisticsGatheringOnTheFlyService(RequestContextStack requestContextStack,
DeviceContext deviceContext,
ConvertorExecutor convertorExecutor,
MultipartWriterProvider statisticsWriterProvider) |
Modifier and Type | Method and Description |
---|---|
protected OfHeader |
buildRequest(Xid xid,
MultipartType input) |
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<List<T>>> |
getStatisticsOfType(EventIdentifier eventIdentifier,
MultipartType type) |
createCallback
handleServiceCall
canUseSingleLayerSerialization, getDatapathId, getDeviceContext, getDeviceInfo, getDeviceRegistry, getEventIdentifier, getMessageSpy, getRequestContextStack, getTxFacade, getVersion, handleServiceCall, setEventIdentifier
public StatisticsGatheringOnTheFlyService(RequestContextStack requestContextStack, DeviceContext deviceContext, ConvertorExecutor convertorExecutor, MultipartWriterProvider statisticsWriterProvider)
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<List<T>>> getStatisticsOfType(EventIdentifier eventIdentifier, MultipartType type)
getStatisticsOfType
in interface StatisticsGatherer<T extends OfHeader>
protected OfHeader buildRequest(Xid xid, MultipartType input) throws ServiceException
buildRequest
in class AbstractService<MultipartType,List<T extends OfHeader>>
ServiceException
Copyright © 2019 OpenDaylight. All rights reserved.