public class InitializingFlowRepository extends Object implements FlowRepository
FlowRepository
wrapper will ensure that the repository has
been initialized before any *write* calls are made to the given delegate.Modifier | Constructor and Description |
---|---|
|
InitializingFlowRepository(org.osgi.framework.BundleContext bundleContext,
FlowRepository delegate,
io.searchbox.client.JestClient client,
IndexSettings rawIndexSettings,
IndexSettings aggIndexSettings) |
protected |
InitializingFlowRepository(FlowRepository delegate,
io.searchbox.client.JestClient client) |
public InitializingFlowRepository(org.osgi.framework.BundleContext bundleContext, FlowRepository delegate, io.searchbox.client.JestClient client, IndexSettings rawIndexSettings, IndexSettings aggIndexSettings)
protected InitializingFlowRepository(FlowRepository delegate, io.searchbox.client.JestClient client)
public void persist(Collection<Flow> flows, FlowSource source) throws FlowException
persist
in interface FlowRepository
FlowException
public CompletableFuture<Long> getFlowCount(List<Filter> filters)
getFlowCount
in interface FlowQueryService
public CompletableFuture<List<String>> getApplications(String matchingPrefix, long limit, List<Filter> filters)
getApplications
in interface FlowQueryService
public CompletableFuture<com.google.common.collect.Table<Directional<String>,Long,Double>> getApplicationSeries(Set<String> applications, long step, boolean includeOther, List<Filter> filters)
getApplicationSeries
in interface FlowQueryService
public CompletableFuture<List<TrafficSummary<String>>> getTopNApplicationSummaries(int N, boolean includeOther, List<Filter> filters)
getTopNApplicationSummaries
in interface FlowQueryService
public CompletableFuture<List<TrafficSummary<String>>> getApplicationSummaries(Set<String> applications, boolean includeOther, List<Filter> filters)
getApplicationSummaries
in interface FlowQueryService
public CompletableFuture<com.google.common.collect.Table<Directional<String>,Long,Double>> getTopNApplicationSeries(int N, long step, boolean includeOther, List<Filter> filters)
getTopNApplicationSeries
in interface FlowQueryService
public CompletableFuture<List<String>> getConversations(String locationPattern, String protocolPattern, String lowerIPPattern, String upperIPPattern, String applicationPattern, long limit, List<Filter> filters)
getConversations
in interface FlowQueryService
public CompletableFuture<List<TrafficSummary<Conversation>>> getTopNConversationSummaries(int N, boolean includeOther, List<Filter> filters)
getTopNConversationSummaries
in interface FlowQueryService
public CompletableFuture<List<TrafficSummary<Conversation>>> getConversationSummaries(Set<String> conversations, boolean includeOther, List<Filter> filters)
getConversationSummaries
in interface FlowQueryService
public CompletableFuture<com.google.common.collect.Table<Directional<Conversation>,Long,Double>> getConversationSeries(Set<String> conversations, long step, boolean includeOther, List<Filter> filters)
getConversationSeries
in interface FlowQueryService
public CompletableFuture<com.google.common.collect.Table<Directional<Conversation>,Long,Double>> getTopNConversationSeries(int N, long step, boolean includeOther, List<Filter> filters)
getTopNConversationSeries
in interface FlowQueryService
public CompletableFuture<List<String>> getHosts(String regex, long limit, List<Filter> filters)
getHosts
in interface FlowQueryService
public CompletableFuture<List<TrafficSummary<Host>>> getTopNHostSummaries(int N, boolean includeOther, List<Filter> filters)
getTopNHostSummaries
in interface FlowQueryService
public CompletableFuture<List<TrafficSummary<Host>>> getHostSummaries(Set<String> hosts, boolean includeOther, List<Filter> filters)
getHostSummaries
in interface FlowQueryService
public CompletableFuture<com.google.common.collect.Table<Directional<Host>,Long,Double>> getHostSeries(Set<String> hosts, long step, boolean includeOther, List<Filter> filters)
getHostSeries
in interface FlowQueryService
public CompletableFuture<com.google.common.collect.Table<Directional<Host>,Long,Double>> getTopNHostSeries(int N, long step, boolean includeOther, List<Filter> filters)
getTopNHostSeries
in interface FlowQueryService
Copyright © 2021. All rights reserved.