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 FlowRepositoryFlowExceptionpublic CompletableFuture<Long> getFlowCount(List<Filter> filters)
getFlowCount in interface FlowQueryServicepublic CompletableFuture<List<String>> getApplications(String matchingPrefix, long limit, List<Filter> filters)
getApplications in interface FlowQueryServicepublic CompletableFuture<com.google.common.collect.Table<Directional<String>,Long,Double>> getApplicationSeries(Set<String> applications, long step, boolean includeOther, List<Filter> filters)
getApplicationSeries in interface FlowQueryServicepublic CompletableFuture<List<TrafficSummary<String>>> getTopNApplicationSummaries(int N, boolean includeOther, List<Filter> filters)
getTopNApplicationSummaries in interface FlowQueryServicepublic CompletableFuture<List<TrafficSummary<String>>> getApplicationSummaries(Set<String> applications, boolean includeOther, List<Filter> filters)
getApplicationSummaries in interface FlowQueryServicepublic CompletableFuture<com.google.common.collect.Table<Directional<String>,Long,Double>> getTopNApplicationSeries(int N, long step, boolean includeOther, List<Filter> filters)
getTopNApplicationSeries in interface FlowQueryServicepublic CompletableFuture<List<String>> getConversations(String locationPattern, String protocolPattern, String lowerIPPattern, String upperIPPattern, String applicationPattern, long limit, List<Filter> filters)
getConversations in interface FlowQueryServicepublic CompletableFuture<List<TrafficSummary<Conversation>>> getTopNConversationSummaries(int N, boolean includeOther, List<Filter> filters)
getTopNConversationSummaries in interface FlowQueryServicepublic CompletableFuture<List<TrafficSummary<Conversation>>> getConversationSummaries(Set<String> conversations, boolean includeOther, List<Filter> filters)
getConversationSummaries in interface FlowQueryServicepublic CompletableFuture<com.google.common.collect.Table<Directional<Conversation>,Long,Double>> getConversationSeries(Set<String> conversations, long step, boolean includeOther, List<Filter> filters)
getConversationSeries in interface FlowQueryServicepublic CompletableFuture<com.google.common.collect.Table<Directional<Conversation>,Long,Double>> getTopNConversationSeries(int N, long step, boolean includeOther, List<Filter> filters)
getTopNConversationSeries in interface FlowQueryServicepublic CompletableFuture<List<String>> getHosts(String regex, long limit, List<Filter> filters)
getHosts in interface FlowQueryServicepublic CompletableFuture<List<TrafficSummary<Host>>> getTopNHostSummaries(int N, boolean includeOther, List<Filter> filters)
getTopNHostSummaries in interface FlowQueryServicepublic CompletableFuture<List<TrafficSummary<Host>>> getHostSummaries(Set<String> hosts, boolean includeOther, List<Filter> filters)
getHostSummaries in interface FlowQueryServicepublic CompletableFuture<com.google.common.collect.Table<Directional<Host>,Long,Double>> getHostSeries(Set<String> hosts, long step, boolean includeOther, List<Filter> filters)
getHostSeries in interface FlowQueryServicepublic CompletableFuture<com.google.common.collect.Table<Directional<Host>,Long,Double>> getTopNHostSeries(int N, long step, boolean includeOther, List<Filter> filters)
getTopNHostSeries in interface FlowQueryServiceCopyright © 2022. All rights reserved.