Class StatisticsGatheringOnTheFlyService<T extends OfHeader>
- java.lang.Object
-
- org.opendaylight.openflowplugin.impl.services.AbstractService<I,List<T>>
-
- org.opendaylight.openflowplugin.impl.services.AbstractMultipartService<I,T>
-
- org.opendaylight.openflowplugin.impl.services.AbstractMultipartOnTheFlyService<MultipartType,T>
-
- org.opendaylight.openflowplugin.impl.statistics.services.dedicated.StatisticsGatheringOnTheFlyService<T>
-
- All Implemented Interfaces:
StatisticsGatherer<T>
public class StatisticsGatheringOnTheFlyService<T extends OfHeader> extends AbstractMultipartOnTheFlyService<MultipartType,T> implements StatisticsGatherer<T>
Collects statistics and processes them on the fly.
-
-
Constructor Summary
Constructors Constructor Description StatisticsGatheringOnTheFlyService(RequestContextStack requestContextStack, DeviceContext deviceContext, ConvertorExecutor convertorExecutor, MultipartWriterProvider statisticsWriterProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
Methods inherited from class org.opendaylight.openflowplugin.impl.services.AbstractMultipartOnTheFlyService
createCallback
-
Methods inherited from class org.opendaylight.openflowplugin.impl.services.AbstractMultipartService
handleServiceCall
-
Methods inherited from class org.opendaylight.openflowplugin.impl.services.AbstractService
canUseSingleLayerSerialization, getDatapathId, getDeviceContext, getDeviceInfo, getDeviceRegistry, getEventIdentifier, getMessageSpy, getRequestContextStack, getTxFacade, getVersion, handleServiceCall, setEventIdentifier
-
-
-
-
Constructor Detail
-
StatisticsGatheringOnTheFlyService
public StatisticsGatheringOnTheFlyService(RequestContextStack requestContextStack, DeviceContext deviceContext, ConvertorExecutor convertorExecutor, MultipartWriterProvider statisticsWriterProvider)
-
-
Method Detail
-
getStatisticsOfType
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<List<T>>> getStatisticsOfType(EventIdentifier eventIdentifier, MultipartType type)
- Specified by:
getStatisticsOfType
in interfaceStatisticsGatherer<T extends OfHeader>
-
buildRequest
protected OfHeader buildRequest(Xid xid, MultipartType input)
- Specified by:
buildRequest
in classAbstractService<MultipartType,List<T extends OfHeader>>
-
-