|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StorageServiceMBean
Method Summary | |
---|---|
void |
clearSnapshot()
Remove all the existing snapshots. |
void |
decommission()
transfer this node's data to other machines and remove it from service. |
void |
forceTableCleanup()
Trigger a cleanup of keys on all tables. |
void |
forceTableCompaction()
Forces major compaction (all sstable files compacted) |
void |
forceTableFlush(java.lang.String tableName,
java.lang.String... columnFamilies)
Flush all memtables for the given column families, or all columnfamilies for the given table if none are explicitly listed. |
void |
forceTableRepair(java.lang.String tableName,
java.lang.String... columnFamilies)
Triggers proactive repair for given column families, or all columnfamilies for the given table if none are explicitly listed. |
int |
getCurrentGenerationNumber()
Return the generation value for this node. |
java.util.Set<java.lang.String> |
getLiveNodes()
Retrieve the list of live nodes in the cluster, where "liveness" is determined by the failure detector of the node being queried. |
java.util.Map<java.lang.String,java.lang.String> |
getLoadMap()
Human-readable load value. |
java.lang.String |
getLoadString()
Human-readable load value |
java.util.Map<Range,java.util.List<java.lang.String>> |
getRangeToEndPointMap()
Retrieve a map of range to end points that describe the ring topology of a Cassandra cluster. |
java.lang.String |
getToken()
Fetch a string representation of the token. |
java.util.Set<java.lang.String> |
getUnreachableNodes()
Retrieve the list of unreachable nodes in the cluster, as determined by this node's failure detector. |
void |
loadBalance()
This node will unload its data onto its neighbors, and bootstrap to share the range of the most-loaded node in the ring. |
void |
move(java.lang.String newToken)
|
void |
removeToken(java.lang.String token)
removeToken removes token (and all data associated with enpoint that had it) from the ring |
void |
setLog4jLevel(java.lang.String classQualifier,
java.lang.String level)
set the logging level at runtime |
void |
takeAllSnapshot(java.lang.String tag)
Takes a snapshot for every table. |
void |
takeSnapshot(java.lang.String tableName,
java.lang.String tag)
Takes the snapshot for a given table. |
Method Detail |
---|
java.util.Set<java.lang.String> getLiveNodes()
java.util.Set<java.lang.String> getUnreachableNodes()
java.lang.String getToken()
java.util.Map<Range,java.util.List<java.lang.String>> getRangeToEndPointMap()
java.lang.String getLoadString()
java.util.Map<java.lang.String,java.lang.String> getLoadMap()
int getCurrentGenerationNumber()
void forceTableCompaction() throws java.io.IOException
java.io.IOException
void forceTableCleanup() throws java.io.IOException
java.io.IOException
void takeSnapshot(java.lang.String tableName, java.lang.String tag) throws java.io.IOException
tableName
- the name of the table.tag
- the tag given to the snapshot (null is permissible)
java.io.IOException
void takeAllSnapshot(java.lang.String tag) throws java.io.IOException
tag
- the tag given to the snapshot (null is permissible)
java.io.IOException
void clearSnapshot() throws java.io.IOException
java.io.IOException
void forceTableFlush(java.lang.String tableName, java.lang.String... columnFamilies) throws java.io.IOException
tableName
- columnFamilies
-
java.io.IOException
void forceTableRepair(java.lang.String tableName, java.lang.String... columnFamilies) throws java.io.IOException
tableName
- columnFamilies
-
java.io.IOException
void decommission() throws java.lang.InterruptedException
java.lang.InterruptedException
void move(java.lang.String newToken) throws java.io.IOException, java.lang.InterruptedException
newToken
- token to move this node to.
This node will unload its data onto its neighbors, and bootstrap to the new token.
java.io.IOException
java.lang.InterruptedException
void loadBalance() throws java.io.IOException, java.lang.InterruptedException
java.io.IOException
java.lang.InterruptedException
void removeToken(java.lang.String token)
void setLog4jLevel(java.lang.String classQualifier, java.lang.String level)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |