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>
CLIENT
static ThriftProcessorTypes<TabletClientService.Client>
TABLET_SERVER
static ThriftProcessorTypes<TabletScanClientService.Client>
TABLET_SERVER_SCAN
-
Fields inherited from class org.apache.accumulo.core.rpc.clients.ThriftClientTypes
TABLET_SCAN
-
-
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.TMultiplexedProcessor
getCompactorTProcessor(CompactorService.Iface serviceHandler, ServerContext context)
static org.apache.thrift.TMultiplexedProcessor
getCoordinatorTProcessor(CompactionCoordinatorService.Iface serviceHandler, ServerContext context)
static org.apache.thrift.TMultiplexedProcessor
getGcTProcessor(GCMonitorService.Iface serviceHandler, ServerContext context)
static org.apache.thrift.TMultiplexedProcessor
getManagerTProcessor(FateService.Iface fateServiceHandler, ManagerClientService.Iface managerServiceHandler, ServerContext context)
static org.apache.thrift.TMultiplexedProcessor
getReplicationClientTProcessor(ReplicationServicer.Iface serviceHandler, ServerContext context)
static org.apache.thrift.TMultiplexedProcessor
getReplicationCoordinatorTProcessor(ReplicationCoordinator.Iface serviceHandler, ServerContext context)
static org.apache.thrift.TMultiplexedProcessor
getScanServerTProcessor(TabletScanClientService.Iface tserverHandler, ServerContext context)
static org.apache.thrift.TMultiplexedProcessor
getTabletServerTProcessor(ClientServiceHandler clientHandler, TabletClientService.Iface tserverHandler, TabletScanClientService.Iface tserverScanHandler, 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<TabletClientService.Client> TABLET_SERVER
-
TABLET_SERVER_SCAN
public static final ThriftProcessorTypes<TabletScanClientService.Client> TABLET_SERVER_SCAN
-
-
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)
-
getReplicationCoordinatorTProcessor
public static org.apache.thrift.TMultiplexedProcessor getReplicationCoordinatorTProcessor(ReplicationCoordinator.Iface serviceHandler, ServerContext context)
-
getReplicationClientTProcessor
public static org.apache.thrift.TMultiplexedProcessor getReplicationClientTProcessor(ReplicationServicer.Iface serviceHandler, 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, TabletClientService.Iface tserverHandler, TabletScanClientService.Iface tserverScanHandler, ServerContext context)
-
-