Class RequestTraceStoreFactory
- java.lang.Object
-
- fish.payara.nucleus.requesttracing.store.RequestTraceStoreFactory
-
public class RequestTraceStoreFactory extends Object
A factory for generating aRequestTraceStoreInterface
.
-
-
Constructor Summary
Constructors Constructor Description RequestTraceStoreFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RequestTraceStoreInterface
getStore(boolean reservoirSamplingEnabled, boolean historic)
Generates a request trace store.
-
-
-
Method Detail
-
getStore
public static RequestTraceStoreInterface getStore(boolean reservoirSamplingEnabled, boolean historic)
Generates a request trace store.- Parameters:
reservoirSamplingEnabled
- whether the store should remove items based on a reservoir sampling algorithm.historic
- whether the store is a historic store or not.- Returns:
- a request trace store.
-
-