Class CompositeNodeStoreStats
- java.lang.Object
-
- org.apache.jackrabbit.oak.composite.CompositeNodeStoreStats
-
- All Implemented Interfaces:
CompositeNodeStoreMonitor,CompositeNodeStoreStatsMBean
public class CompositeNodeStoreStats extends Object implements CompositeNodeStoreStatsMBean, CompositeNodeStoreMonitor
-
-
Field Summary
Fields Modifier and Type Field Description static StringNODE_PATH_DEPTHstatic StringNODE_SWITCH_TO_DEFAULT_MOUNTstatic StringNODE_SWITCH_TO_NON_DEFAULT_MOUNTstatic StringSTRING_CACHE_SIZE-
Fields inherited from interface org.apache.jackrabbit.oak.composite.CompositeNodeStoreMonitor
EMPTY_INSTANCE
-
Fields inherited from interface org.apache.jackrabbit.oak.composite.CompositeNodeStoreStatsMBean
TYPE
-
-
Constructor Summary
Constructors Constructor Description CompositeNodeStoreStats(StatisticsProvider statisticsProvider, String prefix, boolean countPaths)CompositeNodeStoreStats(StatisticsProvider statisticsProvider, String prefix, boolean countPaths, long nodePathCountSizeLimit, long nodePathCountValueLimit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TabularDatagetNodePathCounts()CompositeDatagetNodeSwitchToDefaultMount()CompositeDatagetNodeSwitchToNonDefaultMount()CompositeDatagetStringCacheSize()voidonAddStringCacheEntry()voidonCreateNodeObject(String path)voidonSwitchNodeToNative(Mount mount)
-
-
-
Field Detail
-
STRING_CACHE_SIZE
public static final String STRING_CACHE_SIZE
- See Also:
- Constant Field Values
-
NODE_PATH_DEPTH
public static final String NODE_PATH_DEPTH
- See Also:
- Constant Field Values
-
NODE_SWITCH_TO_DEFAULT_MOUNT
public static final String NODE_SWITCH_TO_DEFAULT_MOUNT
- See Also:
- Constant Field Values
-
NODE_SWITCH_TO_NON_DEFAULT_MOUNT
public static final String NODE_SWITCH_TO_NON_DEFAULT_MOUNT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CompositeNodeStoreStats
public CompositeNodeStoreStats(StatisticsProvider statisticsProvider, String prefix, boolean countPaths)
-
CompositeNodeStoreStats
public CompositeNodeStoreStats(StatisticsProvider statisticsProvider, String prefix, boolean countPaths, long nodePathCountSizeLimit, long nodePathCountValueLimit)
-
-
Method Detail
-
onCreateNodeObject
public void onCreateNodeObject(String path)
- Specified by:
onCreateNodeObjectin interfaceCompositeNodeStoreMonitor
-
onSwitchNodeToNative
public void onSwitchNodeToNative(Mount mount)
- Specified by:
onSwitchNodeToNativein interfaceCompositeNodeStoreMonitor
-
onAddStringCacheEntry
public void onAddStringCacheEntry()
- Specified by:
onAddStringCacheEntryin interfaceCompositeNodeStoreMonitor
-
getStringCacheSize
public CompositeData getStringCacheSize()
- Specified by:
getStringCacheSizein interfaceCompositeNodeStoreStatsMBean
-
getNodeSwitchToDefaultMount
public CompositeData getNodeSwitchToDefaultMount()
- Specified by:
getNodeSwitchToDefaultMountin interfaceCompositeNodeStoreStatsMBean
-
getNodeSwitchToNonDefaultMount
public CompositeData getNodeSwitchToNonDefaultMount()
- Specified by:
getNodeSwitchToNonDefaultMountin interfaceCompositeNodeStoreStatsMBean
-
getNodePathCounts
public TabularData getNodePathCounts() throws OpenDataException
- Specified by:
getNodePathCountsin interfaceCompositeNodeStoreStatsMBean- Throws:
OpenDataException
-
-