Class LiveTServerSet.TServerConnection
- java.lang.Object
-
- org.apache.accumulo.server.master.LiveTServerSet.TServerConnection
-
- Enclosing class:
- LiveTServerSet
public class LiveTServerSet.TServerConnection extends Object
-
-
Constructor Summary
Constructors Constructor Description TServerConnection(HostAndPort addr)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidassignTablet(ZooLock lock, KeyExtent extent)voidchop(ZooLock lock, KeyExtent extent)voidcompact(ZooLock lock, String tableId, byte[] startRow, byte[] endRow)voidfastHalt(ZooLock lock)voidflush(ZooLock lock, TableId tableId, byte[] startRow, byte[] endRow)TabletServerStatusgetTableMap(boolean usePooledConnection)voidhalt(ZooLock lock)booleanisActive(long tid)voidsplitTablet(KeyExtent extent, org.apache.hadoop.io.Text splitPoint)voidunloadTablet(ZooLock lock, KeyExtent extent, TUnloadTabletGoal goal, long requestTime)
-
-
-
Constructor Detail
-
TServerConnection
public TServerConnection(HostAndPort addr)
-
-
Method Detail
-
assignTablet
public void assignTablet(ZooLock lock, KeyExtent extent) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
unloadTablet
public void unloadTablet(ZooLock 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(ZooLock lock) throws org.apache.thrift.TException, ThriftSecurityException
- Throws:
org.apache.thrift.TExceptionThriftSecurityException
-
fastHalt
public void fastHalt(ZooLock lock) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
flush
public void flush(ZooLock lock, TableId tableId, byte[] startRow, byte[] endRow) throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
chop
public void chop(ZooLock 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(ZooLock 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
-
-