org.apache.accumulo.server.master
Class LiveTServerSet.TServerConnection

java.lang.Object
  extended by org.apache.accumulo.server.master.LiveTServerSet.TServerConnection
Enclosing class:
LiveTServerSet

public class LiveTServerSet.TServerConnection
extends Object


Constructor Summary
LiveTServerSet.TServerConnection(InetSocketAddress addr)
           
 
Method Summary
 void assignTablet(ZooLock lock, KeyExtent extent)
           
 void chop(ZooLock lock, KeyExtent extent)
           
 void compact(ZooLock lock, String tableId, byte[] startRow, byte[] endRow)
           
 void fastHalt(ZooLock lock)
           
 void flush(ZooLock lock, String tableId, byte[] startRow, byte[] endRow)
           
 void flushTablet(ZooLock lock, KeyExtent extent)
           
 TabletServerStatus getTableMap(boolean usePooledConnection)
           
 void halt(ZooLock lock)
           
 boolean isActive(long tid)
           
 void splitTablet(ZooLock lock, KeyExtent extent, org.apache.hadoop.io.Text splitPoint)
           
 void unloadTablet(ZooLock lock, KeyExtent extent, boolean save)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LiveTServerSet.TServerConnection

public LiveTServerSet.TServerConnection(InetSocketAddress addr)
                                 throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException
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,
                         boolean save)
                  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.TException
ThriftSecurityException

halt

public void halt(ZooLock lock)
          throws org.apache.thrift.TException,
                 ThriftSecurityException
Throws:
org.apache.thrift.TException
ThriftSecurityException

fastHalt

public void fastHalt(ZooLock lock)
              throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

flush

public void flush(ZooLock lock,
                  String 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(ZooLock lock,
                        KeyExtent extent,
                        org.apache.hadoop.io.Text splitPoint)
                 throws org.apache.thrift.TException,
                        ThriftSecurityException,
                        NotServingTabletException
Throws:
org.apache.thrift.TException
ThriftSecurityException
NotServingTabletException

flushTablet

public void flushTablet(ZooLock lock,
                        KeyExtent extent)
                 throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException

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


Copyright © 2013 Apache Accumulo Project. All Rights Reserved.