Package org.apache.cassandra.service
Interface ActiveRepairServiceMBean
- All Known Implementing Classes:
ActiveRepairService
public interface ActiveRepairServiceMBean
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncleanupPending(List<String> schemaArgs, String rangeString, boolean force) voidfailSession(String session, boolean force) intdoubleintgetPendingStats(List<String> schemaArgs, String rangeString) intintDeprecated.use getRepairSessionSpaceInMiB instead.intDeprecated.See CASSANDRA-15234intgetRepairStats(List<String> schemaArgs, String rangeString) getSessions(boolean all, String rangesStr) booleanintEach ongoing repair (incremental and non-incremental) is represented by aActiveRepairService.ParentRepairSessionentry in theActiveRepairServicecache.voidsetConcurrentMerkleTreeRequests(int value) voidsetIncrementalRepairDiskHeadroomRejectRatio(double value) voidsetPaxosRepairParallelism(int v) voidsetRepairPendingCompactionRejectThreshold(int value) voidsetRepairSessionSpaceInMebibytes(int sizeInMebibytes) Deprecated.use setRepairSessionSpaceInMiB instead as it will not throw non-standard exceptions.voidsetRepairSessionSpaceInMegabytes(int sizeInMegabytes) Deprecated.See CASSANDRA-15234voidsetRepairSessionSpaceInMiB(int sizeInMebibytes) voidsetUseOffheapMerkleTrees(boolean value)
-
Field Details
-
MBEAN_NAME
- See Also:
-
-
Method Details
-
getSessions
-
failSession
-
setRepairSessionSpaceInMegabytes
Deprecated.See CASSANDRA-15234 -
getRepairSessionSpaceInMegabytes
Deprecated.See CASSANDRA-15234 -
setRepairSessionSpaceInMebibytes
Deprecated.use setRepairSessionSpaceInMiB instead as it will not throw non-standard exceptions. See CASSANDRA-17668 -
getRepairSessionSpaceInMebibytes
Deprecated.use getRepairSessionSpaceInMiB instead. See CASSANDRA-17668 -
setRepairSessionSpaceInMiB
void setRepairSessionSpaceInMiB(int sizeInMebibytes) -
getRepairSessionSpaceInMiB
int getRepairSessionSpaceInMiB() -
getConcurrentMerkleTreeRequests
int getConcurrentMerkleTreeRequests() -
setConcurrentMerkleTreeRequests
void setConcurrentMerkleTreeRequests(int value) -
getUseOffheapMerkleTrees
boolean getUseOffheapMerkleTrees() -
setUseOffheapMerkleTrees
void setUseOffheapMerkleTrees(boolean value) -
getRepairPendingCompactionRejectThreshold
int getRepairPendingCompactionRejectThreshold() -
setRepairPendingCompactionRejectThreshold
void setRepairPendingCompactionRejectThreshold(int value) -
getRepairStats
-
getPendingStats
-
cleanupPending
-
parentRepairSessionsCount
int parentRepairSessionsCount()Each ongoing repair (incremental and non-incremental) is represented by aActiveRepairService.ParentRepairSessionentry in theActiveRepairServicecache. Returns the current number of ongoing repairs (the current number of cached entries).- Returns:
- current size of the internal cache holding
ActiveRepairService.ParentRepairSessioninstances
-
getPaxosRepairParallelism
int getPaxosRepairParallelism() -
setPaxosRepairParallelism
void setPaxosRepairParallelism(int v) -
getIncrementalRepairDiskHeadroomRejectRatio
double getIncrementalRepairDiskHeadroomRejectRatio() -
setIncrementalRepairDiskHeadroomRejectRatio
void setIncrementalRepairDiskHeadroomRejectRatio(double value)
-