List of usage examples for org.apache.thrift TProcessor interface-usage
From source file com.alibaba.dubbo.rpc.protocol.thrift.ext.MultiServiceProcessor.java
/** * @author <a href="mailto:gang.lvg@alibaba-inc.com">kimi</a> */ public class MultiServiceProcessor implements TProcessor { private static final Logger logger = LoggerFactory.getLogger(MultiServiceProcessor.class);
From source file com.bfd.harpc.server.thrift.TProcessorFilter.java
/**
* TProcessor()
* <p>
*
* @author : dsfan
* @date : 2015-7-3
From source file com.cloudera.llama.server.AuthzTProcessor.java
public class AuthzTProcessor implements TProcessor { private static final Logger LOG = LoggerFactory.getLogger(AuthzTProcessor.class); private final Groups groupsMapping; private final TProcessor tProcessor; private final String userType;
From source file com.cloudera.llama.server.ClientPrincipalTProcessor.java
public class ClientPrincipalTProcessor implements TProcessor { private final TProcessor tProcessor; public ClientPrincipalTProcessor(TProcessor tProcessor) { this.tProcessor = tProcessor; }
From source file com.cloudera.llama.server.TestClientPrincipalTProcessor.java
public class TestClientPrincipalTProcessor implements TProcessor { private boolean invoked; private String user; //doing this trick because ghet getSaslServer() method is defined in //the TSaslTransport class which is package private and Mockito fails
From source file com.twitter.common.thrift.monitoring.TMonitoredProcessor.java
/** * A TProcessor that joins a wrapped TProcessor with a monitor. * * @author William Farner */ public class TMonitoredProcessor implements TProcessor {
From source file io.opentracing.thrift.SpanProcessor.java
/** * Tracing decorator for {@link TProcessor} */ public class SpanProcessor implements TProcessor { private final TProcessor processor;
From source file joshelser.TUGIAssumingProcessor.java
/**
* Processor that pulls the SaslServer object out of the transport, and assumes the remote user's UGI before calling through to the original processor.
*
* This is used on the server side to set the UGI for each specific call.
*
* Lifted from Apache Hive 0.14
From source file org.apache.accumulo.server.rpc.TimedProcessor.java
/** * A {@link TProcessor} which tracks the duration of an RPC and adds it to the metrics subsystem. */ public class TimedProcessor implements TProcessor { private static final Logger log = LoggerFactory.getLogger(TimedProcessor.class);
From source file org.apache.accumulo.server.rpc.UGIAssumingProcessor.java
/**
* Processor that pulls the SaslServer object out of the transport, and assumes the remote user's UGI before calling through to the original processor.
*
* This is used on the server side to set the UGI for each specific call.
*
* Lifted from Apache Hive 0.14