List of usage examples for org.apache.thrift.server TServerEventHandler interface-usage
From source file com.bfd.harpc.server.thrift.ThriftEventHandler.java
/**
* Thrift?
* <p>
*
* @author : dsfan
* @date : 2015-6-8
From source file com.netflix.metacat.thrift.CatalogThriftEventHandler.java
/** * Server event handler. */ public class CatalogThriftEventHandler implements TServerEventHandler { /**
From source file com.vmware.photon.controller.common.thrift.ThriftEventHandler.java
/**
* Event handler for managing the thrift server lifecycle.
* <p/>
* It tries to join the service cluster (node) when the thrift server is started. Once joined it will fire the
* {@link ServiceNodeEventHandler#onJoin()} on the registered handler.
* <p/>
From source file net.phoenix.thrift.server.ServerEventHandlerChain.java
/** * * @author Shamphone Lee<shamphone@gmail.com> * */ public class ServerEventHandlerChain implements TServerEventHandler {
From source file org.apache.hadoop.hive.common.metrics.HiveThriftMetricsEventHandler.java
/** * Event handler for thrift to maintain metrics about connections/requests etc. */ public class HiveThriftMetricsEventHandler implements TServerEventHandler { private static final Log LOG = LogFactory.getLog(HiveThriftMetricsEventHandler.class);
From source file org.apache.hadoop.hive.common.thrift.HiveThriftChainedEventHandler.java
public class HiveThriftChainedEventHandler implements TServerEventHandler { protected List<TServerEventHandler> eventHandlers = new ArrayList<TServerEventHandler>(); public HiveThriftChainedEventHandler() { }
From source file org.apache.hive.service.cli.thrift.DisconnectCleanupEventHandler.java
/** * This Event Handler takes care of cleaning up resources due to disconnected sessions. */ public class DisconnectCleanupEventHandler implements TServerEventHandler { private static final Log LOG = LogFactory.getLog(DisconnectCleanupEventHandler.class);
From source file org.apache.hive.service.cli.thrift.RateLimitingEventHandler.java
/** * Event handler to calculate number of active connections of thrift server for rate limiting */ public class RateLimitingEventHandler implements TServerEventHandler { protected final ResourceManager rateLimiter;
From source file org.raspinloop.fmi.launcher.fmi.FMIListenServerHandler.java
public class FMIListenServerHandler implements TServerEventHandler { private TServer server; private IProxyMonitor monitor; private Proxy proxy; private Runner runner;