Interface SegmentNodeStoreStatsMBean
-
- All Known Implementing Classes:
SegmentNodeStoreStats
public interface SegmentNodeStoreStatsMBean
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CompositeData
getCommitsCount()
TabularData
getCommitsCountForOtherWriters()
TabularData
getCommitsCountPerWriterGroupLastMinute()
CompositeData
getCommitTimes()
CompositeData
getCurrentWriter()
int
getNumberOfOtherWritersToDetail()
TabularData
getQueuedWriters()
CompositeData
getQueuingCommitsCount()
CompositeData
getQueuingTimes()
String[]
getWriterGroupsForLastMinuteCounts()
boolean
isCollectStackTraces()
void
setCollectStackTraces(boolean flag)
Turns on/off, depending on the value offlag
, the collection of stack traces for each writer.void
setNumberOfOtherWritersToDetail(int otherWritersLimit)
Modifies the maximum number of writers outside already defined groups to be recorded.void
setWriterGroupsForLastMinuteCounts(String[] writerGroups)
Modifies the groups used for grouping writers.
-
-
-
Field Detail
-
TYPE
static final String TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCommitsCount
CompositeData getCommitsCount()
- Returns:
- time series of the number of commits
-
getQueuingCommitsCount
CompositeData getQueuingCommitsCount()
- Returns:
- time series of the number of commits queuing
-
getCommitTimes
CompositeData getCommitTimes()
- Returns:
- time series of the commit times
-
getQueuingTimes
CompositeData getQueuingTimes()
- Returns:
- time series of the queuing times
-
getCommitsCountPerWriterGroupLastMinute
TabularData getCommitsCountPerWriterGroupLastMinute() throws OpenDataException
- Returns:
- tabular data of the form <commits,writerGroup> collected in the last minute
- Throws:
OpenDataException
- if data is not available
-
getCommitsCountForOtherWriters
TabularData getCommitsCountForOtherWriters() throws OpenDataException
- Returns:
- tabular data of the form <commits,writer> for writers not included in groups
- Throws:
OpenDataException
- if data is not available
-
getQueuedWriters
TabularData getQueuedWriters() throws OpenDataException
- Returns:
- tabular data of the form <writer, writerDetails, queued, dequed, applied> for each writer currently in the queue
- Throws:
OpenDataException
- if data is not available
-
getCurrentWriter
CompositeData getCurrentWriter() throws OpenDataException
- Returns:
- data of the form <writer, writerDetails, queued, dequed, applied>
for the writer currently in committing. @
null
if none. - Throws:
OpenDataException
- if data is not available
-
setCollectStackTraces
void setCollectStackTraces(boolean flag)
Turns on/off, depending on the value offlag
, the collection of stack traces for each writer.- Parameters:
flag
-boolean
indicating whether to collect or not
-
isCollectStackTraces
boolean isCollectStackTraces()
- Returns:
- collectStackTraces status flag
-
setNumberOfOtherWritersToDetail
void setNumberOfOtherWritersToDetail(int otherWritersLimit)
Modifies the maximum number of writers outside already defined groups to be recorded. Changing the default value will reset the overall collection process.- Parameters:
otherWritersLimit
- the new size
-
getNumberOfOtherWritersToDetail
int getNumberOfOtherWritersToDetail()
- Returns:
- maximum number of writers outside already defined groups to be recorded
-
getWriterGroupsForLastMinuteCounts
String[] getWriterGroupsForLastMinuteCounts()
- Returns:
- current groups used for grouping writers.
-
setWriterGroupsForLastMinuteCounts
void setWriterGroupsForLastMinuteCounts(String[] writerGroups)
Modifies the groups used for grouping writers. Changing the default value will reset the overall collection process.- Parameters:
writerGroups
- groups defined by regexps
-
-