Package org.apache.accumulo.test.rpc
Class SimpleThriftServiceRunner
- java.lang.Object
-
- org.apache.accumulo.test.rpc.SimpleThriftServiceRunner
-
public class SimpleThriftServiceRunner extends Object
A utility for starting a simple thrift server, and providing a corresponding client for in-memory testing of thrift behavior
-
-
Constructor Summary
Constructors Constructor Description SimpleThriftServiceRunner(String threadName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SimpleThriftService.Client
client()
SimpleThriftServiceHandler
handler()
void
startService()
void
stopService()
-
-
-
Constructor Detail
-
SimpleThriftServiceRunner
public SimpleThriftServiceRunner(String threadName)
-
-
Method Detail
-
startService
public void startService()
-
handler
public SimpleThriftServiceHandler handler()
-
client
public SimpleThriftService.Client client()
-
stopService
public void stopService()
-
-