|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.accumulo.core.client.admin.InstanceOperations
public class InstanceOperations
Provides a class for administering the accumulo instance
Constructor Summary | |
---|---|
InstanceOperations(Instance instance,
AuthInfo credentials)
|
Method Summary | |
---|---|
java.util.List<ActiveScan> |
getActiveScans(java.lang.String tserver)
List the active scans on tablet server. |
java.util.List<java.lang.String> |
getTabletServers()
List the currently active tablet servers participating in the accumulo instance |
void |
removeProperty(java.lang.String property)
Removes a instance property from zookeeper |
void |
setProperty(java.lang.String property,
java.lang.String value)
Sets an instance property in zookeeper. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InstanceOperations(Instance instance, AuthInfo credentials)
instance
- the connection information for this instancecredentials
- the username/password for this connectionMethod Detail |
---|
public void setProperty(java.lang.String property, java.lang.String value) throws AccumuloException, AccumuloSecurityException
property
- the name of a per-table propertyvalue
- the value to set a per-table property to
AccumuloException
- if a general error occurs
AccumuloSecurityException
- if the user does not have permissionpublic void removeProperty(java.lang.String property) throws AccumuloException, AccumuloSecurityException
tableName
- the name of the tableproperty
- the name of a per-table property
AccumuloException
- if a general error occurs
AccumuloSecurityException
- if the user does not have permissionpublic java.util.List<java.lang.String> getTabletServers()
public java.util.List<ActiveScan> getActiveScans(java.lang.String tserver) throws AccumuloException, AccumuloSecurityException
tserver
-
AccumuloException
AccumuloSecurityException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |