public class FlowRestServiceImpl extends Object implements FlowRestService
DEFAULT_LIMIT, DEFAULT_STEP_MS, DEFAULT_TOP_N| Constructor and Description |
|---|
FlowRestServiceImpl(FlowRepository flowRepository,
NodeDao nodeDao,
SnmpInterfaceDao snmpInterfaceDao,
org.springframework.transaction.support.TransactionOperations transactionOperations) |
| Modifier and Type | Method and Description |
|---|---|
protected static List<Filter> |
getFiltersFromQueryString(javax.ws.rs.core.MultivaluedMap<String,String> queryParams) |
Long |
getFlowCount(javax.ws.rs.core.UriInfo uriInfo)
Retrieves the number of flows persisted in the repository.
|
FlowNodeDetails |
getFlowExporter(Integer nodeId)
Retrieved detailed information about a specific node.
|
List<FlowNodeSummary> |
getFlowExporters()
Retrieves a summary of the nodes that have exported flows.
|
String |
getFlowGraphUrl() |
FlowGraphUrlInfo |
getFlowGraphUrlInfo(javax.ws.rs.core.UriInfo uriInfo) |
FlowSummaryResponse |
getTopNApplications(int N,
boolean includeOther,
javax.ws.rs.core.UriInfo uriInfo) |
FlowSeriesResponse |
getTopNApplicationSeries(long step,
int N,
boolean includeOther,
javax.ws.rs.core.UriInfo uriInfo) |
FlowSummaryResponse |
getTopNConversations(int N,
javax.ws.rs.core.UriInfo uriInfo) |
FlowSeriesResponse |
getTopNConversationsSeries(long step,
int N,
javax.ws.rs.core.UriInfo uriInfo) |
void |
setFlowGraphUrl(String flowGraphUrl) |
public FlowRestServiceImpl(FlowRepository flowRepository, NodeDao nodeDao, SnmpInterfaceDao snmpInterfaceDao, org.springframework.transaction.support.TransactionOperations transactionOperations)
public Long getFlowCount(javax.ws.rs.core.UriInfo uriInfo)
FlowRestServicegetFlowCount in interface FlowRestServiceuriInfo - JAX-RS contextpublic List<FlowNodeSummary> getFlowExporters()
FlowRestServicegetFlowExporters in interface FlowRestServicepublic FlowNodeDetails getFlowExporter(Integer nodeId)
FlowRestServicegetFlowExporter in interface FlowRestServicenodeId - node idpublic FlowSummaryResponse getTopNApplications(int N, boolean includeOther, javax.ws.rs.core.UriInfo uriInfo)
getTopNApplications in interface FlowRestServicepublic FlowSeriesResponse getTopNApplicationSeries(long step, int N, boolean includeOther, javax.ws.rs.core.UriInfo uriInfo)
getTopNApplicationSeries in interface FlowRestServicepublic FlowSummaryResponse getTopNConversations(int N, javax.ws.rs.core.UriInfo uriInfo)
getTopNConversations in interface FlowRestServicepublic FlowSeriesResponse getTopNConversationsSeries(long step, int N, javax.ws.rs.core.UriInfo uriInfo)
getTopNConversationsSeries in interface FlowRestServiceprotected static List<Filter> getFiltersFromQueryString(javax.ws.rs.core.MultivaluedMap<String,String> queryParams)
public FlowGraphUrlInfo getFlowGraphUrlInfo(javax.ws.rs.core.UriInfo uriInfo)
getFlowGraphUrlInfo in interface FlowRestServicepublic String getFlowGraphUrl()
public void setFlowGraphUrl(String flowGraphUrl)
Copyright © 2019. All rights reserved.