Package org.apache.cassandra.service
Interface ActiveRepairServiceMBean
-
- All Known Implementing Classes:
ActiveRepairService
public interface ActiveRepairServiceMBean
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
MBEAN_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.util.List<javax.management.openmbean.CompositeData>
cleanupPending(java.util.List<java.lang.String> schemaArgs, java.lang.String rangeString, boolean force)
void
failSession(java.lang.String session, boolean force)
int
getConcurrentMerkleTreeRequests()
int
getPaxosRepairParallelism()
java.util.List<javax.management.openmbean.CompositeData>
getPendingStats(java.util.List<java.lang.String> schemaArgs, java.lang.String rangeString)
int
getRepairPendingCompactionRejectThreshold()
int
getRepairSessionSpaceInMebibytes()
Deprecated.use getRepairSessionSpaceInMiB instead.int
getRepairSessionSpaceInMegabytes()
Deprecated.See CASSANDRA-15234int
getRepairSessionSpaceInMiB()
java.util.List<javax.management.openmbean.CompositeData>
getRepairStats(java.util.List<java.lang.String> schemaArgs, java.lang.String rangeString)
java.util.List<java.util.Map<java.lang.String,java.lang.String>>
getSessions(boolean all, java.lang.String rangesStr)
boolean
getUseOffheapMerkleTrees()
int
parentRepairSessionsCount()
Each ongoing repair (incremental and non-incremental) is represented by aActiveRepairService.ParentRepairSession
entry in theActiveRepairService
cache.void
setConcurrentMerkleTreeRequests(int value)
void
setPaxosRepairParallelism(int v)
void
setRepairPendingCompactionRejectThreshold(int value)
void
setRepairSessionSpaceInMebibytes(int sizeInMebibytes)
Deprecated.use setRepairSessionSpaceInMiB instead as it will not throw non-standard exceptions.void
setRepairSessionSpaceInMegabytes(int sizeInMegabytes)
Deprecated.See CASSANDRA-15234void
setRepairSessionSpaceInMiB(int sizeInMebibytes)
void
setUseOffheapMerkleTrees(boolean value)
-
-
-
Field Detail
-
MBEAN_NAME
static final java.lang.String MBEAN_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getSessions
java.util.List<java.util.Map<java.lang.String,java.lang.String>> getSessions(boolean all, java.lang.String rangesStr)
-
failSession
void failSession(java.lang.String session, boolean force)
-
setRepairSessionSpaceInMegabytes
@Deprecated(since="4.1") void setRepairSessionSpaceInMegabytes(int sizeInMegabytes)
Deprecated.See CASSANDRA-15234
-
getRepairSessionSpaceInMegabytes
@Deprecated(since="4.1") int getRepairSessionSpaceInMegabytes()
Deprecated.See CASSANDRA-15234
-
setRepairSessionSpaceInMebibytes
@Deprecated(since="4.1") void setRepairSessionSpaceInMebibytes(int sizeInMebibytes)
Deprecated.use setRepairSessionSpaceInMiB instead as it will not throw non-standard exceptions. See CASSANDRA-17668
-
getRepairSessionSpaceInMebibytes
@Deprecated(since="4.1") int 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
java.util.List<javax.management.openmbean.CompositeData> getRepairStats(java.util.List<java.lang.String> schemaArgs, java.lang.String rangeString)
-
getPendingStats
java.util.List<javax.management.openmbean.CompositeData> getPendingStats(java.util.List<java.lang.String> schemaArgs, java.lang.String rangeString)
-
cleanupPending
java.util.List<javax.management.openmbean.CompositeData> cleanupPending(java.util.List<java.lang.String> schemaArgs, java.lang.String rangeString, boolean force)
-
parentRepairSessionsCount
int parentRepairSessionsCount()
Each ongoing repair (incremental and non-incremental) is represented by aActiveRepairService.ParentRepairSession
entry in theActiveRepairService
cache. Returns the current number of ongoing repairs (the current number of cached entries).- Returns:
- current size of the internal cache holding
ActiveRepairService.ParentRepairSession
instances
-
getPaxosRepairParallelism
int getPaxosRepairParallelism()
-
setPaxosRepairParallelism
void setPaxosRepairParallelism(int v)
-
-