Class LiveTServerSet.TServerConnection
- java.lang.Object
-
- org.apache.accumulo.server.manager.LiveTServerSet.TServerConnection
-
- Enclosing class:
- LiveTServerSet
public class LiveTServerSet.TServerConnection extends Object
-
-
Constructor Summary
Constructors Constructor Description TServerConnection(com.google.common.net.HostAndPort addr)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidassignTablet(ServiceLock lock, KeyExtent extent)voidchop(ServiceLock lock, KeyExtent extent)voidcompact(ServiceLock lock, String tableId, byte[] startRow, byte[] endRow)voidfastHalt(ServiceLock lock)voidflush(ServiceLock lock, TableId tableId, byte[] startRow, byte[] endRow)com.google.common.net.HostAndPortgetAddress()TabletServerStatusgetTableMap(boolean usePooledConnection)voidhalt(ServiceLock lock)booleanisActive(long tid)voidsplitTablet(KeyExtent extent, org.apache.hadoop.io.Text splitPoint)voidunloadTablet(ServiceLock lock, KeyExtent extent, TUnloadTabletGoal goal, long requestTime)
-
-
-
Method Detail
-
getAddress
public com.google.common.net.HostAndPort getAddress()
-
assignTablet
public void assignTablet(ServiceLock lock, KeyExtent extent) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
unloadTablet
public void unloadTablet(ServiceLock lock, KeyExtent extent, TUnloadTabletGoal goal, long requestTime) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
getTableMap
public TabletServerStatus getTableMap(boolean usePooledConnection) throws org.apache.thrift.TException, ThriftSecurityException
- Throws:
org.apache.thrift.TExceptionThriftSecurityException
-
halt
public void halt(ServiceLock lock) throws org.apache.thrift.TException, ThriftSecurityException
- Throws:
org.apache.thrift.TExceptionThriftSecurityException
-
fastHalt
public void fastHalt(ServiceLock lock) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
flush
public void flush(ServiceLock lock, TableId tableId, byte[] startRow, byte[] endRow) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
chop
public void chop(ServiceLock lock, KeyExtent extent) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
splitTablet
public void splitTablet(KeyExtent extent, org.apache.hadoop.io.Text splitPoint) throws org.apache.thrift.TException, ThriftSecurityException, NotServingTabletException
- Throws:
org.apache.thrift.TExceptionThriftSecurityExceptionNotServingTabletException
-
compact
public void compact(ServiceLock lock, String tableId, byte[] startRow, byte[] endRow) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
isActive
public boolean isActive(long tid) throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
-