Package org.apache.accumulo.server.rpc
Class ThriftProcessorTypes<C extends org.apache.thrift.TServiceClient>
- java.lang.Object
-
- org.apache.accumulo.core.rpc.clients.ThriftClientTypes<C>
-
- org.apache.accumulo.server.rpc.ThriftProcessorTypes<C>
-
public class ThriftProcessorTypes<C extends org.apache.thrift.TServiceClient> extends ThriftClientTypes<C>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.accumulo.core.rpc.clients.ThriftClientTypes
ThriftClientTypes.Exec<R extends Object,C extends Object>, ThriftClientTypes.ExecVoid<C extends Object>
-
-
Field Summary
Fields Modifier and Type Field Description static ThriftProcessorTypes<ClientService.Client>CLIENTstatic ThriftProcessorTypes<TabletIngestClientService.Client>TABLET_INGESTstatic ThriftProcessorTypes<TabletManagementClientService.Client>TABLET_MGMTstatic ThriftProcessorTypes<TabletScanClientService.Client>TABLET_SCANstatic ThriftProcessorTypes<TabletServerClientService.Client>TABLET_SERVER
-
Constructor Summary
Constructors Constructor Description ThriftProcessorTypes(ThriftClientTypes<C> type)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.apache.thrift.TMultiplexedProcessorgetCompactorTProcessor(CompactorService.Iface serviceHandler, ServerContext context)static org.apache.thrift.TMultiplexedProcessorgetCoordinatorTProcessor(CompactionCoordinatorService.Iface serviceHandler, ServerContext context)static org.apache.thrift.TMultiplexedProcessorgetGcTProcessor(GCMonitorService.Iface serviceHandler, ServerContext context)static org.apache.thrift.TMultiplexedProcessorgetManagerTProcessor(FateService.Iface fateServiceHandler, ManagerClientService.Iface managerServiceHandler, ServerContext context)static org.apache.thrift.TMultiplexedProcessorgetScanServerTProcessor(TabletScanClientService.Iface tserverHandler, ServerContext context)static org.apache.thrift.TMultiplexedProcessorgetTabletServerTProcessor(ClientServiceHandler clientHandler, TabletServerClientService.Iface tserverHandler, TabletScanClientService.Iface tserverScanHandler, TabletIngestClientService.Iface tserverIngestHandler, TabletManagementClientService.Iface tserverMgmtHandler, ServerContext context)<I,H extends I,P extends org.apache.thrift.TBaseProcessor<?>>
org.apache.thrift.TProcessorgetTProcessor(Class<P> processorClass, Class<I> interfaceClass, H serviceHandler, ServerContext context)-
Methods inherited from class org.apache.accumulo.core.rpc.clients.ThriftClientTypes
execute, executeVoid, getClient, getClientFactory, getConnection, getConnectionWithRetry, getServiceName
-
-
-
-
Field Detail
-
CLIENT
public static final ThriftProcessorTypes<ClientService.Client> CLIENT
-
TABLET_SERVER
public static final ThriftProcessorTypes<TabletServerClientService.Client> TABLET_SERVER
-
TABLET_SCAN
public static final ThriftProcessorTypes<TabletScanClientService.Client> TABLET_SCAN
-
TABLET_INGEST
public static final ThriftProcessorTypes<TabletIngestClientService.Client> TABLET_INGEST
-
TABLET_MGMT
public static final ThriftProcessorTypes<TabletManagementClientService.Client> TABLET_MGMT
-
-
Constructor Detail
-
ThriftProcessorTypes
public ThriftProcessorTypes(ThriftClientTypes<C> type)
-
-
Method Detail
-
getTProcessor
public <I,H extends I,P extends org.apache.thrift.TBaseProcessor<?>> org.apache.thrift.TProcessor getTProcessor(Class<P> processorClass, Class<I> interfaceClass, H serviceHandler, ServerContext context)
-
getCompactorTProcessor
public static org.apache.thrift.TMultiplexedProcessor getCompactorTProcessor(CompactorService.Iface serviceHandler, ServerContext context)
-
getCoordinatorTProcessor
public static org.apache.thrift.TMultiplexedProcessor getCoordinatorTProcessor(CompactionCoordinatorService.Iface serviceHandler, ServerContext context)
-
getGcTProcessor
public static org.apache.thrift.TMultiplexedProcessor getGcTProcessor(GCMonitorService.Iface serviceHandler, ServerContext context)
-
getManagerTProcessor
public static org.apache.thrift.TMultiplexedProcessor getManagerTProcessor(FateService.Iface fateServiceHandler, ManagerClientService.Iface managerServiceHandler, ServerContext context)
-
getScanServerTProcessor
public static org.apache.thrift.TMultiplexedProcessor getScanServerTProcessor(TabletScanClientService.Iface tserverHandler, ServerContext context)
-
getTabletServerTProcessor
public static org.apache.thrift.TMultiplexedProcessor getTabletServerTProcessor(ClientServiceHandler clientHandler, TabletServerClientService.Iface tserverHandler, TabletScanClientService.Iface tserverScanHandler, TabletIngestClientService.Iface tserverIngestHandler, TabletManagementClientService.Iface tserverMgmtHandler, ServerContext context)
-
-