Class CompositeNodeStoreStats
- java.lang.Object
-
- org.apache.jackrabbit.oak.composite.CompositeNodeStoreStats
-
- All Implemented Interfaces:
CompositeNodeStoreMonitor
,CompositeNodeStoreStatsMBean
public class CompositeNodeStoreStats extends java.lang.Object implements CompositeNodeStoreStatsMBean, CompositeNodeStoreMonitor
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
NODE_PATH_DEPTH
static java.lang.String
NODE_SWITCH_TO_DEFAULT_MOUNT
static java.lang.String
NODE_SWITCH_TO_NON_DEFAULT_MOUNT
static java.lang.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, java.lang.String prefix, boolean countPaths)
CompositeNodeStoreStats(StatisticsProvider statisticsProvider, java.lang.String prefix, boolean countPaths, long nodePathCountSizeLimit, long nodePathCountValueLimit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.management.openmbean.TabularData
getNodePathCounts()
javax.management.openmbean.CompositeData
getNodeSwitchToDefaultMount()
javax.management.openmbean.CompositeData
getNodeSwitchToNonDefaultMount()
javax.management.openmbean.CompositeData
getStringCacheSize()
void
onAddStringCacheEntry()
void
onCreateNodeObject(java.lang.String path)
void
onSwitchNodeToNative(Mount mount)
-
-
-
Field Detail
-
STRING_CACHE_SIZE
public static final java.lang.String STRING_CACHE_SIZE
- See Also:
- Constant Field Values
-
NODE_PATH_DEPTH
public static final java.lang.String NODE_PATH_DEPTH
- See Also:
- Constant Field Values
-
NODE_SWITCH_TO_DEFAULT_MOUNT
public static final java.lang.String NODE_SWITCH_TO_DEFAULT_MOUNT
- See Also:
- Constant Field Values
-
NODE_SWITCH_TO_NON_DEFAULT_MOUNT
public static final java.lang.String NODE_SWITCH_TO_NON_DEFAULT_MOUNT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CompositeNodeStoreStats
public CompositeNodeStoreStats(StatisticsProvider statisticsProvider, java.lang.String prefix, boolean countPaths)
-
CompositeNodeStoreStats
public CompositeNodeStoreStats(StatisticsProvider statisticsProvider, java.lang.String prefix, boolean countPaths, long nodePathCountSizeLimit, long nodePathCountValueLimit)
-
-
Method Detail
-
onCreateNodeObject
public void onCreateNodeObject(java.lang.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 javax.management.openmbean.CompositeData getStringCacheSize()
- Specified by:
getStringCacheSize
in interfaceCompositeNodeStoreStatsMBean
-
getNodeSwitchToDefaultMount
public javax.management.openmbean.CompositeData getNodeSwitchToDefaultMount()
- Specified by:
getNodeSwitchToDefaultMount
in interfaceCompositeNodeStoreStatsMBean
-
getNodeSwitchToNonDefaultMount
public javax.management.openmbean.CompositeData getNodeSwitchToNonDefaultMount()
- Specified by:
getNodeSwitchToNonDefaultMount
in interfaceCompositeNodeStoreStatsMBean
-
getNodePathCounts
public javax.management.openmbean.TabularData getNodePathCounts() throws javax.management.openmbean.OpenDataException
- Specified by:
getNodePathCounts
in interfaceCompositeNodeStoreStatsMBean
- Throws:
javax.management.openmbean.OpenDataException
-
-