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()
           
 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)
           
 void useLoggers(Set<String> loggers)
           
 
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()
                               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

useLoggers

public void useLoggers(Set<String> loggers)
                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 © 2012 The Apache Software Foundation. All Rights Reserved.