Class InlineRecommender
- java.lang.Object
-
- org.apache.ignite.internal.cache.query.index.sorted.inline.InlineRecommender
-
public class InlineRecommender extends Object
Write to a log recommendation for inline size.
-
-
Field Summary
Fields Modifier and Type Field Description static intDFLT_THROTTLE_INLINE_SIZE_CALCULATIONDefault throttle frequency for an index row inline size calculation and logging index inline size recommendation.
-
Constructor Summary
Constructors Constructor Description InlineRecommender(GridCacheContext<?,?> cctx, SortedIndexDefinition def)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrecommend(IndexRow row, int currInlineSize)Calculate aggregate inline size for given indexes and log recommendation in case calculated size more than current inline size.
-
-
-
Field Detail
-
DFLT_THROTTLE_INLINE_SIZE_CALCULATION
public static final int DFLT_THROTTLE_INLINE_SIZE_CALCULATION
Default throttle frequency for an index row inline size calculation and logging index inline size recommendation.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
InlineRecommender
public InlineRecommender(GridCacheContext<?,?> cctx, SortedIndexDefinition def)
Constructor.
-
-
Method Detail
-
recommend
public void recommend(IndexRow row, int currInlineSize)
Calculate aggregate inline size for given indexes and log recommendation in case calculated size more than current inline size.
-
-