|
||||||||||
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 |
forceHandoff(java.util.List<java.lang.String> directories,
java.lang.String target)
Stream the files in the bootstrap directory over to the node being bootstrapped. |
void |
forceTableCleanup()
|
void |
forceTableCompaction()
|
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. |
int |
getCurrentGenerationNumber()
|
java.lang.String |
getLiveNodes()
|
java.lang.String |
getLoadInfo()
|
java.util.Map<Range,java.util.List<EndPoint>> |
getRangeToEndPointMap()
|
java.lang.String |
getToken()
|
java.lang.String |
getUnreachableNodes()
|
void |
loadAll(java.lang.String nodes)
This method will cause the local node initiate the bootstrap process for all the nodes specified in the string parameter passed in. |
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.lang.String getLiveNodes()
java.lang.String getUnreachableNodes()
java.lang.String getToken()
java.util.Map<Range,java.util.List<EndPoint>> getRangeToEndPointMap()
java.lang.String getLoadInfo()
int getCurrentGenerationNumber()
void forceTableCompaction() throws java.io.IOException
java.io.IOException
void loadAll(java.lang.String nodes) throws java.net.UnknownHostException
nodes
- colon delimited list of endpoints that need
to be bootstrapped
java.net.UnknownHostException
void forceTableCleanup() throws java.io.IOException
java.io.IOException
void forceHandoff(java.util.List<java.lang.String> directories, java.lang.String target) throws java.io.IOException
directories
- colon separated list of directories from where
files need to be picked up.target
- endpoint receiving data.
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 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 |