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 String
NODE_PATH_DEPTH
static String
NODE_SWITCH_TO_DEFAULT_MOUNT
static String
NODE_SWITCH_TO_NON_DEFAULT_MOUNT
static String
STRING_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 TabularData
getNodePathCounts()
CompositeData
getNodeSwitchToDefaultMount()
CompositeData
getNodeSwitchToNonDefaultMount()
CompositeData
getStringCacheSize()
void
onAddStringCacheEntry()
void
onCreateNodeObject(String path)
void
onSwitchNodeToNative(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:
onCreateNodeObject
in interfaceCompositeNodeStoreMonitor
-
onSwitchNodeToNative
public void onSwitchNodeToNative(Mount mount)
- Specified by:
onSwitchNodeToNative
in interfaceCompositeNodeStoreMonitor
-
onAddStringCacheEntry
public void onAddStringCacheEntry()
- Specified by:
onAddStringCacheEntry
in interfaceCompositeNodeStoreMonitor
-
getStringCacheSize
public CompositeData getStringCacheSize()
- Specified by:
getStringCacheSize
in interfaceCompositeNodeStoreStatsMBean
-
getNodeSwitchToDefaultMount
public CompositeData getNodeSwitchToDefaultMount()
- Specified by:
getNodeSwitchToDefaultMount
in interfaceCompositeNodeStoreStatsMBean
-
getNodeSwitchToNonDefaultMount
public CompositeData getNodeSwitchToNonDefaultMount()
- Specified by:
getNodeSwitchToNonDefaultMount
in interfaceCompositeNodeStoreStatsMBean
-
getNodePathCounts
public TabularData getNodePathCounts() throws OpenDataException
- Specified by:
getNodePathCounts
in interfaceCompositeNodeStoreStatsMBean
- Throws:
OpenDataException
-
-