Class StatisticsGatheringService<T extends OfHeader>
java.lang.Object
org.opendaylight.openflowplugin.impl.services.AbstractService<I,List<T>>
org.opendaylight.openflowplugin.impl.services.AbstractMultipartService<MultipartType,T>
org.opendaylight.openflowplugin.impl.statistics.services.dedicated.StatisticsGatheringService<T>
- All Implemented Interfaces:
StatisticsGatherer<T>
public class StatisticsGatheringService<T extends OfHeader>
extends AbstractMultipartService<MultipartType,T>
implements StatisticsGatherer<T>
-
Constructor Summary
ConstructorDescriptionStatisticsGatheringService
(RequestContextStack requestContextStack, DeviceContext deviceContext) -
Method Summary
Modifier and TypeMethodDescriptionprotected 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.AbstractMultipartService
createCallback, handleServiceCall
Methods inherited from class org.opendaylight.openflowplugin.impl.services.AbstractService
canUseSingleLayerSerialization, getDatapathId, getDeviceContext, getDeviceInfo, getDeviceRegistry, getEventIdentifier, getMessageSpy, getRequestContextStack, getTxFacade, getVersion, handleServiceCall, setEventIdentifier
-
Constructor Details
-
StatisticsGatheringService
public StatisticsGatheringService(RequestContextStack requestContextStack, DeviceContext deviceContext)
-
-
Method Details
-
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
- Specified by:
buildRequest
in classAbstractService<MultipartType,
List<T extends OfHeader>>
-