Package org.opennms.netmgt.flows.rest
Interface FlowRestService
- 
- All Known Implementing Classes:
- FlowRestServiceImpl
 
 public interface FlowRestService
- 
- 
Field SummaryFields Modifier and Type Field Description static StringDEFAULT_LIMITstatic StringDEFAULT_STEP_MSstatic StringDEFAULT_TOP_N
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description List<String>getApplications(String matchingPrefix, long limit, javax.ws.rs.core.UriInfo uriInfo)Retrieve the list of applications.FlowSeriesResponsegetApplicationSeries(long step, Integer N, Set<String> applications, boolean includeOther, javax.ws.rs.core.UriInfo uriInfo)FlowSummaryResponsegetApplicationSummary(Integer N, Set<String> applications, boolean includeOther, javax.ws.rs.core.UriInfo uriInfo)List<String>getConversations(String locationPattern, String protocolPattern, String lowerIPPattern, String upperIPPattern, String applicationPattern, long limit, javax.ws.rs.core.UriInfo uriInfo)Retrieve the list of conversations.FlowSeriesResponsegetConversationSeries(long step, Integer N, Set<String> conversations, boolean includeOther, javax.ws.rs.core.UriInfo uriInfo)FlowSummaryResponsegetConversationSummary(Integer N, Set<String> conversations, boolean includeOther, javax.ws.rs.core.UriInfo uriInfo)FlowSeriesResponsegetDscpSeries(long step, javax.ws.rs.core.UriInfo uriInfo)FlowSummaryResponsegetDscpSummaries(javax.ws.rs.core.UriInfo uriInfo)List<Integer>getDscpValues(javax.ws.rs.core.UriInfo uriInfo)LonggetFlowCount(javax.ws.rs.core.UriInfo uriInfo)Retrieves the number of flows persisted in the repository.FlowNodeDetailsgetFlowExporter(Integer nodeId)Retrieved detailed information about a specific node.List<FlowNodeSummary>getFlowExporters()Retrieves a summary of the nodes that have exported flows.FlowGraphUrlInfogetFlowGraphUrlInfo(javax.ws.rs.core.UriInfo uriInfo)List<String>getHosts(String regex, long limit, javax.ws.rs.core.UriInfo uriInfo)Retrieve the list of hosts.FlowSeriesResponsegetHostSeries(long step, Integer N, Set<String> hosts, boolean includeOther, javax.ws.rs.core.UriInfo uriInfo)FlowSummaryResponsegetHostSummary(Integer N, Set<String> hosts, boolean includeOther, javax.ws.rs.core.UriInfo uriInfo)
 
- 
- 
- 
Field Detail- 
DEFAULT_STEP_MSstatic final String DEFAULT_STEP_MS - See Also:
- Constant Field Values
 
 - 
DEFAULT_TOP_Nstatic final String DEFAULT_TOP_N - See Also:
- Constant Field Values
 
 - 
DEFAULT_LIMITstatic final String DEFAULT_LIMIT - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getFlowCountLong getFlowCount(@Context javax.ws.rs.core.UriInfo uriInfo) Retrieves the number of flows persisted in the repository. Supports filtering.- Parameters:
- uriInfo- JAX-RS context
- Returns:
- number of flows that match the given query
 
 - 
getFlowExportersList<FlowNodeSummary> getFlowExporters() Retrieves a summary of the nodes that have exported flows. Supports filtering.- Returns:
- node summaries
 
 - 
getFlowExporterFlowNodeDetails getFlowExporter(Integer nodeId) Retrieved detailed information about a specific node. Supports filtering.- Parameters:
- nodeId- node id
- Returns:
- node details
 
 - 
getDscpSummariesFlowSummaryResponse getDscpSummaries(@Context javax.ws.rs.core.UriInfo uriInfo) 
 - 
getDscpSeriesFlowSeriesResponse getDscpSeries(long step, @Context javax.ws.rs.core.UriInfo uriInfo) 
 - 
getApplicationsList<String> getApplications(String matchingPrefix, long limit, @Context javax.ws.rs.core.UriInfo uriInfo) Retrieve the list of applications. Supports filtering.- Parameters:
- matchingPrefix- a string prefix that can be used to further filter the results
- limit- the maximum number of applications to return
- Returns:
- the list of applications
 
 - 
getApplicationSummaryFlowSummaryResponse getApplicationSummary(Integer N, Set<String> applications, boolean includeOther, @Context javax.ws.rs.core.UriInfo uriInfo) 
 - 
getApplicationSeriesFlowSeriesResponse getApplicationSeries(long step, Integer N, Set<String> applications, boolean includeOther, @Context javax.ws.rs.core.UriInfo uriInfo) 
 - 
getHostsList<String> getHosts(String regex, long limit, @Context javax.ws.rs.core.UriInfo uriInfo) Retrieve the list of hosts. Supports filtering.- Parameters:
- prefix- a string prefix that can be used to further filter the results
- limit- the maximum number of hosts to return
- Returns:
- the list of hosts
 
 - 
getHostSummaryFlowSummaryResponse getHostSummary(Integer N, Set<String> hosts, boolean includeOther, @Context javax.ws.rs.core.UriInfo uriInfo) 
 - 
getHostSeriesFlowSeriesResponse getHostSeries(long step, Integer N, Set<String> hosts, boolean includeOther, @Context javax.ws.rs.core.UriInfo uriInfo) 
 - 
getConversationsList<String> getConversations(String locationPattern, String protocolPattern, String lowerIPPattern, String upperIPPattern, String applicationPattern, long limit, @Context javax.ws.rs.core.UriInfo uriInfo) Retrieve the list of conversations. Supports filtering.- Parameters:
- locationPattern- the regex pattern for the location field
- protocolPattern- the regex pattern for the protocol field
- lowerIPPattern- the regex pattern for the lower IP field
- upperIPPattern- the regex pattern for the upper IP field
- applicationPattern- the regex pattern for the application field
- limit- limit for how many conversations to return
- Returns:
- the list of conversations
 
 - 
getConversationSummaryFlowSummaryResponse getConversationSummary(Integer N, Set<String> conversations, boolean includeOther, @Context javax.ws.rs.core.UriInfo uriInfo) 
 - 
getConversationSeriesFlowSeriesResponse getConversationSeries(long step, Integer N, Set<String> conversations, boolean includeOther, @Context javax.ws.rs.core.UriInfo uriInfo) 
 - 
getFlowGraphUrlInfoFlowGraphUrlInfo getFlowGraphUrlInfo(@Context javax.ws.rs.core.UriInfo uriInfo) 
 
- 
 
-